cocoapods

AFNetworking.framework: No such file or directory in Xcode 8

故事扮演 提交于 2019-12-12 02:19:33
问题 I just opened my project in Xcode 8.0 and tried to build it, but the following "PBXCp Error Group" appeared: error: /Users/username/Documents/XYZ/build/Debug-iphoneos/AFNetworking.framework: No such file or directory My Podfile is below: platform :ios, '10.0' use_frameworks! target 'XYZ' do pod "MSSTabbedPageViewController" pod "SKStatefulTableViewController", "~> 0.1" pod "QBFlatButton" pod "LTNavigationBar" pod "KBRoundedButton" pod "CTCheckbox" pod "SKStatefulTableViewController", "~> 0.1"

pod install [!] ERROR: Parsing unable to continue due to parsing error:

假装没事ソ 提交于 2019-12-12 02:17:09
问题 When try to install pod show me this error: pod install [!] ERROR: Parsing unable to continue due to parsing error: contained in the file located at /Users/rezakhalafi/.cocoapods/repos/master/CocoaPods-version.yml \--- min: 1.0.0 last: 1.2.0.beta.3 prefix_lengths: - 1 - 1 - 1 How to fix this? 回答1: First i removed cocoapods : gem list --local | grep cocoapods gem uninstall cocoapods gem uninstall cocoapods-core gem uninstall cocoapods-downloader And uninstall Gem : gem uninstall -aIx And

Build Frank with Cocoapods

穿精又带淫゛_ 提交于 2019-12-12 02:07:54
问题 I'm trying build Frank with my xcode app that use Cocoapods. Setup ( frank setup ) is ok. After setup i ran frank build . I get error. After some research i ran: frank build --workspace my_app.xcworkspace/ --scheme my_app and result was: ** BUILD FAILED ** The following build commands failed: Check dependencies Check dependencies Check dependencies Check dependencies After another research i have tried to specify architecture. So i tried to build app using: frank build --workspace my_app

Only factor methods can have swift_name attribute Mapbox

a 夏天 提交于 2019-12-12 01:44:20
问题 I'm using cocoa pods and map box was working fine but I installed an update and this message appeared: Now I can't run my project. I'm using map box iOS sdk 3.3.4. What should I do to fix this issue? 回答1: According to apple documentation: The Swift compiler automatically imports Objective-C code as conventional Swift code. There may be edge cases in your code that are not automatically handled. If you need to change the name imported by Swift of an Objective-C method, enumeration case, or

Mantle.h file not found

我与影子孤独终老i 提交于 2019-12-12 01:13:04
问题 I am pretty new here/to iOS. I am trying to fix up something my buddy was building and had left... I have been trying to compile this for the last 2 days. Hoping to get some insight into what I am missing. I am receiving 'Mantle/Mantle.h' file not found. I have installed cocoapods, from what I understand thats what Mantle is. I keep receiving an error for file not found, however I am not sure is it something to install or drop a file somewhere...? My podfile has mantle listed... I am not sure

RestKit.h never found in Xcode project

◇◆丶佛笑我妖孽 提交于 2019-12-11 23:25:19
问题 I've tried everything to fix this issue but, despite about 100 'solutions' online, nothing has worked. I'm now worried that I'm altering core files without a clue what I'm doing and that something will ultimately render the entire project dead. Is it a simple and safe procedure to re-install RestKit to the project by removing it from the podfile then adding it back in? Or is that wishful thinking? EDIT: Found a working version from 2 weeks ago Copied it successfully Still Builds Installed Pod

Cocoapods Error at Compile time

风格不统一 提交于 2019-12-11 19:34:36
问题 Why am I getting this error when I try to compile my app after installing AFNetworking using Cocoapods ? /Users/adsfa/Documents/adfasf/Pods/Pods-resources.sh: line 5: /Users/asdfa/Documents/sounasdfafdme/Pods/resources-to-copy-Krafdsakfen.txt: Permission denied My Podfile: pod 'AFNetworking', '~> 2.0' however, when I try to do open Podfile , I receive this /Users/me/Documents/soundme/Podfile ; exit; /Users/me/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:298:in

Update cocoapods to desired version

旧街凉风 提交于 2019-12-11 18:35:56
问题 We use cocoapods IQKeyboardManagerSwift in our project but IQKeyboardManagerSwift has updated Swift 3.0 to version 4.0.6 . In the pod file, I wrote: pod 'IQKeyboardManagerSwift' , '~> 4.0.5' Then, after installation , I found that it is still version 4.0.6 回答1: The line below asks for version 4.0.5 or greater 'IQKeyboardManagerSwift', '~> 4.0.5' and this line asks for version 4.0.5 exactly 'IQKeyboardManagerSwift', '4.0.5' 回答2: This works fine for me, just updated and tested yesterday. pod

Exclude Pods when cleaning Xcode 9 project [duplicate]

我怕爱的太早我们不能终老 提交于 2019-12-11 18:33:55
问题 This question already has answers here : Any way to clean only current Xcode project but not Cocoapods dependencies? (2 answers) Closed last year . I am wondering if there is a way to exclude your Pods in a Swift 4, Xcode 9 project when performing a Product -> Clean operation. In rare cases when I try to build I get errors like file too small for architecture x86_64 Easiest way to fix this is doing a full clean, according to this question. This works, but when I have a lot of Pods included in

cannot access swift class from objective-c pods

谁都会走 提交于 2019-12-11 17:58:01
问题 I have created a new single-view swift project, and then added a pod file (for MWPhotobrowser ) and installed it. I can now do import MWPhotobrowser on top of ViewController.swift file and use this framework without problems. but I need to make some changes to this pod by adding extra properties to MWPhotoBrowser.h file, one of these properties is a reference to ViewController.swift class. I am aware of the following: A) It's not a good practice to make changes on pod frameworks since pod