cocoapods

CocoaPods pod install. Modules cannot be imported

末鹿安然 提交于 2019-12-31 03:44:07
问题 I installed CocoaPods by using $ sudo gem install cocoapods . I have a swift Xcode project with the following podfile platform :ios, '8.2' use_frameworks! target 'Clover' do pod 'Alamofire', '~> 1.2' pod 'SwiftyJSON', '~> 2.2' pod 'ObjectMapper', '~> 0.12' pod 'ImageLoader', '~> 0.3.0' pod 'SVProgressHUD' end target 'CloverTests' do end After I run pod install, which seems to run correct with no error messages, I have a Pods folder generated with Pods.xcodeproject along with several other

Import RealmSwift no longer working using CocoaPods

穿精又带淫゛_ 提交于 2019-12-31 01:43:53
问题 The CocoaPods installation of the RealmSwift Kruherson recommended here (or also is recommended from the realm.io page here) basically works - however there is one problem that is remaining in my App using Swift 0.92.3: The following import is no longer recognized ! import RealmSwift What do I still need to do in order to make CocoaPods work under Swift ? Here is the content of my Podfile used : platform :ios, '8.3' use_frameworks! xcodeproj '/Users/XXX/.../MyApp/MyApp.xcodeproj' target

Cocoa Pods need to completely re-install

不问归期 提交于 2019-12-30 10:53:28
问题 The Background I am somewhat new to Unix coming from a .NET environment but I know enough now to get me in trouble. I got an existing code I am working with that uses Cocoapods so I tried to install Cocoapods. Initially when I installed it it failed saying it requires a newer version of Ruby. To install Ruby I used an installer called rvm. With some effort I got RVM installed and got Ruby Version 2.1.0. When I go to directory where the app is and i type pod install it responds with pod:

How to add a CocoaPod framework to Xcode 8 Playground

泪湿孤枕 提交于 2019-12-30 10:12:19
问题 I tried to add some pods to the Playground within an Xcode project. Unfortunately, the only scope supported is targets since the update, and link_with is no longer supported. ERROR: [!] Invalid Podfile file: [!] The specification of link_with in the Podfile is now unsupported, please use target blocks instead. When I use target blocks, I get this error: [!] Unable to find a target named MyPlayground , did find Target_1 , Target_2 OR: [!] Unable to find a target named MyPlayground.playground ,

Fail to Import RestKit with Cocoapods Dynamic Frameworks

拟墨画扇 提交于 2019-12-30 08:09:18
问题 I have the prelease version of cocoapods installed, 0.26, and trying to install the latest version of RestKit. In my podfile I've turned on the use_frameworks! flag to force cocoapods to use dynamic frameworks. Putting import RestKit in my swift file causes a build failure: 'RKValueTransformers.h' file not found . RestKit is set up to use a handful of other libraries and include their headers into the project (AFNetworking, RKValueTransformers, TransitionKit, etc.) According to an article for

Issue when creating my first CocoaPod

纵然是瞬间 提交于 2019-12-30 03:41:20
问题 I am trying to create my first pod and is following this tutorial: http://www.sitepoint.com/creating-cocoapods/ But when I do: pod spec lint GLLingoManager.podspec I get following error: $ pod spec lint GLLingoManager.podspec -> GLLingoManager (0.1.0) - ERROR | [OSX] unknown: Encountered an unknown error ([!] /Applications/Xcode.app/Contents/Developer/usr/bin/git clone https://github.com/xeppen/GLLingoManager.git /var/folders/v6/tdz6zc7j10j_k0pc1vy627zm0000gn/T/d20160504-76297-8l71fj -

xcode duplicate symbols for architecture error after updating cocoa pods

爱⌒轻易说出口 提交于 2019-12-30 03:26:21
问题 Here is my podFile : source 'https://github.com/CocoaPods/Specs.git' platform :ios, '7.0' pod 'AFNetworking' pod 'ODSAccordionView', '0.4.4' pod 'IQKeyboardManager' pod 'NYXImagesKit', :git => 'https://github.com/Nyx0uf/NYXImagesKit.git' pod 'PEPhotoCropEditor' pod 'CocoaAsyncSocket' pod 'PKRevealController' pod 'Haneke', '~> 1.0' pod 'MBProgressHUD', '~> 0.9.1' pod 'RadioButton' Everythig has been working fine for a long time, but now, when I update my pods ( pod update ) these 3 pods get

Alamofire No Such Module (CocoaPods)

我是研究僧i 提交于 2019-12-30 02:36:15
问题 Using Xcode 7 I am trying to install Alamofire in a sample project. Have used the instructions from Ray Wenderlich's page Only change from above link is the podfile -- which is from GitHub page here because the version has been updated. I have also used the Swift 2.0 branch. Below is the snapshop of the error, my pod file and my terminal post installing the pod PODFILE TERMINAL P.S: I want to use cocoapods to install Alamofire. I don't want to download it from github page 回答1: Try this one.

Class is implemented in both, One of the two will be used. Which one is undefined

牧云@^-^@ 提交于 2019-12-29 14:04:51
问题 I have an issue with dependencies included in Cocoapods. I have a Framework project (MyFramework target), which also has App target (MyFrameworkExampleApp). When I try to run the app, I get a console full of errors like so: Class PodsDummy_AFNetworking is implemented in both /private/var/containers/Bundle/Application/AD85D7EC-2652-4019-94FB-C799D0FBA69B/MyFrameworkExampleApp.app/Frameworks/MyFramework.framework/MyFramework (0x1019a0438) and /var/containers/Bundle/Application/AD85D7EC-2652

Cocoapod: Why Xcode build process try to find the library which has been already removed from my project

一世执手 提交于 2019-12-29 10:02:13
问题 Thank you always for all of your knowledge. I have checked my issue in StackOverflow and found similar issues but could not find my case specifically. Greatly appreciated If some of you could advise my situation. My environment; xcode: Version 6.0.1, ios target: IOS 8, code: OBjective-C I opened my project by Myproject.xcworkspace. Issue; I used Cocoapod to install some libraries. Here was the code in podfile. source 'https://github.com/CocoaPods/Specs.git' platform :ios, '6.0' pod