cocoapods

CocoaPods: Unable to locate the executable `git`

我与影子孤独终老i 提交于 2019-12-01 13:46:59
I've already installed a pod successfully (SDWebImage) and now trying to add a Library called "MFSideMenu". My Podfile looks the following: platform :ios, '6.0' pod 'SDWebImage', '3.2' pod 'MFSideMenu' When i do a "pod install", i get the following (error-) output: Analyzing dependencies Downloading dependencies Installing MFSideMenu (0.4.8) /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems /custom_require.rb:31: command not found: git config remote.origin.url [!] Unable to locate the executable `git` Does anybody know whats the problem here? Thanks in advance!

Could not build module 'UIKit" in cocoapods since Xcode 5.1

☆樱花仙子☆ 提交于 2019-12-01 13:42:50
问题 I cannot build my application anymore since I updated Xcode to the new version (Xcode 5.1). the error message is 'Could not build module 'UIKit''. I have the same problems with my two pods: AFNetworking SDWebImage Any thought on this? 回答1: I met the similar problem. The only difference is that my error is "Could not build module SpriteKit". I finally solved the problem by deleting all files inside the ModuleCache folder: /Users/YOUR_USER_NAME/Library/Developer/Xcode/DerivedData/ModuleCache

CocoaPods: Unable to locate the executable `git`

房东的猫 提交于 2019-12-01 12:51:55
问题 I've already installed a pod successfully (SDWebImage) and now trying to add a Library called "MFSideMenu". My Podfile looks the following: platform :ios, '6.0' pod 'SDWebImage', '3.2' pod 'MFSideMenu' When i do a "pod install", i get the following (error-) output: Analyzing dependencies Downloading dependencies Installing MFSideMenu (0.4.8) /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems /custom_require.rb:31: command not found: git config remote.origin.url [

Duplicate target after “pod install”

核能气质少年 提交于 2019-12-01 10:31:44
After I added new dependency to my project and run pod install , I have duplicate target in my workspace(.xcworkspace) as below: And this is the pod file structure: platform :ios, '8.0' use_frameworks! pod 'AFNetworking', '~> 2.6' pod 'Fabric' pod 'Crashlytics' pod 'SocketRocket' I restart the project and also Xcode, but it does not help. What is the reason and how can I solve the problem? First, try to wrap your pods with target specification, like this: target 'TargetName' do pod 'Fabric' pod 'Crashlytics' #other pods end Delete your .xcworkspace, podfile.lock and pods folder, just as

Empty Pod Headers Folder after `pod install`

こ雲淡風輕ζ 提交于 2019-12-01 10:16:13
问题 My AppName -> Targets -> Build Settings -> Search Paths -> Header Search Paths is set to: "${PODS_ROOT}/Headers/Public" When I run pod install and get: $ pod install Analyzing dependencies Downloading dependencies Using Alamofire (3.1.1) Using AlamofireImage (2.1.0) Using DateTools (1.7.0) Using JGProgressHUD (1.3.1) Using Locksmith (2.0.8) Using SwiftyJSON (2.3.1) Using TPKeyboardAvoiding (1.2.10) Generating Pods project Integrating client project Sending stats Pod installation complete!

JUCE and React Native - linker error “ld: library not found for -lReact”

末鹿安然 提交于 2019-12-01 09:36:51
I'm getting this linker error using CocoaPods with React Native: ld: library not found for -lReact I have followed the guide at https://facebook.github.io/react-native/docs/embedded-app-ios.html#content I am trying to integrate with an existing iOS project, which is a JUCE C++ project. JUCE generates the Xcode project file so I believe I need to use the Cocoapods method. The steps I'm doing are: create or save iOS build from Introjucer project run npm install react-native from root of project (alongside the .jucer file) create Podfile in Builds/iOS as per the guide (but with ../../node_modules

How to add Objective-C Bridging Header entry?

限于喜欢 提交于 2019-12-01 09:16:50
I have a Swift project and have add a cocoapod, which is written in Objective-C. It has header and implementation files. From what I understand, to use/import these files into my Swift files, I need to add a bridging file. I found this site describing how to do this manually, since the Objective-C files are already part of my project (from the cocoapod). http://www.learnswiftonline.com/getting-started/adding-swift-bridging-header/ 1.) Navigate to your project build settings and find the “Swift Compiler – Code Generation” section. You may find it faster to type in “Swift Compiler” into the

Code coverage with cocoapods library - iOS Unit Test

坚强是说给别人听的谎言 提交于 2019-12-01 09:04:18
In Xcode 7, the library for cocoapods library with exclude for the code coverage. But In Xcode 8, the library will include for code coverage. Can I had anyway to exclude the library in the code coverage? Example: Install pod 'TPKeyboardAvoiding' TPKeyboardAvoidingScrollView.m is include in the code coverage. You should disable the Code Coverage for the Targets that you don't want to be covered. If you want all of your pods to not be included in the code coverage you can add on your podfile # Disable Code Coverage for Pods projects post_install do |installer_representation| installer

How to use Firebase SDK as a Pod dependency?

我的未来我决定 提交于 2019-12-01 08:58:02
Now that the iOS Firebase SDK is open-source , I'd like to build a pod using Firebase as a dependency. To do so, I create a new pod template with the following. My issue is that I can import FirebaseDev from the example project, but I cannot from my development pod. I knew this was an issue before the SDK got open-source , but I hope to be able to fix this issue now but I need help identifying where the problem lies. Anyone can help on this? .podspec : s.dependency 'FirebaseDev' s.dependency 'FirebaseDev/Core' s.dependency 'FirebaseDev/Auth' s.dependency 'FirebaseDev/Database' Example/Podfile

Please add the host targets for the embedded targets to the Podfile

给你一囗甜甜゛ 提交于 2019-12-01 08:10:51
问题 My project is in Swift 2.0. I am try all possible ways but not found any solution. My pod file # Uncomment this line to define a global platform for your project source 'https://github.com/CocoaPods/Specs.git' platform :ios, :deployment_target => '8.0' # ignore all warnings from all pods inhibit_all_warnings! use_frameworks! def available_pods pod 'IQKeyboardManager' pod 'Instabug' pod "TSMessages" pod 'AsyncSwift' , :git => 'https://github.com/duemunk/Async.git' pod 'Onboard' # not used pod