cocoapods

Create Cocoapod for swift framework

会有一股神秘感。 提交于 2019-12-12 04:48:38
问题 I am planning to make Cocoapod for my framework written in Swift which is placed on github here. I went through the Cocoapod documentation but I am not able to wrap my head around it. Could anyone please explain how to achieve it or point to any tutorial that will explain it. 回答1: It's pretty simple. I found this video tutorial incredibly helpful when I started. It's for Objective-C, but should pretty much be the same for Swift. Also, the video is from a few years back, so when it tells you

Artifactory Cocoapods include/white list

天大地大妈咪最大 提交于 2019-12-12 04:23:25
问题 In our company we are establishing Artifactory into our toolchain. We have now a remote repository for the CocoaPods repository. As we are required to control the pods that are used, we would like to white list allowed pods with the include function. So if we use a repository without restriction, everything works fine. But if we have an include pattern for a library, e.g. see print screen, then we get an error on the fetchIndex request of Artifactory. In the logs, this is what it looks like:

how to include bundle in a pod

自作多情 提交于 2019-12-12 04:17:14
问题 I created a pod which include a vendored_framework that I included using this line in the podspec : s.vendored_frameworks = 'Pod/Frameworks/TheFramework.framework' So, that framework is a "fake" framework, that's why I need to include it this way. Now I need to include its resources bundle too, that's why I don't know how to do. I have tried this: s.resource_bundles = { 'TheFramework' => ['Pod/Assets/TheFramework/TheFrameworkResources.bundle'] } But when I run the project it seems that the

Unable to find Cocoapod MotionKit framework Derived Data

早过忘川 提交于 2019-12-12 03:58:46
问题 I installed the library with Pod. But I got the following error when I build the app: error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool: can't open file: \ /Users/taiyuanz/Library/Developer \ /Xcode/DerivedData/RollingBall-gbmnblxxirswheemtfgncxsqywkj/Build/\ Products/Debug-iphoneos/Ballman.app/Frameworks/MotionKit (No such file or directory) This happens after I upgraded the Xcode. How to fix such error? 回答1: Xcode > Window > Projects >

how to update google maps using cocoa pods.?

a 夏天 提交于 2019-12-12 03:44:39
问题 Hi guys I am using google maps and other libraries. I install every library using cocoapods, but when I install a library and update with command pod install . I am getting this error: Analyzing dependencies [!] Unable to satisfy the following requirements: - `GoogleMaps` required by `Podfile` - `GoogleMaps (= 1.13.0)` required by `Podfile.lock` Specs satisfying the `GoogleMaps` dependency were found, but they required a higher minimum deployment target. Specs satisfying the `GoogleMaps (= 1

Workspace does not build after pod install

邮差的信 提交于 2019-12-12 03:37:23
问题 I have two swift projects, application and library , where library is a dependency of application . I have a Podfile configured as so; workspace 'myworkspace' platform :ios, '9.0' use_frameworks! target :library do project 'library/library.xcproject' pod 'GCDWebServer', '~> 3.0' target :application do project 'application/application.xcproject' end end After running pod install successfully, I open myworkspace in Xcode, and find application as the currently selected scheme. Immediately

Cocoa error 3840 Parse Code iOS7 only

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 03:17:44
问题 Background: I decided a couple days ago that I was going to update Facebook SDK to FBSDKCoreKit from Facebook-iOS-SDK v3.24. I updated my Podfile accordingly and installed all libraries fine. I then began updating some of the code to work with the updated SDK spec. After working on it for a short amount of time, I changed my mind and decided to rollback to the old version. I made all necessary cocoapods changes and installs, discarded all local changes in Xcode, recompiled and ran. Everything

Cocoapods Private Spec Repo over HTTP/S3

人盡茶涼 提交于 2019-12-12 03:16:32
问题 We are looking at implementing a private specs repo for our commercial libraries, to be shared with external customers (i.e. it's a 'semi' private spec repo). Is there currently a way to use HTTP (or more specifically S3) to host a spec repo? We don't have a public git repo (and due to it being a licensed product, putting it onto GitHub isn't really an option unfortunately). There are some guides around pushing a git repo to S3, which looks promising, but it would be great to have native

AlamoFire + SwiftyJSON on iOS 9.0

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-12 02:38:52
问题 I have been trying to install and use AlamoFire and SwiftyJSON on iOS 9 using CocoaPods. The latest version keeps getting installed and it is not compatible with iOS 9.0. My PodFile looks like this: platform :ios, '9.0' use_frameworks! target 'Kitchology' do pod 'Alamofire' pod 'SwiftyJSON' pod 'AlamofireImage' end I tried commenting them out and doing a pod install to remove them, then put them back in and do another pod install. Every time the latest is installed. I do have the project

Frameworks Added to cocoapod getiing import issue “Framework not found”

若如初见. 提交于 2019-12-12 02:34:32
问题 This is my podfile: `target 'ROC' do source 'https://github.com/CocoaPods/Specs.git' platform :ios, '7.0' pod 'AFNetworking', '~> 2.5' pod 'INTULocationManager' pod 'Fabric' pod 'Crashlytics' pod 'FSMediaPicker' pod 'IQDropDownTextField' pod 'Google/Analytics' pod 'Google/SignIn' pod 'Appboy-iOS-SDK', '~>2.22' end ` Now I open podfile and added pod 'GoogleMaps' pod 'GooglePlaces' then update pod. I can see googleMaps framework in project nevigator but cant import because of error Googlemap