cocoapods

iOS: CocoaPods issue with Google Analytics and AdMob

ぐ巨炮叔叔 提交于 2019-12-21 04:27:21
问题 Assuming: I have configured CocoaPods for Google Analytics , using pod 'Google/Analytics , following the official installation guide: https://developers.google.com/analytics/devguides/collection/ios/v3/?ver=swift I have configured CocoaPods for AdMob , using pod 'Google-Mobile-Ads-SDK', '~> 7.0' , following the official installation guide: https://developers.google.com/admob/ios/quick-start#streamlined_using_cocoapods I generated the GoogleService-Info.plist configuration file, specifying

OpenSSL CocoaPod iOS with Bitcode?

纵然是瞬间 提交于 2019-12-21 04:13:41
问题 Is there an OpenSSL cocoapod that works with bitcode enabled? Previously I was using the pod 'OpenSSL' , but I want to have bitcode in my app. Is there any way to do this, or must I build OpenSSL by myself? Thanks 回答1: I can answer this question, as I figured out how to do it. Since there is no official CocoaPod, you will have to use a build script to build it yourself. Here is the build script that I used: https://gist.github.com/felix-schwarz/c61c0f7d9ab60f53ebb0 This build script will

OpenSSL CocoaPod iOS with Bitcode?

一世执手 提交于 2019-12-21 04:13:12
问题 Is there an OpenSSL cocoapod that works with bitcode enabled? Previously I was using the pod 'OpenSSL' , but I want to have bitcode in my app. Is there any way to do this, or must I build OpenSSL by myself? Thanks 回答1: I can answer this question, as I figured out how to do it. Since there is no official CocoaPod, you will have to use a build script to build it yourself. Here is the build script that I used: https://gist.github.com/felix-schwarz/c61c0f7d9ab60f53ebb0 This build script will

iOS - watchOS App publishing issue CFBundleIdentifier collision

那年仲夏 提交于 2019-12-21 03:48:06
问题 After the app uploading I receive the following email We identified one or more issues with a recent delivery for your app, XXX. Please correct the following issues, then upload again. ITMS-90806: CFBundleIdentifier collision - Each bundle must have a unique bundle identifier. The bundle identifier 'org.cocoapods.CocoaLumberjack' is used in the bundles '[CocoaLumberjack.framework, CocoaLumberjack.framework]' CocoaLumberjack is a third party library that I've already used in the past a lot of

Will `pod update` overwrite my code changes when a new version of the pod is available?

大城市里の小女人 提交于 2019-12-21 03:44:12
问题 I've added MKStoreKit version 4.99 to my project using cocoapods. My Podfile consists of: platform :ios, '6.0' pod 'MKStoreKit', '~> 4.99' MKStoreKit has a configuration file called MKStoreKitConfigs.h that needs to be modified on a per-project basis, and I've modified the file appropriately. What will happen when MKStoreKit releases a new version, say 5.0, and I execute pod update ? Will my changes be overwritten? Could you describe why yes or why no? 回答1: Yes, pod update will overwrite your

Cocoapods no longer builds project after update?

会有一股神秘感。 提交于 2019-12-21 02:43:25
问题 After updating to the latest version of cocoapods I can no longer generate the project. Uninstalling the latest version and going back to the older version doesn't resolve the issue either. The exact code was working fine before updating cocoapods [!] The MyApplication [App Store] target overrides the HEADER_SEARCH_PATHS build setting defined in `Pods/Target Support Files/Pods-MyApplication/Pods-MyApplication.app store.xcconfig'. This can lead to problems with the CocoaPods installation - Use

Cocoa pods and Watchkit Extesion

老子叫甜甜 提交于 2019-12-20 21:05:12
问题 I try to build a WatchKit Extension for my app... I Updated the pods file to look like this: platform:ios, '8.0' use_frameworks! source 'https://github.com/CocoaPods/Specs.git' link_with 'my-team-ios', 'My Team WatchKit Extension' def shared_pods pod 'DOSingleton' pod 'JSONModel' pod 'MagicalRecord' end target :'My App' do shared_pods pod 'Facebook-iOS-SDK', '~> 3.23.1' pod 'Reveal-iOS-SDK', :configurations => ['Debug'] ... some more pods here... end target :'My Team WatchKit Extension' do

App Invite configuration failed Firebase iOS cocoapods

断了今生、忘了曾经 提交于 2019-12-20 19:48:33
问题 I got a build error with this in it while trying out the new version of firebase *** Terminating app due to uncaught exception 'com.firebase.appinvite', reason: 'App Invite configuration failed.' 回答1: Click on your project Navigate to Info tab Scroll down you will see the URL Types Click the + button and add your bundleID to URL Schemes Click the + button again and add your REVERSED_CLIENT_ID to URL Schemes . This can be found in your GoogleService-Info.plist Finally your URL types should

Commit to git after switching to workspace and adding CocoaPods in Xcode?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-20 17:17:11
问题 I've just added CocoaPods to my current project in Xcode 5. Of course, CocoaPods created a workspace and I've launched the workspace in Xcode. I see both my project and the Pods project in the workspace. My project has been under source control (local git + remote Bitbucket repository) since day one. Now I want to commit and add the Pod stuff but I think that my repo is too deep in the workspace--when I try to commit (and I've tried various commits to get the Pod stuff to take) it always

Can't find headers for GoogleAnalytics-iOS-SDK with Cocoapods 0.37, Swift, frameworks

做~自己de王妃 提交于 2019-12-20 11:40:42
问题 Using cocoa pods 0.37.0 in a Swift project, with use_frameworks! set in the podfile, I am unable to access the header files for the GoogleAnalytics-iOS-SDK pod. How should I access the Google Analytics pod's headers in my app? I have tried; import GoogleAnalytics_iOS_SDK In a Swift file, cocoapods 0.36 style. But there's no framework created anymore so no good. #import <GoogleAnalytics_iOS_SDK/GAI.h> In the bridging header, but doesn't work (no module map ?) I have read that the behaviour for