Closed euroboy closed 7 years ago
Looks like it might be an issue with Cocoapods: https://github.com/CocoaPods/CocoaPods/issues/7184
Still investigating.
@euroboy I am unable to reproduce the issue. Could you share a sample project that reproduces the issue? Thanks
@rlepinski Here is a sample project. Try to build for simulator. Sample.zip
After few tests I figured out that it works if I uncomment use_frameworks!
(as stated in documentation). But after this another errors occurred: Not finding header files from another CocoaPods when trying to import them.
@euroboy Your sample project is a static library. Is that what you intended?
@BrianBatchelder Yes.
@euroboy Are you sure you want to build a static library that includes our SDK? A more common pattern is to have two static libraries, or a static library and a framework.
@BrianBatchelder Yes, this is exactly what I want to achieve, but I'm still unable to do that.
@euroboy We don't support building our SDK inside of another static library. You might be able to use our pre-built static library, which you can find at: https://bintray.com/urbanairship/iOS/urbanairship-sdk .
I added
pod 'UrbanAirship-iOS-SDK', '~> 8.6'
to my podfile, and after installing pods I'm getting the following error on build:error: Resource "/Users/me/Library/Developer/Xcode/DerivedData/MyProject/Build/Products/Debug-iphoneos/UrbanAirship-iOS-SDK/AirshipResources.bundle" not found. Run 'pod install' to update the copy resources script.
I tried to delete pods caches, but with no luck. Cocoapods version: 1.3.1. Any ideas how to solve it?