cocoapods

Cocoapods pod install as a target dependency

99封情书 提交于 2020-01-16 07:24:00
问题 I've created an external build system target in my Xcode project and made it a dependency of the main target, so I want this target run before the main target starts building. In this external build system target I simply reference a bash script to run pod install from the SRCROOT dir. As expected, my new target runs first and Pod install runs fine but then the build stops. It does not fail however, it just reports the Build stopped with no issues. The exit code from pod install is 0 so the

Cocoapods pod install as a target dependency

醉酒当歌 提交于 2020-01-16 07:23:16
问题 I've created an external build system target in my Xcode project and made it a dependency of the main target, so I want this target run before the main target starts building. In this external build system target I simply reference a bash script to run pod install from the SRCROOT dir. As expected, my new target runs first and Pod install runs fine but then the build stops. It does not fail however, it just reports the Build stopped with no issues. The exit code from pod install is 0 so the

Prefix.pch ReactiveCocoa/RACEXTScope.h file not found error

吃可爱长大的小学妹 提交于 2020-01-15 09:20:11
问题 As mentioned in the title, I have ReactiveCocoa/RACEXTScope.h file not found error in Prefix.pch file. The following is Pod file platform :ios, "7.1" pod 'Parse-iOS-SDK', '~> 1.2' pod 'ReactiveCocoa', '~> 2.3' pod 'ReactiveViewModel', '~> 0.2' pod 'Parse-RACExtensions', '~> 0.0' pod 'CKCalendar', '~> 1.0' pod 'SDWebImage', '~> 3.6' As you can see from images, the file exists. But there is not interface declaration in the file. Does that matter? I'm using Xcode 6.0.1 Can anyone give me a

'Unable to determine Swift version for the following pod" - Error

时间秒杀一切 提交于 2020-01-14 13:28:07
问题 I am trying to install pod 'SVProgressHUD' cocoa pod, but it is giving following error while installing pod file. [!] Unable to determine Swift version for the following pods: - `HexColors` does not specify a Swift version and none of the targets (`FaveoHelpdeskPro_ObjC`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod. How I can resolve this issue? 回答1: Try to set the

Why is my libraries not able to expand on the CocoaPods and shows as Objective-c not Swift?

狂风中的少年 提交于 2020-01-14 11:53:09
问题 I'm trying to access my libraries through the CocoaPods website, but I cannot see expand button. My libraries are: NextResponderTextField PagedHorizontalView Here is how they look on cocopods.org website. NextResponderTextField PagedHorizontalView Besides, when I filter the search for swift I don't see my libraries, I only see them under objective-c although both libraries are swift libraries. 回答1: Depending on how many pods are coming in at once it can take anywhere from 5m to 1hr to get all

Why is my libraries not able to expand on the CocoaPods and shows as Objective-c not Swift?

混江龙づ霸主 提交于 2020-01-14 11:52:50
问题 I'm trying to access my libraries through the CocoaPods website, but I cannot see expand button. My libraries are: NextResponderTextField PagedHorizontalView Here is how they look on cocopods.org website. NextResponderTextField PagedHorizontalView Besides, when I filter the search for swift I don't see my libraries, I only see them under objective-c although both libraries are swift libraries. 回答1: Depending on how many pods are coming in at once it can take anywhere from 5m to 1hr to get all

Xcode will build/run but archive fails with “No such module Google” - Swift iOS

帅比萌擦擦* 提交于 2020-01-14 10:42:46
问题 My app has been working fine until Xcode 7.1. In fact, it still runs on both the simulator and iPhone, but when I archive it, I get the error "No such module Google." I have cocoa pods updated to 0.39 and have tried for hours with tweaking the options, from reinstalling cocoa pods to removing the Google Analytics cocoa pod and adding it manually, etc. However, nothing has worked, and whenever I archive the app, I receive an error, yet it still runs fine. Any thoughts? Thanks! 回答1: Turns out

'Found an uxexpected Mach-O header code: 0x72613c21' when trying to export an archive to IPA.

回眸只為那壹抹淺笑 提交于 2020-01-14 07:39:07
问题 So I recently had this issue when deploying to my device: (null): error: bitcode_strip /Users/me/Library/Developer/Xcode/DerivedData/AppName-gximcjgdoodczthglfujqgpzamxl/Build/Products/Debug-iphoneos/Pods.framework/Pods: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip exited with 1 I didn't encounter this error when deploying to a simulator though. I found a solution here which says that I should set a user defined attribute 'STRIP_BITCODE

Strong dispatch_queue_t in CocoaPods library

不打扰是莪最后的温柔 提交于 2020-01-13 19:41:30
问题 In a library that may be built with an iOS 5.x/OS X 10.7 deployment target or with a newer one I had a problem for properly defining a dispatch_queue_t property. For the most part I could solve it as suggested here: #if OS_OBJECT_HAVE_OBJC_SUPPORT // == 1 not really needed @property (nonatomic, strong) dispatch_queue_t loggerQueue; // An Objective-C object #else @property (nonatomic, assign) dispatch_queue_t loggerQueue; // A C pointer #endif This works when manually creating a static library

Xcode can't see objects added via Cocoapods

邮差的信 提交于 2020-01-13 07:47:07
问题 I have a podfile defined with the following pods. platform :ios, '8.0' use_frameworks! target 'LifeStream' do pod 'SSKeychain' pod 'LiveSDK' pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'swift-2.0' end I installed the pods and opened up my workspace. I have found that any usage of Alamofire works fine, due to the Swift 2 version of it importing the project as a framework. When I try to use SSKeychain classes however, I receive a Use of unresolved