cocoapods

FirebaseMessaging module not found using cocoapods iOS

不羁岁月 提交于 2020-01-02 03:12:27
问题 I'm getting a error that 'FirebaseMessaging module not found'. Below is my pod file structure. Official documentation shows Firebase/Messaging is available. I've written in pod file and tried to install it. The stats in terminal doesn't shows FirebaseMessaging installation and same does that pods directory. Below is terminal stats. Where I'm going wrong? 回答1: The culprit was Pods! I removed all CocoaPods from Project using this link. Thereafter, I again added Pods to project using this link.

Incompatible library version: XXX requires version 2.0.0 or later, but Runes provides version 1.0.0

耗尽温柔 提交于 2020-01-02 01:21:08
问题 I was trying to run my iOS app on my iPhone. Project compiled nicely. But when app starts, XCode console showed: dyld: Library not loaded: @rpath/Runes.framework/Runes Referenced from: /private/var/mobile/Containers/Bundle/Application/CC8759F5-A501-400C-93A8-DCEE3BFE4770/XXX.app/XXX Reason: Incompatible library version: XXX requires version 2.0.0 or later, but Runes provides version 1.0.0 I use Cocoapods and my Podfile looks like: platform :ios, '8.0' use_frameworks! pod 'SnapKit', '~> 0.12.0

How do I load a xib file from my cocoapod?

荒凉一梦 提交于 2020-01-02 01:09:15
问题 My xib files are in the Assets folder of my Pod like this. s.resources = 'Pod/Assets' The xib files show up in my workspace in the Development Pods group of the cocoa pod. I'm trying to access the xib like this. [[NSBundle mainBundle] loadNibNamed:@"LabeledTextFieldView" owner:self options:nil]; But I get the following crash *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </Users/jeff.wolski/Library/Application

CocoaPods podspec with per architecture flags

送分小仙女□ 提交于 2020-01-01 19:13:10
问题 QUICK VERSION: I have a library of code that I'm creating a Cocoapods spec file for. It needs different compiler flags based on the architecture. Is that possible? Explanatory background: One of the library's files contains some ARM NEON intrinsics code. For armv7 & armv7s the flags are: s.compiler_flags = '-mfloat-abi=softfp', '-mfpu=neon', '-mcpu=cortex-a9' The last flag causes a (totally reasonable) compile error on arm64. Xcode supports per-architecture flags in the Build Settings area,

Pods/Headers empty after pod install

筅森魡賤 提交于 2020-01-01 08:51:56
问题 Issue I used to have a functional set of Pods in my project (fully working project) until the latest pod install run, now I'm getting "file not found" errors for the headers mentioned in my bridging header (this is a Swift project with Obj-C includes). After doing some research, it seemed like there should be symlinks to the headers in Pods/Headers , that directory is empty for me. However, the pods themselves have been downloaded and all corresponding Pods/[Lib] directories exist. Last Known

Build target randomly added to Xcode scheme

北城余情 提交于 2020-01-01 05:20:11
问题 I am developing an iPhone app using Xcode 5 and CocoaPods. I have a scheme and target called Oahu that I run my tests against. Accordingly, I am not surprised to see my two test targets present to be built in the scheme's build phase. However, there is a fourth build target that cannot be removed: When I run tests, all four targets are built, and the test targets are run against the last, incorrect one, Ku . And after closing Xcode, deleting the contents of the DerivedData directory, and

Xcode 8 Shell Script Invocation Error

坚强是说给别人听的谎言 提交于 2020-01-01 05:16:30
问题 I'm trying to fix this issue for hours, but it still persists. Tried everything on the forums, nothing helped. I'm using Cocoapods latest version 1.2.0.beta.1 When I try to build the project, it gives me this: 回答1: For me (Xcode 9) pod install on its own did not fix it. Tried it with: pod deintegrate pod install And the error disappeared. You might also want to consider deleting the derived data folders for this project. The location of DerivedData is in your error log. 回答2: Install the pods

Exclude pod when porting to mac with catalyst

别说谁变了你拦得住时间么 提交于 2020-01-01 02:46:35
问题 Porting apps to mac is finally possible thanks to Catalyst , problem is, numerous pods don't support AppKit. Most common one would be Crashlytics / Firebase. In [...]/Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics(CLSInternalReport.o), building for Mac Catalyst, but linking in object file built for iOS Simulator, file '[...]/Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics' for architecture x86_64 Since it's a recent topic, I couldn't find doc on how to remove a pod from my

Xcode 10 Beta 5 — clang: error: linker command failed with exit code 1

China☆狼群 提交于 2020-01-01 02:45:08
问题 Can anybody help me out? Everything worked fine on my project but after updating to Xcode10 Beta5 I'm getting this error when trying to run the App on my iPhone. Simulator however works… Please Help me!!! I already did a web search on this problem and found this thread. I tried all answers but none worked.. If you had this problem I would be very very thankful if you can help me running my app on my iPhone again These are the pods I've integrated: and this is my pod file: 回答1: "libstdc++.6.0

Ionic - Add/Remove phonegap-push-plugin - CocoaPods was not found

一笑奈何 提交于 2019-12-31 09:11:21
问题 I'm writing an Ionic app but I'm getting so many issues. One issue in particular is that when I try to add the phonegap-push-plugin using the command sudo ionic plugin add phonegap-plugin-push I get the below error: Error: CocoaPods was not found. Please install version 1.0.1 or greater from https://cocoapods.org/ I've obviously tried installing this software as the error suggests, but I cannot find version 1.0.1 anywhere. I'd also like to understand what this is required for and why Ionic