cocoapods

CorePlot 1.2 - pod install no response

岁酱吖の 提交于 2019-12-11 04:02:53
问题 I just added pod 'CorePlot', '~> 1.2' to my Podfile, now trying $ pod install Resolving dependencies of `./Podfile' Updating spec repositories Cocoapods 0.18.1 is available. Resolving dependencies for target `default' (iOS 6.0) Downloading dependencies Installing CorePlot (1.2) It's getting hanged there with no response. What can I do ? 回答1: This source library is nearly 200 megabytes. It may depend on your internet connection but I imagine this would complete if you gave it enough time. 回答2:

Unit Test build failing when importing MagicalRecord

安稳与你 提交于 2019-12-11 03:46:38
问题 I have a project setup using the UnitTest template provided by Apple. Too I added MagicalRecord to Prefix header. When I am running on the device and Simulator everything is working fine. Except the Unit Tests, when I am compiling for the unit tests the build failed with the following command: 'CoreData+MagicalRecord.h' file not found . This happens in the prefix header. prefix.pch // // Prefix header for all source files of the '123tv' target in the '123tv' project // #import <Availability.h

How do I access a Macro defined in my pch from a cocoapods lib?

南笙酒味 提交于 2019-12-11 03:33:35
问题 Context We have a big project, so the application is separated from some common code. Each one goes in its own repo, and the app uses the common code as a lib via cocoapods. Situation Now, we need to toggle some very specific functionality, contained in the lib. But the condition to enable/disable it is a MACRO defined in the application-prefix.pch file (I know, not cool). Problem The code in the lib (included as a Pod) doesn't "see" the MACRO defined in the pch file. So, we can't actually

How to use pod package to create a compiled framework

情到浓时终转凉″ 提交于 2019-12-11 03:27:42
问题 I am trying to use the cocoa pods package extension to create a compiled framework. The example project with source code and pod spec can be found here: https://github.com/avnerbarr/TestFramework.git The resulting output can be found here: https://github.com/avnerbarr/TestFrameworkCompiled The main idea is that I want to create a project using cocoa pods. When I will need to distribute the close source - I need all of the dependencies to be contained in the resulting framework. I don't want

After pod install Public folder is empty

醉酒当歌 提交于 2019-12-11 03:18:36
问题 i have with a project who uses cocoaPod, each time i try to install the pods. I have got this error clang: error: no such file or directory: '/Users/XXXXX/dev/Qridit/Pods/Headers/Public' https://www.evernote.com/l/AGCa1mI0c51EZLSojPKyZPlMCKRShsT_sLI Any help will be appreciate bolo 来源: https://stackoverflow.com/questions/31679909/after-pod-install-public-folder-is-empty

Is it possible to install a specific pod?

人盡茶涼 提交于 2019-12-11 03:17:27
问题 i was hoping i could run $pod install <podName> and be able to install ONLY that pod, but this doesn't seem to work. is there a way to accomplish this? The install command has something that works in this very way (e.g. $pod update <podName> . Is there an install equivalent? 回答1: Yes you can! First use pod outdated find out which pod is outdated then you know which pod it is NOT , say for example, your AFNetworking is up-to-date. Then use pod update AFNetworking and cocoapod will install your

Is there a way to specify a dependency on another branch when building my Cocoapod?

北城以北 提交于 2019-12-11 03:01:29
问题 I'm trying to build a Cocoapod that (currently - this will change when iOS 9 and Xcode 7 are out of beta) depends on different branches of Alamofire and SwiftyJSON. This is because my Cocoapod was coded in Swift 2.0. To be more specific, my pod currently depends on the swift2-0 Alamofire branch and xcode7 SwiftyJSON branch. My Podspecs file currently looks like this: # # Be sure to run `pod lib lint ALSMAL.podspec' to ensure this is a # valid spec and remove all comments before submitting the

Crashlytics doesn't work with Xcode 10 beta

空扰寡人 提交于 2019-12-11 02:57:26
问题 I use Firestore and some of sub-services Google offers. Crashlytics is one of them. I recently started to use Xcode 10 beta and I've started to receive this error: /Users/<user>/<some folders>/Pods/Fabric/iOS/Fabric.framework/Fabric(FABCompoundOperation.o) ld: 154 duplicate symbols for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) And Build Phase stuff: Here is Embed Pods Frameworks: How to fix this? P.S. I already cleaned and tried to

CocoaPods: no_arc a single file

戏子无情 提交于 2019-12-11 02:47:58
问题 Most users install our library via CocoaPods Because ARC doesn’t like it when you use NSInvocation to call init - particularly, the init for a class cluster where a pointer other than the one that was alloc’d gets returned (actually sometimes, NSURL, NSString, etc are ok, NSManagedObjectModel is not). I want to work around this by having a single non-arc file in my project. however, I’m having trouble getting the spec to work. When I do an update, even after deleting all the files in the

Setting up cocoa pods with a react native project

蹲街弑〆低调 提交于 2019-12-11 02:46:35
问题 I've set up a fresh react native project, and instantiated a cocoa pod .xcworkspace doing: cd ios pod init pod install I've then added a pod that I want to use (in this case being Buddybuild, although it doesn't really matter which pod i add, as the behavior is similar) After I run pod install and include the header #import <BuddyBuildSDK/BuddyBuildSDK.h> in my AppDelegate.m , it is always returning me a /Users/nik/dev/myproject/ios/myproject/AppDelegate.m:14:9: 'BuddyBuildSDK/BuddyBuildSDK.h