cocoapods

cocoa pods install on iOS project not working

老子叫甜甜 提交于 2020-08-04 03:30:29
问题 I have a react native project and want to install cocoa pods for iOS native specifics but the instal fails, I have ruby ruby 2.5.1p57 on Mac book pro I have posted the error down, would be grateful for help pod install Analyzing dependencies Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec` Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec` Fetching podspec for `GLog` from

appcode cannot find class installed by cocoapods

白昼怎懂夜的黑 提交于 2020-07-08 02:29:08
问题 When I use appcode the app can run normally. But appcode reports syntax error like below attached screenshot. This class is installed by cocoapods . What can I do to dismiss these erros ? 回答1: Cleaning the project helps me!It seems like I didn't configure cocoapods in appcode,when I first ran the project.so,appcode didn‘t find the pods files. 来源: https://stackoverflow.com/questions/50173849/appcode-cannot-find-class-installed-by-cocoapods

Is it possible to add a local dependency to .podspec file?

生来就可爱ヽ(ⅴ<●) 提交于 2020-07-04 06:58:32
问题 I'm using cocoapods now I would like to add a local pod dependency in my project, something like: s.dependency = 'my pod', :path => '' but I think is not possibile, some ideas? 回答1: I have faced with the same issue and after lot of googling and asking on the CocoaPods github I have finally found the suitable answer. It's not possible to set a local pod as a dependency, but it's possible to set a pod's source for a specific Podfile, which will work the same way. E.g., in your podspec, you

The default FirebaseApp instance must be configured before the defaultFirebaseApp instance can be initialized

冷暖自知 提交于 2020-06-27 16:42:30
问题 I am trying to configure the Firebase using FirebaseApp.configure() but facing the following crash: *** Terminating app due to uncaught exception 'com.firebase.installations', reason: 'The default FirebaseApp instance must be configured before the defaultFirebaseApp instance can be initialized. One way to ensure that is to call `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) in the App Delegate's `application:didFinishLaunchingWithOptions:` (`application(_

Xcode error: Missing required module 'Firebase'

喜你入骨 提交于 2020-06-25 08:35:45
问题 The problem: I have a dynamic framework, which uses Firebase added by cocoapods. And I also have the App, which uses this dynamic framework. But when I try to build the project I got error Missing required module Firebase . I tried the following: remove derived data + clean re-install pods add 'Import paths' to the build settings (in this case I got error 'Library not loaded' in runtime) My podfile: target 'Project' do ... end target 'Framework' do pod 'Firebase/Core' pod 'Firebase/Auth' end

Using static libraries with CocoaPods 1.5 no such module at import

℡╲_俬逩灬. 提交于 2020-06-25 00:14:29
问题 With CocoaPods 1.5 released I am trying to migrate from having 10-15 dynamic pods in my projects to having them as static libraries instead, with the goal of speeding up my app start time. At this stage my simple (i.e., simplistic) attempt has been to remove the use_frameworks command when running my pod install. This indeed transforms my pods to static libraries. But it also produces a series of "No Such Module" throughout my project when trying to import my Pods (e.g., "No such Module

Using static libraries with CocoaPods 1.5 no such module at import

|▌冷眼眸甩不掉的悲伤 提交于 2020-06-25 00:13:17
问题 With CocoaPods 1.5 released I am trying to migrate from having 10-15 dynamic pods in my projects to having them as static libraries instead, with the goal of speeding up my app start time. At this stage my simple (i.e., simplistic) attempt has been to remove the use_frameworks command when running my pod install. This indeed transforms my pods to static libraries. But it also produces a series of "No Such Module" throughout my project when trying to import my Pods (e.g., "No such Module

Using static libraries with CocoaPods 1.5 no such module at import

微笑、不失礼 提交于 2020-06-25 00:13:12
问题 With CocoaPods 1.5 released I am trying to migrate from having 10-15 dynamic pods in my projects to having them as static libraries instead, with the goal of speeding up my app start time. At this stage my simple (i.e., simplistic) attempt has been to remove the use_frameworks command when running my pod install. This indeed transforms my pods to static libraries. But it also produces a series of "No Such Module" throughout my project when trying to import my Pods (e.g., "No such Module

could not find compatible versions for pod

百般思念 提交于 2020-06-24 18:25:19
问题 I am new in IOS development and git. I am having a problem after merging my local repo to the dev repo. After merging when I build the project I get an error in the Xcode that says, "The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation." Build Error I searched about this and tried the usual solution reinstalling the pods. But executing pod install I get another error in terminal that says Terminal Error At this point I tried deleting the

framework not found FirebaseInstanceID in Xcode

拈花ヽ惹草 提交于 2020-06-16 03:33:13
问题 Step to reproduce. I have added all the pod frameworks into my cordova project using XCode, after added, I don't know why the frameworks are whiten as this picture. So I start to build the project again, the first error said framework not found FirebaseInstallation, I thought the whiten framework is not valid, so I manually add the framework from my frameworks folder which is downloaded from https://firebase.google.com/docs/ios/setup#frameworks and finally become the normal yellow icon. I