cocoapods

“no such module” when Importing pods in swift playground

折月煮酒 提交于 2019-11-28 02:35:46
问题 Using Xcode 7.2.1. I am following this tutorial to get pods working in playground. i have added the playground into the workspace, and the podfile is linking to the playground. But importing still does not work - "no such module" https://littlebitesofcocoa.com/138-using-cocoapods-in-xcode-playgrounds // import does not work // Podfile target 'spaceships' do end platform :ios, '9.0' use_frameworks! link_with 'spaceships', 'imports', 'test' https://github.com/mingyeow

install cocoapods failed on mac

风流意气都作罢 提交于 2019-11-28 02:07:02
问题 I tried to install cocoapods on mac according to the instructions http://cocoapods.org/ , but got the error as below: $sudo gem install cocoapods ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) bad response Service Unavailable: Back-end server is at capacity 503 (https://api.rubygems.org/api/v1/dependencies?gems=cocoapods) but sometimes, the error message is different。 $ sudo gem install cocoapods Password: Building native extensions. This could take a while... ERROR: Error

Bridge Google Drive API to Swift

折月煮酒 提交于 2019-11-28 02:04:02
From a previously removed post : I am struggling to get the Google Drive API to work with Swift, and hoping someone has a suggestion. Here is where I am at so far: I have the Google Drive API installed and working in an Objective-C ... I am trying to reproduce this example from Google in Swift, but import GTLDrive returns an error in Xcode: No such module 'GTLDrive. I am unable to use GTLServiceDrive from the Swift classes. Which combination of CocoaPod + bridging header should I use? You need 3 things: (1) Well formed Podfile platform :ios, '8.0' target 'GoogleDrive' do pod 'Google-API-Client

Apple Mach-O-Linker Error CocoaPods

寵の児 提交于 2019-11-28 00:07:41
问题 I've been trying to get my app up and running. From what I could tell the app was missing Cocoapods as a dependency. So. I installed and added Cocoapods. But I'm still getting the same error for whatever reason. I'm an inexperienced developer trying to teach himself I must add. Ld /Users/bfarag/Library/Developer/Xcode/DerivedData/Umbrella-cspuzusfqmqgnwdqfhtiyivaqwke/Build/Products/Debug-iphonesimulator/Umbrella.app/Umbrella normal i386 cd "/Users/bfarag/Desktop/The Nerdery/BRAVO.iOS

'The 'Pods' target has transitive dependencies that include static binaries' when installing GCM

前提是你 提交于 2019-11-27 23:31:08
I'm trying to install Google Cloud Messaging for my iOS application (using swift). I've added it to my Podfile like so: # Uncomment this line to define a global platform for your project # platform :ios, '8.2' use_frameworks! target 'Project' do pod 'Alamofire', '~> 1.2' pod 'Google/CloudMessaging' end target 'ProjectTests' do end Now when I try to install the dependencies, I get an error (see below). It worked fine before I added GoogleCloudMessaging. I tried to make a new project and add it there instead to see if it worked, and I got the same error. Analyzing dependencies Downloading

Firebase pod install - pod 'Firebase/Database' - Required a higher minimum deployment target

你说的曾经没有我的故事 提交于 2019-11-27 23:29:41
I am trying to install Firebase/Database like Firebase doc https://firebase.google.com/docs/ios/setup#available_pods but when I tried I got issue. [!] Unable to satisfy the following requirements: Firebase/Database required by Podfile Specs satisfying the Firebase/Database dependency were found, but they required a higher minimum deployment target. Required a higher minimum deployment target , how can I do this? Thanks Screenshot This is how I fixed it. Step 1 Install Regular Firebase - pod 'Firebase', '>= 2.5.1' Step 2 Update - pod update *At this point it will take a good couple minutes to

Integrating pods with all targets

随声附和 提交于 2019-11-27 23:15:32
问题 I have been using CocoaPods for a few weeks now with my iOS app and it works perfectly with the one target I have been testing (let's call it "MainApp"). However, I now want to build a different target ("MyAppLite") and noticed that the build failed (file not found on one of the pods' header files). The differences in the Build Settings I've noticed are as follows: Other Linker Flags does not contain the required frameworks in MyAppLite Framework/Header/Library Search Paths are all empty in

Can't find Pods.modulemap - looking in wrong directory

纵饮孤独 提交于 2019-11-27 21:15:01
I'm trying to get CocoaPods working in a Swift project but this is my first time. My Podfile is source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0' use_frameworks! pod 'Alamofire', '~> 1.2' pod 'SwiftyJSON', '~> 2.2.0' I run pod install but building it gives me this error: Error: unable to read module map contents from 'Target Support Files/Pods/Pods.modulemap': Error Domain=NSCocoaErrorDomain Code=260 "The file “Pods.modulemap” couldn’t be opened because there is no such file." UserInfo=0x7fac488d5af0 {NSFilePath=/Users/jt/tmp-ios/my-template/Pods/Target Support Files/Pods

The sandbox is not in sync with the Podfile.lock-ios

大兔子大兔子 提交于 2019-11-27 20:32:39
I have got the following errors after trying multiple answers from the google. PhaseScriptExecution Check\ Pods\ Manifest.lock /Users/apple/Library/Developer/Xcode/DerivedData/Build/Intermediates/FoodSpot.build/Debug- iphonesimulator/FoodSpotTests.build/Script-36819C3C1B6A30F50091382D.sh cd "/Users/apple/Downloads/FoodSpot 2" /bin/sh -c /Users/apple/Library/Developer/Xcode/DerivedData/Build/Intermediates/FoodSpot.build/Debug-iphonesimulator/FoodSpotTests.build/Script-36819C3C1B6A30F50091382D.sh diff: /../Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory

CocoaPods and Swift 3.0

非 Y 不嫁゛ 提交于 2019-11-27 20:07:32
I just want to try Swift 3.0 in one of my projects. Xcode open the migration window to update my project to use Swift 3.0. The problem is, I just want to to update my project, and leave the Pods project untouched because any changes will be discard after I run the pod install again. Anyone already have a solution for that? What you're asking is not possible. Xcode builds your Cocoapods dependencies as well as your project. You cannot mix Swift 2.x and Swift 3 code in the same project or use Cocoapods with Swift 3 that are written in Swift 2.x. This might help Swift migration guide Straight