cocoapods

How to add a private CocoaPod as a dependency in another pod .podspec file?

我与影子孤独终老i 提交于 2019-12-04 15:30:30
问题 I am working on a private pod and that is dependent on other private pod. So i just want to mention it in my pod .podspec file. Its looks like this in .podspec file of pod2. s.dependency 'Pod1', '~> 0.0.1' , :git => 'https://github.com/MY_COMPANY/pod1.git', :commit => '9f9f4fe5b5959e0f2ea89e472eccf7aea6f37eea' And i came to know that "there is no :git and :commit options in podspec dependency specifier" so if not then how to achieve that thing? 回答1: You have to maintain a repository for your

Google iOS SDK fails to archive (use of undeclared identifier errors)

て烟熏妆下的殇ゞ 提交于 2019-12-04 15:25:14
I have attempted to archive my project for submission to App Store, however, every time I get errors "use of undeclared identifier" for everything related to google iOS SDK. The application itself runs and builds flawlessly with the discussed SDK integrated, the only thing that fails is the archive process. I have tried both cocoa pods and manual method of integration (separately, of course). Furthermore, I used the latest xCode versions (6.4 and 7 beta 4) on two different macs running OS X 10.10.4. This is the guide I have been using. Your issue has something to do with the configuration of

Cocoapods Podspec Source HTTP Authentication Support

随声附和 提交于 2019-12-04 15:19:00
I am looking into setting up a private repo that allows distributing binary .framework files (so no source code) via Cocoapods. The actual repo will be hosted on a Git server, just like the Cocoapods page suggests and the actual .framework files will be hosted on a different server that would allow accessing the .framework files via HTTPs. Let's say I add this in the .podspec file: spec.source = { :http => 'https://myhostserver.com/Releases/v1.0.0/MyLibrary.framework.zip' } From reading the documentation it's not clear to me what kind of authentication does Cocoapods support for referencing

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

偶尔善良 提交于 2019-12-04 15:05:51
问题 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

Why does a new user account fix my pod install?

别等时光非礼了梦想. 提交于 2019-12-04 14:38:39
问题 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

CocoaPods: Linking with C++ symbols defined in libPods.a

删除回忆录丶 提交于 2019-12-04 14:33:52
I recently started working on a podSpec file that integrates levelDB into my projects. ( https://github.com/iljaiwas/Podspecs/blob/master/LevelDBPodSpec/0.0.1/leveldb.podspec ) However, when I reference any C++ symbol from a .mm file in the main target, I get a linker error like this: Undefined symbols for architecture x86_64: "leveldb::DB::Open(leveldb::Options const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, leveldb::DB**)", referenced from: -[IHLevelDBContext initWithPath:] in IHLevelDBContext.o This is what the compiler invocation looks

How to install ReactiveCocoa properly using CocoaPods?

China☆狼群 提交于 2019-12-04 14:03:17
I'm very new to ReactiveCocoa . I tried to install ReactiveCocoa a couple of days ago via CocoaPods . Here is my podFile : platform :ios , '7.0' pod 'ReactiveCocoa' After using pod install I have the log file here: Analyzing dependencies Downloading dependencies Using ReactiveCocoa (2.0) Generating Pods project Integrating client project And then I open myproject.xworkspace and #import <ReactiveCocoa.h> to start using the framework. But the problem is I cannot get it worked For example in my code I have this line: objc RACSignal *usernameSignal = self._usernameTextField.rac_textSignal; But

Playground in Swift won't use Firebase

时光总嘲笑我的痴心妄想 提交于 2019-12-04 14:01:57
As u probably all might know Firebase made a Version jump and I am trying to get my setup working with the Xcode Playground. There is a reference how to implement Firebase in Playground with older versions of Cocoapods and Ruby but that won't really work for me swift playground for experimenting with firebase . Even though Firebase implementation in the Project itself works fine and i can import my Firebase it won't work on a Playground any more. Does somebody know how to add a working setup with a Playground and Firebase? Software in use: Cocoapods: 2.6.4 Pod: 1.0 Xcode: 7.3.1 Firebase: 3.2.0

Adding Cocoapods To Multiple Targets

China☆狼群 提交于 2019-12-04 13:12:19
I'm needing to add Alamofire to my main iOS app and the iOS Today Extention. With Alamofire just being in my iOS app target, it works great! But now, I'm trying to add Alamofire to my today extention. This is my Podfile # Uncomment the next line to define a global platform for your project # platform :ios, '9.0' target 'The Main iOS App' do # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! pod 'Canvas' pod 'Firebase/Core’ pod 'Firebase/Messaging’ pod 'Alamofire', '~> 4.4' # Pods for The Main iOS App end target 'Today' do # Comment the

XCode 8: Can't find AFNetworking header files and Swift pods errors

好久不见. 提交于 2019-12-04 13:03:22
Today I've upgraded my XCode to 8 version, but After this I got a lot of errors. Ex: The targets “Charts” and “CircleProgressView” contain source code developed with an earlier version of Swift. Choose “Convert” to update the source code in these targets to the latest SDKs. You will be given the choice to use Swift 2.3 syntax or update to Swift 3. This action can be performed later using “Convert to Current Swift Syntax” in the Edit menu. And AFNetworking/AFNetworking.h file not found. The steps I made: Added post_install do |installer| installer.pods_project.targets.each do |target| target