cocoapods

CocoaPods generates invalid project file (header not found)

旧街凉风 提交于 2019-12-05 03:31:30
I have a project file with a Podfile that looks like this: platform :ios, '7.0' def import_pods pod 'Specta', '0.1.8' pod 'Expecta', '0.2.1' pod 'RestKit', '0.20.3' pod 'MagicalRecord', '2.1' pod 'RestKit/Testing', '0.20.3' end link_with 'LocalMedTests' import_pods When I run pod install, it generates the Podfile.lock, Pods directory, and workspace for my project. When I open the workspace to build it, I get errors like this: 'RestKit.h' file not found. It seems to only be an issue for RestKit but I can't get past those errors to see if there are more. The restkit headers are in Pods/Headers.

Build error with Xcode 6 and (possibly) cocoapods

故事扮演 提交于 2019-12-05 03:05:42
I'm getting the following static analyzer error when building my iOS project that is using cocoapods with the latest Xcode 6 GM release. error: error reading 'pic' error: no analyzer checkers are associated with '-mrelocation-model' 2 errors generated. Command /Applications/Xcode6-Beta6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1 I can disable the static analyzer, but obviously I don't want to do that. Does anyone know how to fix this ( or a workaround ) and what exactly is causing this error? It appears to be a known issue with a fix

Creating a Pod, Cocoapods lint source_files issue

人盡茶涼 提交于 2019-12-05 02:58:47
I am creating a static library and I want to make a podspec so it can be included in other projects as well. To generate proper pod structure I used a command : pod lib create <library_name> It generated the following structure .podspec CHANGELOG.md Classes Project README.md Rakefile LICENSE I created a new Xcode project inside the "projects" directory. I also added two files to the project called Test1.h and Test2.h and saved them inside classes directory. Plus I added, header search path variable to xCode project settings, "../Classes/" so the classes & headers in other directories are are

Why is my library not able to expand on the CocoaPods website?

别等时光非礼了梦想. 提交于 2019-12-05 02:52:29
I'm trying to access my library's information through the CocoaPods website, but I'm not able to. All the other libraries seem to be able to expand (mine is MKWeatherUndergroundKit) Here is my podspec Pod::Spec.new do |s| s.name = "MKWeatherUndergroundKit" s.version = "0.6" s.summary = "A simple iOS and OS X library for retrieving weather information using the Weather Underground API" s.homepage = "https://github.com/MendyK/MKWeatherUndergroundKit" s.license = { :type => "MIT", :file => "LICENSE" } s.author = { "MendyK" => "myEmail@gmail.com" } s.social_media_url = "https://twitter.com/MenndK"

Incompatible library version: XXX requires version 2.0.0 or later, but Runes provides version 1.0.0

依然范特西╮ 提交于 2019-12-05 02:47:46
I was trying to run my iOS app on my iPhone. Project compiled nicely. But when app starts, XCode console showed: dyld: Library not loaded: @rpath/Runes.framework/Runes Referenced from: /private/var/mobile/Containers/Bundle/Application/CC8759F5-A501-400C-93A8-DCEE3BFE4770/XXX.app/XXX Reason: Incompatible library version: XXX requires version 2.0.0 or later, but Runes provides version 1.0.0 I use Cocoapods and my Podfile looks like: platform :ios, '8.0' use_frameworks! pod 'SnapKit', '~> 0.12.0' pod 'Alamofire', '~> 1.2' pod 'SwiftTask', '~> 3.3' pod 'Argo' pod 'Async', :git => 'https://github

CocoaPods “target has transitive dependencies that include static binaries”

房东的猫 提交于 2019-12-05 02:37:43
I'm trying to install a swift framework I found on GitHub along with the GoogleMaps, GooglePlaces into my Xcode project but for some reason when I try to install the pod file its giving the following error [!] The 'Pods-project1' target has transitive dependencies that include static binaries: (/Users/user1/Desktop/project1/Pods/GoogleMaps/Base/Frameworks/GoogleMapsBase.framework, /Users/user1/Desktop/project1/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework, and /Users/user1/Desktop/project1/Pods/GoogleMaps/Maps/Frameworks/GoogleMapsCore.framework) Here is my Pod File I'm trying to

'GoogleUtilities/GULAppEnvironmentUtil.h' file not found

巧了我就是萌 提交于 2019-12-05 01:43:35
Trying to compile my project after adding some pods. While compiling it gives below error 'GoogleUtilities/GULAppEnvironmentUtil.h' file not found Podfile.lock snippet - FirebaseCore (5.1.1): - GoogleUtilities/Logger (~> 5.2) - FirebaseDynamicLinks (3.0.2): - FirebaseAnalytics (~> 5.1) - FirebaseInAppMessaging (0.11.0): - FirebaseAnalytics (~> 5.1) - FirebaseCore (~> 5.1) - FirebaseInstanceID (~> 3.2) - GoogleUtilities/Environment (~> 5.0) - FirebaseInstanceID (3.2.1): - FirebaseCore (~> 5.1) - GoogleUtilities/Environment (~> 5.2) - FirebaseMessaging (3.1.0): - FirebaseCore (~> 5.0) -

How do I load a xib file from my cocoapod?

对着背影说爱祢 提交于 2019-12-05 01:34:48
My xib files are in the Assets folder of my Pod like this. s.resources = 'Pod/Assets' The xib files show up in my workspace in the Development Pods group of the cocoa pod. I'm trying to access the xib like this. [[NSBundle mainBundle] loadNibNamed:@"LabeledTextFieldView" owner:self options:nil]; But I get the following crash *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </Users/jeff.wolski/Library/Application Support/iPhone Simulator/7.1/Applications/775EB653-519B-4FCF-8CD9-92311E205598/LT-Components-iOS.app>

Cocoapods : target has transitive dependencies that include static binaries when installing 'VialerSIPLib'

删除回忆录丶 提交于 2019-12-05 01:18:54
I'm trying to install an objective-c Wrapper for Jsip 'VialerSIPLib' and use it in my swift project here is my pod platform :ios, ’10.0’ use_frameworks! target 'EMedicalAdmin' do pod 'ObjectMapper', '~> 2.1' pod 'Alamofire', '~> 4.3' pod 'SwiftyAvatar', '~> 1.0' pod 'AlamofireImage', '~> 3.1' pod 'Eureka', '~> 2.0.0-beta.1' pod 'JSQMessagesViewController', :git => 'https://github.com/jessesquires/JSQMessagesViewController.git', :branch => 'develop' pod 'PKHUD', '~> 4.0' pod 'Firebase/Core' pod 'Firebase/Messaging' pod 'ImageSlideshow', '~> 1.1.0' pod 'SwiftyJSON' pod

Attempt to read non existent folder `/private/tmp/CocoaPods/Lint/Pods/

a 夏天 提交于 2019-12-05 01:12:15
AM getting this while validating pod spec: Attempt to read non existent folder `/private/tmp/CocoaPods/Lint/Pods/Test Pls help. You need to run git tag 'x.x.x' and git push --tags before pod spec lint . siuying Try running your command with --verbose to see more helpful error messages: pod spec lint --verbose ... fatal: Remote branch 0.4.8 not found in upstream origin fatal: The remote end hung up unexpectedly This error is caused by git checkout failed. In my case the tag was not pushed to server side. You can find the exact cause by looking at your error message. I fixed the problem by