cocoapods

podspec with dependency to another ios framework project

点点圈 提交于 2019-12-11 07:59:50
问题 I had developed a swift farmework to share with other developers(Lets name it B). This framework is using another ios framework project that I created recently with objective-c (lets name it A). Now, I want to share framework B with cocoa pod . I wondering how should I link these two project in the podspec file. Does I need to share both of them with pod ? or is there any other solution that just share project B? 回答1: I was having same question when I was trying to create a swift framework

The bundle UITests couldn’t be loadedbecause it is damaged or missing necessary resources. Try reinstalling the bundle

不想你离开。 提交于 2019-12-11 07:57:44
问题 my pods are here # Uncomment the next line to define a global platform for your project platform :ios, '9.0' target 'myAPP' do # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! # Pods for myAPP pod 'SwiftMessages' pod 'IQKeyboardManager' pod 'SwiftKeychainWrapper' pod 'Tabman' pod 'PagingMenuController' pod 'Kingfisher' pod 'Optik' pod 'KRPullLoader' pod 'AlamofireImage' pod 'Firebase/Core' pod 'Firebase/Database' pod 'Firebase

Archive Export error: The archive contains nothing that can be signed

 ̄綄美尐妖づ 提交于 2019-12-11 07:31:52
问题 My app runs on devices and simulators. The app archives with no errors. When I try to export I get the following error: The log file IDEDistribution.critical.log contains the following: 2017-07-07 07:40:03 +0000 [MT] Failed to generate distribution items with error: Error Domain=IDEDistributionErrorDomain Code=12 "The archive contains nothing that can be signed." UserInfo={NSLocalizedDescription=The archive contains nothing that can be signed., NSLocalizedRecoverySuggestion=Verify that your

Annoying Firebase Log in Xcode console

[亡魂溺海] 提交于 2019-12-11 06:48:10
问题 I'm using Google SignIn and Admob via CocoaPods in my current Xcode project. My pod file looks like this: pod 'Google/SignIn' pod 'Google-Mobile-Ads-SDK' when I run my project I always get the annoying message from firebase: "The default Firebase app has not yet been configured. Add [FIRApp configure] to your application initialization" in the project I can see that there are 2 pods "FirebaseAnalytice" and FirebaseCore" are theses sub-pods of the google sign in or the admob pod? is there a

Mixing Swift and Objective C in Dependencies (cocoapods) that work as framework as well as static library

自作多情 提交于 2019-12-11 06:38:29
问题 Is it possible to have a pod that can work as framework as well as a static library (depending on the App that want's to use it)? Basically the problem is that Module -Swift.h needs to be included with #import <Module/Module-Swift.h> when used as a framework and #import "Module-Swift.h" when used as a static library. I haven't found a way to tell the Pod projects where to look to find the header if it can't find the variant I used. If you want to see the problem in action feel free to check

Unable to install pods using a legacy Cocoapods version

我怕爱的太早我们不能终老 提交于 2019-12-11 06:14:41
问题 Working an a iOS project and don't have time to fix potential pod conflicts, getting the following error when running ' pod install ' The `master` repo requires CocoaPods 1.0.0 - (currently using 0.39.0) Using --no-repo-update flag seems to help but throws another warning https://github.com/CocoaPods/CocoaPods/issues/6163 Unable to find specification for ... manually replaced te pod master repo .. but didn't work .. Unable to find a specification in CocoaPods Being forced to use the latest

Debug-iphonesimulator gtmsessionfetcher.framework swift no such file directory

ε祈祈猫儿з 提交于 2019-12-11 06:06:57
问题 I'm fairly new to programming. I am trying to install Firebase and the Facebook iOS SDK into my app to allow for Facebook authentication. I have already installed the necessary pod files(FireBase) and Frameworks (FBSDK) on to my project. I am trying to build the app now but I come across the following error. /Users/JuanPa/Library/Developer/Xcode/DerivedData/jps-showcase-dytvwqtvwsggladxlmwwyoflurwt/Build/Products/Debug-iphonesimulator/jps-showcase.app/Frameworks/GTMSessionFetcher.framework:

CocoaPod: Unable to find Google-Api-Client/Services/Calendar

拈花ヽ惹草 提交于 2019-12-11 05:27:13
问题 I've got a iOS Objective C project with Podfiles which is complaining about: Unable to find a specification named Google-API-Client/Services/Calendar in Google-API-Client (0.1.1) . I am unsure of how to fix this. The pod file itself; platform :ios, '7.0' # Google APIs # Calendar pod 'Google-API-Client/Services/Calendar' I've tried searching online, I can see the pod file spec on github, I can even find it on cocoa pods website, but it does not appear to be able to install this particular pod

Using CocoaPods stops iOS build using ionic Project

雨燕双飞 提交于 2019-12-11 05:14:13
问题 I have created an ionic Project. I build the app and its working perfectly using Ionic CIL. Now using cocoapods, I created a pod file and loadded the required pods and did pod install. Now when I try to run ionic run/build ios, I get this error: ld: library not found for -lPods clang: error: linker command failed with exit code 1 (use -v to see invocation) Error code 65 for command: xcodebuild with args: -xcconfig Command failed with exit code 2 Please help me ... 回答1: The issue that causes

iOS Admob Firebase SDKs with/without cocoapods

假装没事ソ 提交于 2019-12-11 05:10:56
问题 I was trying to add cocoapods for admob firebase in my iOS app. But pod intsall command took too much time. Now i want to add firebase admob directly without cocoapods. I have downloaded whole SDK from https://dl.google.com/firebase/sdk/ios/3_5_2/Firebase.zip . It shows several folder with like AdMob Analytics, AppIndexing, Auth,Crash, Database,DynamicLinks, Invites, Messaging, RemoteConfig, Storage. For cocoapods, we see they import firebase in .h file and add [Firebase configure] method.