cocoapods

Remove or uninstall library previously added : cocoapods

萝らか妹 提交于 2019-11-26 15:35:30
I added an external framework via cocoapods into my iOS application. How can i remove that library from the project? Michal Since the accepted answer's side effects have been removed by a script written by Kyle Fuller - deintegrate , I'll post the proper workflow here: Install clean: $ sudo gem install cocoapods-clean Run deintegrate in the folder of the project: $ pod deintegrate Clean: $ pod clean Modify your podfile (delete the lines with the pods you don't want to use anymore) and run: $ pod install Done. fannheyward Remove lib from Podfile, then pod install again. user5807443 Remove the

Cocoapods ld: library not found for -lPods-Projectname

孤人 提交于 2019-11-26 15:31:20
问题 I've installed cocoa pods library and some frameworks through it. Now when I compile project the build fails. Error: ld: library not found for -lPods-Project clang: error: linker command failed with exit code 1 (use -v to see invocation) Here part of text: Ld /Users/polzovatel/Library/Developer/Xcode/DerivedData/Project-bybevfqrgvqqldbzsgewqafpmylj/Build/Products/Debug-iphonesimulator/Project app/Project normal i386 cd /Users/polzovatel/Projects/iOS-master/Project_iPhone export IPHONEOS

​​​​​​​2016最新CocoaPods安装与使用

冷暖自知 提交于 2019-11-26 15:16:51
2016最新CocoaPods安装与使用 2016最新CocoaPods安装与使用,问题解决 1.mac系统已经默认安装好Ruby环境,如果你不确定自己系统中是否有Ruby的,可以在终端中输入命令行:ruby -v 查看当前ruby版本 如果ruby版本较低,可以通过rvm对Ruby进行升级 1)安装 ram RVM:Ruby Version Manager,Ruby版本管理器,包括Ruby的版本管理和Gem库管理(gemset) $ curl -L get.rvm.i.rvm.io | bash -s stableo 2)加载文件, 测试是否安装正常(按照提示操作) $ source ~/.bashrc $ source ~/.bash_profile $ source ~/.profile $ rvm -v 3)reload rvm $ rvm reload rvm $ rvm -v 4)查看当前ruby版本 ,获取rvm 列表 $ ruby -v $ rvm list known 5)重新安装ruby 安装完成后, 需要重新执行安装cocoapods的命令 $ rvm install 2.3 6)安装rails $ gem install rails 如果想要卸载ruby,需要执行以下步骤 $ rvm list $ rvm remove 2.3

Error on pod install

和自甴很熟 提交于 2019-11-26 14:59:13
问题 I have a working project the uses a pod file for some weeks now. When I learned that some of my pods have update I tried to 'pod install' on got this weird error Analyzing dependencies [!] Pod::Executable pull Updating 1337455..e9f6e93 error: The following untracked working tree files would be overwritten by merge: AeroGear-Push/0.7.0/AeroGear-Push.podspec AeroGear/1.2.0/AeroGear.podspec BrynKit/1.3.0/BrynKit.podspec BrynKit/1.3.1/BrynKit.podspec CSURITemplate/0.3/CSURITemplate.podspec EXiLE

ld: library not found for -lBolts using cocoapods

笑着哭i 提交于 2019-11-26 14:53:52
问题 everybody The problem that I am having is that I can't compile my app because I got the following error: ld: library not found for -lBolts clang: error: linker command failed with exit code 1 (use -v to see invocation) I have my XCode project configured to use cocoapods and this is my list of pods: pod 'Google/Analytics', '~> 1.0.0' pod 'AFNetworking', '~> 2.0' pod 'XCDYouTubeKit', '~> 2.4.0' pod 'FBSDKCoreKit' pod 'FBSDKShareKit' pod 'FBSDKLoginKit' pod 'Parse' pod 'ParseUI' pod

Framework not found GoogleToolboxForMac

浪尽此生 提交于 2019-11-26 14:26:17
After I update my Firebase via "pod update", I got error like this : ld: warning: directory not found for option '-F/Users/bennysantoso/Library/Developer/Xcode/DerivedData/FCM-atfcxuircoryufazlomgwfgmvaqm/Build/Products/Debug-iphonesimulator/GoogleToolboxForMac' ld: framework not found GoogleToolboxForMac clang: error: linker command failed with exit code 1 (use -v to see invocation) Here my Podfile : # Uncomment this line to define a global platform for your project # platform :ios, '9.0' pod 'Firebase/Core' pod 'Firebase/Messaging' target 'BB' do # Comment this line if you're not using Swift

when running pod install I get The `master` repo requires CocoaPods 0.32.1, try updating but still in 0.31

怎甘沉沦 提交于 2019-11-26 13:04:48
问题 Iam trying to install cocoa pods in a xcode project, but when doing: $ pod install I get the following error: Setting up CocoaPods master repo [!] 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 in run\': undefined method `verbose?\' for nil:NilClass (NoMethodError) So I updated cocoapods $ sudo gem update cocoapods But it tells me there is nothing to

Why do we use use_frameworks in CocoaPods?

て烟熏妆下的殇ゞ 提交于 2019-11-26 12:06:17
问题 I have used use_frameworks in CocoaPods Podfile many times. I just wonder why do we use it? I couldn\'t get the straight forward answer of it. Example: platform :ios, \'8.0\' use_frameworks! target \"CityWhether\" do pod \'Alamofire\' pod \'SwiftyJSON\' end 回答1: use_frameworks tells CocoaPods that you want to use Frameworks instead of Static Libraries. Since Swift does not support Static Libraries you have to use frameworks. In another answer, I explained the differences between Static

Cocoapods: Failed to connect to GitHub to update the CocoaPods/Specs specs repo

烂漫一生 提交于 2019-11-26 11:45:55
问题 When running pod repo update the following error is generated: Updating spec repo `master` [!] Failed to connect to GitHub to update the CocoaPods/Specs specs repo - Please check if you are offline, or that GitHub is down Using cocoapods 1.0.1 I\'m also aware of this: Master spec-repo rate limiting post‑mortem. Adding --verbose flag to the call shows the ruby call stack: .rvm/gems/ruby-2.3.0/gems/cocoapods-core-1.0.1/lib/cocoapods-core/github.rb:100:in `modified_since_commit\' .rvm/gems/ruby

How to disable/remove FirebaseAnalytics

戏子无情 提交于 2019-11-26 11:26:59
问题 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