cocoapods

How to link a cocoapods cordova plugin src to a .framework header file when there's multiple xcode projects in the workspace?

天涯浪子 提交于 2019-12-08 19:43:06
问题 The unique situation is that this is an Ionic app that pulls in the uncompiled plugin source via pods. The problem is that when compiling, the plugin headers and implementation can't find the .framework's headers/implementation. The demo Cordova app finds the .framework, but they're only in a single project. I've tried all the suggestions for "header file not found". Adding the .framework to the linked libraries of either the pods project or the app project Adding search paths to every target

Swift error: failed to get module 'My_App' from AST context

白昼怎懂夜的黑 提交于 2019-12-08 19:08:47
问题 I'm using Swift 3, Xcode 8.1, CocoaPods 1.1.1. After running pod update , every time i try to use Xcode's lldb console - it prints an error. For example, po self outputs: Shared Swift state for My App has developed fatal errors and is being discarded. REPL definitions and persistent names/types will be lost. warning: Swift error in module My App . Debug info from this module will be unavailable in the debugger. error: in auto-import: failed to get module ' My_App ' from AST context: Does

Share cocoapods with custom framework included in project

≡放荡痞女 提交于 2019-12-08 18:11:13
问题 For the following Architecture: _Code ___CustomFramework ___ProjectA _____ProjectA _____Workspace _____Podfile _____Pods I am using workspace of ProjectA (generated by podfile), and I have included CustomFramework inside ProjectA successfully, I can use methods from CustomFramework inside ProjectA. Now, I would like to share ProjectA's pods with CustomFramework. So I can use methods from ProjectA's pods inside CustomFramework. That's where i'm stuck and need help. What I have tried so far:

Xcode 7 or 8 issue with Pods, can't run at all

怎甘沉沦 提交于 2019-12-08 17:28:46
问题 Getting this error for pods in Xcode when trying to run app: error: A cryptographic verification failure has occurred. Tried reinstalling Pods/repo Reinstalling Xcode(s) Also doesn't run on simulators: Also, running Sierra at the moment (yes, I know). 回答1: I got mine working now!! Not really sure what I did, at all, but I just deleted the Xcode 8 .app entirely and then I redownloaded it, opened up my project in it, did a pod install and pod update, and it's running in the simulator just like

The version of CocoaPods used to generate the lockfile (1.5.3) is higher than the version of the current executable (1.5.2)

旧时模样 提交于 2019-12-08 16:29:34
问题 on $pod install it gives warning & fails The version of CocoaPods used to generate the lockfile (1.5.3) is higher than the version of the current executable (1.5.2) What is it trying to say ? macOs : 10.11.6 osx el capitan my pod version is : 1.5. 3 What does"current executable" (1.5. 2 ) means ? and how to update it ? 回答1: The error you are getting is due to your podfile.lock being built with an older version of Cocoapods. All you need to do is to delete your podfile.lock file and run pod

Using Storyboards and Image assets in Custom Cocoapods

徘徊边缘 提交于 2019-12-08 16:23:06
问题 I'm trying to modularize a large iOS project (being developed in Swift) using cocoa pods. The idea is to create "sub apps" complete with storyboards and assets which could be integrated into the main project. I'm having troubles using storyboards in such a scenario. The issue is similar to (I think): https://github.com/CocoaPods/CocoaPods/issues/2597 Here is the .podspec of the module I'm trying to convert into a pod: Pod::Spec.new do |spec| spec.name = 'GlycoAppMenuModule' spec.version = '0

Cocoapods - 'pod --version' gives me 0.31.1 after updating to 0.32.1

南楼画角 提交于 2019-12-08 15:50:28
问题 I have basically the same question as this post: when running pod install I get The `master` repo requires CocoaPods 0.32.1, try updating but still in 0.31 but the answer doesn't help me (I'm not allowed to comment on things yet haha!) I try to run 'pod install' or 'pod setup' and I get an error saying: [!] The `master` repo requires CocoaPods 0.32.1 - Update CocoaPods, or checkout the appropriate tag in the repo. /Library/Ruby/Gems/2.0.0/gems/claide-0.5.0/lib/claide/command.rb:281:in `rescue

Xcode error with Cocoapod: “The document could not be saved. The file doesn’t exist”

落爺英雄遲暮 提交于 2019-12-08 15:26:59
问题 I've added the SPGooglePlacesAutocomplete cocoapod to my project -- and I'm getting a really weird issue. When I try to run my project, Xcode says there's an error in one of the Pod's headers: SPGooglePlacesAutocompleteQuery.h:65:23: Unknown type name 'CGFloat' Attempting to adjust anything in that file - such as importing UIKit - results in an error: "The document SPGooglePlacesAutocompleteQuery.h could not be saved. The file doesn’t exist" What could be making Xcode thing this file is non

platform of the target `fubarTests` (iOS 4.3) is not compatible with `Kiwi (2.2.1)` which has a minimum requirement of iOS 5.0

我的梦境 提交于 2019-12-08 14:50:51
问题 I can't seem to get past this error and don't know why. I'm running xcode 4.6.3 The project's ios deployment target says iOS 6.1 the base sdk is 6.1 My Podfile is: # Podfile platform :ios target :fubarTests, :exclusive => true do pod 'Kiwi' end and when I try to run pod install from the command line I get the error about the target being iOS 4.3. Why does it think my target is 4.3 and how can I change it? 回答1: You need to specify platform :ios, '6.1' 回答2: It's no longer necessary to specify

Cocoapods iOS - [!] Google has been deprecated - How to get rid of the warning?

依然范特西╮ 提交于 2019-12-08 14:25:56
问题 Steps I did: pod repo remove master pod setup pod update --verbose (Just to check the progress especially when updating the Google SDKs, took so long to finish). And there, I got the warning. In my logs, Google SDKs were updated successfully: -> Installing Google 3.1.0 (was 3.0.3) -> Installing GoogleMaps 2.3.0 (was 2.2.0) Podfile: target 'MyProj' do ... pod 'Google/Analytics' pod 'GoogleMaps' ... target 'MyProjTests' do inherit! :search_paths end post_install do |installer| installer.pods