cocoapods

Pod install displaying error in cocoapods version 1.0.0.beta.1

寵の児 提交于 2019-11-26 23:53:50
问题 My podfile was working but after updating to cocoapods version 1.0.0.beta.1 pod install displays following error MacBook-Pro:iOS-TuneIn home$ pod install Fully deintegrating due to major version update Deleted 1 'Copy Pods Resources' build phases. Deleted 1 'Check Pods Manifest.lock' build phases. Deleted 1 'Embed Pods Frameworks' build phases. - libPods.a - Pods.debug.xcconfig - Pods.release.xcconfig Deleted 1 'Copy Pods Resources' build phases. Deleted 1 'Check Pods Manifest.lock' build

gem install fails with openssl failure

别等时光非礼了梦想. 提交于 2019-11-26 23:48:31
问题 I tried to install cocoapods (http://cocoapods.org/) on my OSX Mountain Lion. moshe-mbp:~ moshem$ gem install cocoapods ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server key exchange B: bad ecpoint (https://rubygems.org/latest_specs.4.8.gz) first I tried rvm reinstall all --force then I tried brew upgrade openssl ==> Upgrading openssl ==> Downloading http://openssl.org

How to disable/remove FirebaseAnalytics

巧了我就是萌 提交于 2019-11-26 22:51:42
I update 'Google/Analytics' from CocoaPod and get FirebaseAnalytics. After that, each time I run project, the FirebaseAnalytics turns out many error loggings. Currently I don't use this library and want to remove it. Unfortunately I can't find any way to disable / remove it out of Pod. Here is the Podfile configuration target 'myApp' do inhibit_all_warnings! use_frameworks! pod 'Google/Analytics' end Console log: <FIRAnalytics/DEBUG> Debug mode is on <FIRAnalytics/INFO> Firebase Analytics v.3200000 started <FIRAnalytics/INFO> To enable debug logging set the following application argument:

Can I use CocoaPods when creating a Cocoa Touch Framework?

痴心易碎 提交于 2019-11-26 22:35:39
问题 I'm creating a new Cocoa Touch Framework (MyFramework.framework), which will have a dependency on Alamofire. This framework will be written in Swift. As a test I started a new Cocoa Touch Framework project: File > New > Project > Framework & Library > Cocoa Touch Framework Then, in the terminal I performed: pod init under this projects directory. In the newly created Podfile I added the following: source 'https://github.com/CocoaPods/Specs.git' # Uncomment this line to define a global

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

折月煮酒 提交于 2019-11-26 21:28: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 回答1: This is how I fixed it. Step 1 Install Regular Firebase -

Cocoapods Warning - CocoaPods did not set the base configuration of your project because because your project already has a custom config set

♀尐吖头ヾ 提交于 2019-11-26 21:15:01
After I execute a pod install at the base of my project, I get the following error: CocoaPods did not set the base configuration of your project because because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target BluePlaquesLondonFramework to Pods/Target Support Files/Pods/Pods.debug.xcconfig or include the Pods/Target Support Files/Pods/Pods.debug.xcconfig in your build configuration. This probably sounds like a silly question, but how do I set the base configuration for a target? https:/

cocoapods - 'pod install' takes forever

夙愿已清 提交于 2019-11-26 21:14:28
I was trying to update the existing pods with pod install command, but it takes forever to run. The verbose mode shows it was stuck at the following line (forever) Updating spec repo master $ /usr/bin/git pull --no-rebase --no-commit There are no network activity after it get stuck. lmnbeyond I ran into the same problem, and I solved it by running the following commands which is given here pod repo remove master pod setup pod install abbood you can run pod install --verbose to see what's going on behind the scenes.. at least you'll know where it's stuck at (it could be a git clone operation

How to downgrade or install an older version of Cocoapods

馋奶兔 提交于 2019-11-26 21:14:21
How can I downgrade Cocoapods to an older version, or how can I install an older version of Cocoapods? to remove your current version you could just run: sudo gem uninstall cocoapods you can install a specific version of cocoa pods via the following command: sudo gem install cocoapods -v 0.25.0 You can use older installed versions with following command: pod _0.25.0_ setup Actually, you don't need to downgrade – if you need to use older version in some projects, just specify the version that you need to use after pod command. pod _0.37.2_ setup If you need to install an older version (for

Cannot install cocoa pods after uninstalling, results in error

风流意气都作罢 提交于 2019-11-26 21:13:35
I removed cocoa pods because it claimed it had installed, but kept saying the command pod wasn't found afterward. When trying to reinstall cocoapods ( sudo gem install cocoa pods -v ) I get this error: ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/pod Any ideas? Kyle Browning As it has been pointed out below by Ramesh Ramchandaran , this is a cleaner way of doing it, instead of getting around the Security features of OS X. sudo gem install -n /usr/local/bin cocoapods Original Answer I'm assuming you're running OS X 10.11. This is happening because Apple has

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

馋奶兔 提交于 2019-11-26 20:12:10
问题 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