cocoapods

Error running pod install with swift

∥☆過路亽.° 提交于 2019-11-27 10:29:37
问题 I followed the instruction from Cocoapods. Below is my Podfile: platform :ios, '8.2' pod 'SwiftyJSON', '~> 2.1' pod 'SwiftSpinner', '~> 0.6' pod 'Alamofire', '~> 1.1' pod 'SuperRecord', '~> 1.2' pod 'Toucan When I did pod install I got the following error: Pods written in Swift can only be integrated as frameworks; this feature is still in beta. Add use_frameworks! to your Podfile or target to opt into using it. Updated: Below is my console log: $ pod install Analyzing dependencies

Use Cocoapods with an App Extension

泄露秘密 提交于 2019-11-27 10:09:27
I'm trying to build a photo App Extension in Xcode 6 Beta-6 that uses cocoapods libraries. The bridging header that Xcode creates for the photo extension can't see anything from cocoapods. For example: #import <GPUImage/GPUImage.h> results in the error "GPUImage/GPUImage.h" file not found . I've tried every conceivable path for the import (with brackets and quotes) and have had almost no success. The exception is that for simple pods like SVProgressHUD , the following ugly terrible hack works: #import "../Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.h" . But for GPUImage, it walks into the

Error on pod install

送分小仙女□ 提交于 2019-11-27 10:01:21
I have a working project the uses a pod file for some weeks now. When I learned that some of my pods have update I tried to 'pod install' on got this weird error Analyzing dependencies [!] Pod::Executable pull Updating 1337455..e9f6e93 error: The following untracked working tree files would be overwritten by merge: AeroGear-Push/0.7.0/AeroGear-Push.podspec AeroGear/1.2.0/AeroGear.podspec BrynKit/1.3.0/BrynKit.podspec BrynKit/1.3.1/BrynKit.podspec CSURITemplate/0.3/CSURITemplate.podspec EXiLE/1.0.2/EXiLE.podspec FlurrySDK/4.2.3/FlurrySDK.podspec FoundationExtension/0.39.1/FoundationExtension

Cocoapods: Unable to find a specification for [PrivateSpec] depended upon by [PrivateClientSpec]

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-27 10:00:17
问题 I am trying to use private repositories to break up a larger application. I have followed the guides at: http://www.objectpartners.com/2014/06/25/developing-private-in-house-libraries-with-cocoapods/ http://guides.cocoapods.org/making/private-cocoapods.html How to add a private CocoaPod as a dependency in another pod .podspec (similar but a different problem) I have created a local repository to contain the specs, published to cocoapods via pod remote add MySpecs ~/local/path/to/MySpecs.git ,

'No such module' when I use CocoaPods

≯℡__Kan透↙ 提交于 2019-11-27 09:56:12
问题 So here's my procedure. I create a new Podfile in the project directory, then I added the following platform :ios, '9.0' use_frameworks! target 'CPod' do pod 'AFNetworking', '~> 2.5' pod 'ORStackView', '~> 2.0' pod 'SwiftyJSON', '~> 2.1' end I fire off pod install , and everything goes well, open up the xcworkspace . I then go over to ViewController.swift and if I try to import a pod I get No such module 'SwiftyJSON' , if I were to do import SwiftyJSON . Any ideas? EDIT: SwiftyJSON is a Swift

How to import and use Swift Pod Framework in Objective-C Project

房东的猫 提交于 2019-11-27 09:49:13
问题 I've been trying to checkout CocoaPods new framework setup to get some Pods going and I'm having trouble using the Swift one's in my Objective-C project. First things first, this is CocoaPods prerelease 0.35, you can read about how to use and install it here. Here's my current Podfile: source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0' pod 'MBProgressHUD' pod 'SLPagingViewSwift' MBProgressHUD is a common spinning indicator, and SLPagingViewSwift is a random project I found

Swift framework depending on cocoa pod

送分小仙女□ 提交于 2019-11-27 09:46:39
问题 Using the newest version of cocoa pods (0.36) I am able to embed cocoa pods written in swift (e.g. Alamofire) into my swift project. Now I introduced a custom framework of my own into the project, which also wants to depend on Alamofire. What I did in order to accomplish that is to select add the pods framework to my framework as dependency: Select the Target for my own embedded Swift Framework (Swift Module) and in the "General" tab in the "Linked frameworks and libraries" I added "Pods

Xcode Unit Testing with Cocoapods

允我心安 提交于 2019-11-27 09:30:51
问题 I've been banging my head against a wall with this for the last few days but despite multiple Google/SO/Github searches I can't find a resolution to the issues I'm having! All I'm trying to do is create some unit tests for my app which makes use of Firebase pods. I'm using Xcode 7.3.1 & Cocoapods 1.0.1. Update: Issue remains with Xcode 8.0 With this podfile: platform :ios, '9.0' use_frameworks! inhibit_all_warnings! target 'MyApp' do pod 'Firebase' pod 'Firebase/Auth' pod 'Firebase/Database'

Configuring Cocoapods with an existing static library and iOS application

强颜欢笑 提交于 2019-11-27 09:29:40
问题 I'm having trouble getting my workspace to compile correctly with Cocoapods. There are 3 projects in the workspace, each with their own target: libPods - Cocoapods static library with all the external dependencies libCommon - My static library where I keep all my shared code (base controllers, networking code, common UI, etc) myApp - My iOS application Both libCommon and myApp require the external dependencies from the libPods. Originally I thought it would work like this: libPods builds

Cocoapods setup stuck on pod setup command on terminal

不羁岁月 提交于 2019-11-27 09:15:18
问题 MacBook-Pro:~ skbc$ pod setup --verbose /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/rbconfig.rb:212: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777 Setting up CocoaPods master repo Cloning spec repo `master` from `https://github.com/CocoaPods/Specs.git` (branch `master`) $ /usr/bin/git clone 'https://github.com/CocoaPods/Specs.git' master Cloning into 'master'... Have gone through resources provided by Cocoapods web