cocoapods

Including a private pod as a dependency of another private pod in .podspec file

落花浮王杯 提交于 2019-12-12 14:42:33
问题 I have 2 private pods. Let's call them PrivateA and PrivateB . These used to not depend on each other, so I could use them both in my project pretty easily like so: source 'http://my-private-domain.com/PrivateA.git' source 'http://my-private-domain.com/PrivateB.git' source 'https://github.com/CocoaPods/Specs.git' target 'MyProject' do use_frameworks! # Pods for MyProject pod 'PrivateA', :git => 'http://my-private-domain.com/PrivateA.git' pod 'PrivateB', :git => 'http://my-private-domain.com

Crash on Startup: Xcodebuild's Archive command adds symbolic links to frameworks in place of actual files

余生长醉 提交于 2019-12-12 13:54:22
问题 I have a Jenkins CI setup where xcodebuild would be run to produce the IPA files for my iOS project. Lately we have made a change to cocoapods setup that causes the app to crash at startup. The change was the decision to build the pods as frameworks instead of static libraries. Now when I open the generated .app folder and peek inside, I could see a Frameworks directory with each of the pods inside. More notably, the actual frameworks didn't make it to these folders. Instead, they are

ERROR | [iOS] file patterns: The `source_files` pattern did not match any file

风流意气都作罢 提交于 2019-12-12 13:47:28
问题 I renamed my Existing library to github, I changed everything and things are working fine apart from it's not validating my library now by - pod spec lint KJCircularSlider.podspec for trunk push. I checked my folder structure and it looks perfect, anyone can help me what can be the actual issue? Here is my library if you want to check folder structure - KJCircularSlider Here is my podspec file. Pod::Spec.new do |s| s.name = 'KJCircularSlider' s.version = '0.1.0' s.summary = 'Circular slider -

cocoapods activesupport conflicts ios development

♀尐吖头ヾ 提交于 2019-12-12 13:16:50
问题 I tried reporting this issue on the cocoapods project but was directed to post here. I recently took on a project where I work and I am having trouble getting what the previous consultant setup to function on my local workstation. I was able to successfully install the cocoapods gem, however, when I run pod install it blows up.... specification.rb:1990:in `raise_if_conflicts': Unable to activate xcodeproj-0.14.1, because activesupport-4.0.0.rc1 conflicts with activesupport (~> 3.0) (Gem:

iOS Siri Intents Extension “I don't see an app for that. You'll need to download one.”

不羁岁月 提交于 2019-12-12 12:18:52
问题 I am writing a Swift framework that contains a Siri intentdefinition file and code that is used both from the main app, from a Today extension, and from a Siri intent extension. I am using Cocoapods to distribute the framework (it is in a private repo, so I cannot share the framework itself). This works well for compiling, linking, and executing code from within the app and the Today extension. The app (or Today extension) successfully donates the intent when the user performs the

Xcode Project stuck “Compiling Swift source files”

不打扰是莪最后的温柔 提交于 2019-12-12 11:51:11
问题 My Xcode project had decided not to build and simple get stuck on "Compiling Swift source files". I'm running a completely Swift project with CocoaPods. I've tried clearing all derived data, cleaning the project, and restarting my computer. I've had no luck. I'm not exactly sure why this is happening. If anyone has any ideas to fix this, it would be greatly appreciated. Thanks! 回答1: In my case, the problem was in a complicated dictionary. I was creating a big dictionary for JSON parsing tests

How to import JSQMessagesViewController in swift?

孤街醉人 提交于 2019-12-12 11:39:34
问题 I am working with xcode 6.3, swift 1.2 and I install the "JSQMessagesViewController" library with cocoapods. Here is my pod file: pod 'JSQMessagesViewController' and my bridge file: #import <JSQMessagesViewController/JSQMessages.h> then I get the error: 'JSQMessagesViewController/JSQMessages.h' file not found with <angled> include; use "quotes" instead I don't know why it goes wrong. When I update the bridge file with #import "JSQMessagesViewController/JSQMessages.h" I get the error

onesignal/onesignal.h file not found

本小妞迷上赌 提交于 2019-12-12 11:07:33
问题 Xcode version 7.3.1 and i have developer apple id hi , i have strange problem to work and debug my project The Error says : onesignal/onesignal.h file not found i install and update pod without any error or problem through Console , i attach some screenshot that show error better image1 image2 where is the problem ? why i have not onesignal.h file after install it , and how can i fix this ? please help me i stuck in this for a few weeks 回答1: Try to update to onesignal 2.0 with the command pod

Cocoapods testing linker error

本小妞迷上赌 提交于 2019-12-12 10:30:56
问题 Whenever I build my testing target (the standard target that Xcode generates), the build fails with an cryptic error: framework not found Pods_AppName_AppNameTests which I take to mean the pod generated target for my tests can't be found. My podfile is pretty simple: use_frameworks! target 'AppName' do pod 'ReactiveCocoa' pod 'RealmSwift' pod 'ObjectMapper' pod 'Moya' pod 'Moya/ReactiveCocoa' pod 'pop' pod 'Heimdallr' pod 'Heimdallr/ReactiveCocoa' pod 'Alamofire' pod 'AlamofireImage' pod

Error “No such module” when installed framework with pod in swift 3

时光毁灭记忆、已成空白 提交于 2019-12-12 09:17:50
问题 I had manually added Alamofire, realm and swiftjson framework in my swift project. At that time my project was working properly. Now I created a Podfile in my project directory and added the following pods pod 'Alamofire' pod 'RealmSwift’ pod 'SwiftyJSON' It is successfully installed. I opened .xcworkspace and tried to import the framework. But is showing error message "No such module Realmswift", "No such module Alamofire", "No such module SwiftyJson". Framework search paths are as follows: