cocoapods

Get installed CocoaPods version

孤街浪徒 提交于 2019-12-13 01:40:20
问题 How do I get the version of CocoaPods I have installed on my Mac? I could run sudo gem install cocoapods but, I want to get the installed version without reinstalling CocoaPods. 回答1: Just posting this for people to see in the future, but you can simply check the version by running the following command: $ pod --version 回答2: Integrity Check There is more to Cocoapod version than the pod gem: Pods pod --version #Show the version of the tool gem list --local | grep pods #Show the version of all

Same library included from two libraries

时光毁灭记忆、已成空白 提交于 2019-12-12 20:53:43
问题 I get error: ld: 24 duplicate symbols for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) because I have two libraries that both use GTMLogger.o . /Users/***/Library/Developer/Xcode/DerivedData/project-name/Build/Products/Debug-iphoneos/GoogleToolboxForMac/libGoogleToolboxForMac.a(GTMLogger.o) /Users/***/project-name/Libraries/Framework/Framework.framework/Framework(GTMLogger.o) One library is included as cocoapod and the other is included

No such module 'SDWebImage'

偶尔善良 提交于 2019-12-12 19:39:11
问题 I installed SDWebImage using CocoaPods . My podfile was as it is written in the https://github.com/rs/SDWebImage platform :ios, '8.0' use_frameworks! pod 'SDWebImage', '~>3.7' when I import SDWebImage it says No such module 'SDWebImage' my Xcode version is: Version 7.2.1 回答1: Use the new <YourProject>.xcworkspace instead of <YourProject>.xcodeproj . The xcworkspace contains your project and your pods after pod install . 回答2: Just build your project before importing any new pods in your code

-fobjc-weak is not supported on the current deployment target

江枫思渺然 提交于 2019-12-12 19:21:35
问题 I just updated my Pods and one of them BoringSSL is now eroring my build with following error: Apple LLVM 9.0 Error -fobjc-weak is not supported on the current deployment target Not sure about what I need to do here? Is this an issue with BoringSSL package or my project? EDIT I believe this is used by grpc ? 回答1: This is CocoaPods/Xcodeproj#544 for which a fix was released recently. Update the Xcodeproj gem from 1.5.5 to 1.5.6. 来源: https://stackoverflow.com/questions/48643389/fobjc-weak-is

Alamofire and Reachability.swift not working on xCode8-beta5

末鹿安然 提交于 2019-12-12 19:03:22
问题 I have a custom CocoaPod created in swift2.3 and it has Alamofire and Reachability libraries inside the project. I mean I did integrate Alamofire and Reachability into the project manually. It still works perfectly on xCode7.3.1 and I am going to update it to swift3 on xCode8-Beta5. I tried to update it but I couldn't get it done successfully. Here is how I did for the update. Replaced Alamofire and Reachability in the project folder for swift3 from https://github.com/Alamofire/Alamofire/tree

PBXCp error no such file or directory

怎甘沉沦 提交于 2019-12-12 18:13:31
问题 I'm getting this PBXCp error saying there is no such file or directory even though i checked and the file is there. Tried going into targets and Copy Bundle Resources deleted the file in question from there and adding it again did not solve the issue. Any help is appreciated. 回答1: PBXCp is a build utility; it copies files. Your error is caused by it trying to copy a file, and not being able to put the file at the indicated place. For instance: I'm getting this error as I try to build an

No such a module 'Firebase' in Tests.swift file after Converting to swift 3

北城以北 提交于 2019-12-12 18:08:14
问题 After I converted the project to swift 3 I'm getting this error in Test.swift file: No such module 'Firebase' Command/usr/bin/ditto failed with code 1 is that mean I have to update the firebase framework? Why that happened? *The application still runs though! *Here's the pod file: # Uncomment this line to define a global platform for your project # platform :ios, '9.0' use_frameworks! target 'TheTestingApp' do pod 'Firebase' pod 'Firebase/Auth' pod 'Firebase/Database' pod 'Firebase/Storage'

Pod repo update doesn't work

北城余情 提交于 2019-12-12 16:53:54
问题 [!] CocoaPods was not able to update the master repo. If this is an unexpected issue and persists you can inspect it running pod repo update --verbose Re-installing cocoapods doesn't fix the issue.. Verbose output: /Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/sources_manager.rb:112:in `rescue in update_git_repo' /Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/sources_manager.rb:106:in `update_git_repo'

My react native encountered a problem while building tvOS but iOS succeeded

放肆的年华 提交于 2019-12-12 16:46:32
问题 I followed the link below to install new reactNative App .. https://facebook.github.io/react-native/docs/getting-started After Successfully Installed I am able to run the iOS target but not tvOS while running tvOS I am getting below error .. Library not found for -lPods-AwesomeProject-tvOS It seems in podfile cocoapods not included for tvos target .. So I added cocoaPods for tvos target and then build again but getting below warning and errors.. I am also adding my Podfile here please suggest

Cocoapods dependency and “Library not loaded … image not found”

旧街凉风 提交于 2019-12-12 15:43:45
问题 I am building a command line project, via XCode 7.2.1, that uses Cocoapods for its dependencies. The framework it depends on is generated in the 'DerivedData' folder and the main project builds, but when I come to run the application I get the error: dyld: Library not loaded: @rpath/Alamofire.framework/Versions/A/Alamofire Referenced from: /Users/myuser/Library/Developer/Xcode/DerivedData/myproject-aidrwlylcmipvrckcfcztpjjkxab/Build/Products/Debug/myproject Reason: image not found Files tree