cocoapods

- Use the `$(inherited)` flag, or - Remove the build settings from the target. CocoaPod Swift3 pod update error

和自甴很熟 提交于 2019-12-03 09:30:24
I've been running into a couple of strange errors in terminal when updating cocoapods after updating a Switf2 project to Swift3. Here are the errors: [!] The `MyShowGuide [Debug]` target overrides the `FRAMEWORK_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-MyShowGuide/Pods-MyShowGuide.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target. [!] The `MyShowGuide [Release]` target overrides the `FRAMEWORK_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods

Pod not found: Could not find 'cocoapods' (>= 0) among 64 total gem(s) (Gem::LoadError)

一曲冷凌霜 提交于 2019-12-03 09:23:55
After installing cocoapods with sudo gem install cocoapods , attempting to run pod setup returns this error: Could not find 'cocoapods' (>= 0) among 64 total gem(s) (Gem::LoadError) Output from sudo gem install cocoapods : CHANGELOG: [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.28.0...0.29.0) • [CocoaPods-core](https://github.com/CocoaPods/Core/compare/0.28.0...0.29.0) • [cocoapods-downloader](https://github.com/CocoaPods/cocoapods-downloader/compare/0.2.0...0.3.0) [ bug/enhancement notes removed for brevity] Successfully installed cocoapods-0.29.0 Parsing documentation for

Framework did not have a CFBundleIdentifier in its Info.plist

北城余情 提交于 2019-12-03 09:19:17
问题 I was having issues with my Bridge.h imports finding their intended targets after a cocoapods install and run. I had: #import <TPKeyboardAvoiding/TPKeyboardAvoidingScrollView.h> #import <DateTools/DateTools.h> But it didnt work because my Headers folder was empty, so I copied those two folder into the Headers folder and hardcoded the path: #import </Users/username/Documents/new_ios/ios-app/Pods/Headers/TPKeyboardAvoiding/TPKeyboardAvoidingScrollView.h> #import </Users/username/Documents/new

pod install failed with error: Library (from `../`)` required by `Podfile` when pod install in iOS

有些话、适合烂在心里 提交于 2019-12-03 09:12:52
问题 I am making a cocoapods. I am using pod lib create MyLibrary to create a new cocoapods. After it's done, I added two files into MyLibrary/Pod/Classes/. And I commit and add a tag and then push to origin master. and the MyLibrary.podspec passed validation. So, I go into the Example folder which created when I do pod lib create MyLibrary . and do a pod install in the terminal. But I am getting error: Analyzing dependencies Fetching podspec for `MyLibrary` from `../` [!] Unable to satisfy the

Why does a new user account fix my pod install?

只谈情不闲聊 提交于 2019-12-03 09:10:59
I'm using cocoapods, and it errors every time it tries to install Crashlytics. This is the error: [!] /usr/bin/curl -f -L -o /var/folders/3l/8_q_611x0ms5z5pk1n_79g_40000gn/T/d20160630-21289-u98pwu/file.zip https://kit-downloads.fabric.io/cocoapods/crashlytics/3.7.2/crashlytics.zip --create-dirs --netrc % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (35) SSL peer handshake failed, the server most likely requires a client certificate to connect I'm using OS X 10.11.4 (15E65). So I created a

Private Pod update/install stuck at Pre-downloading: “” from “” step

匿名 (未验证) 提交于 2019-12-03 09:06:55
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: We have a private git repo that has shared framework for mobile apps, let's call it mobilesdk. Recently a new dev joined the team, and when she is setting up the repo pod install & pod update mobilesdk are getting stuck at the following step: Pre-downloading: `mobilesdk` from `https://github.companyurl.com/mobileFramework/mobilesdk.git`, branch `release/0.9` pod inclusion: pod 'mobilesdk', :git => "https://github.companyurl.com/mobileframework/mobilesdk.git", :branch => "release/0.9" "pod env" CocoaPods : 1.1.1 Ruby : ruby 2.2.5p319 RubyGems

CocoaPods integration problems: dyld: Library not loaded: @rpath/Bolts.framework/Bolts

匿名 (未验证) 提交于 2019-12-03 09:02:45
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I know that there are almost 1000 questions like this one, but I've tried all the answers on the others and no one could helps me. I'm creating an app in Swift 2.0 that works with cocoapods. In my podfile I have: platform :ios, '8.0' use_frameworks! target 'TargetName' do pod 'SinchRTC' pod 'SinchVerification-Swift' pod 'Parse' end And everything was working fine, at one point I tried to run again the app and I got this error: dyld: Library not loaded: @rpath/Bolts.framework/Bolts Referenced from: ... Reason: no suitable image found. Did

Cocoapods optimization level for schemes

牧云@^-^@ 提交于 2019-12-03 09:01:11
问题 Looking at the project file for Cocoapods Pods.xcodeproj it looks like every single scheme for every library (except for Debug scheme) has an optimization level of Fastest, Smallest . Is there a quick and easy way to change the Podfile or some other configuration of Cocoapods so that the optimization level is None for specific schemes when I use pod install ? 回答1: I use post_install hook in Podfile. Like this: post_install do |installer| installer.pods_project.build_configurations.each do

How do I install a cocoapod in mavericks with ruby and Command Line Tools correctly?

匿名 (未验证) 提交于 2019-12-03 08:51:18
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This is my setup: Mavericks 10.9.1 Xcode 5.0.2 which ruby returns this: /Users/quique123/.rvm/rubies/ruby-1.9.3-p194/bin/ruby but dvm install ruby returns: Already installed ruby-2.1.0. To reinstall use: rvm reinstall ruby-2.1.0 So doesn't this mean I have ruby 2.1.0? gems list says I have installed cocoa pods & cocoapods-core 0.29.0 and some other gems. After sudo gem install cocoa pods I get the bunch of fetches and change log and Successfully Installed cocoa pods 0.29.0. It then parses and installs documentation and when I run pod setup I

Load image from CocoaPods resource bundle

旧街凉风 提交于 2019-12-03 08:35:47
问题 I am creating a private library that includes resources that are referenced by components in the library. The library is shared with apps using CocoaPods. In the .podspec for the library, I've included a line like this: s.resource_bundles = {'IXMapKitResources' => ['IXMapKit/Resources/*']} One of the resources in the bundle is an asset catalog with multiple image sets, one of which is called 'IXMKAnnotationIcons-Normal-Accident'. The following code returns a nil: UIImage * image = [UIImage