CocoaPods not installing Alamofire in Swift Parse Chat App

你。 提交于 2019-12-25 03:34:34

问题


I am trying to compile and run the following application (Swift Chat App using Alamofire).

https://github.com/huyouare/SwiftParseChat

I am using ruby-2.0.0 , cocoapods 0.37.1, xcode 6.3, Alamofire 1.2.0

I am installing it using the normal <pod install> command. No errors or warnings during the process. However, when compiling, I get:

No such Module 'Alamofire'

If I install Alamofire manually, however, when compiling I get an Apple Match-O Linker Error :

ld: warning: directory not found for option '-F/Users/cristian/Library/Developer/Xcode/DerivedData/SwiftParseChat-btvjczpwjlekftetblbfrbposakh/Build/Products/Debug-iphoneos/Pods'
ld: framework not found Pods
clang: error: linker command failed with exit code 1 (use -v to see invocation)

What is behind this??

Thanks !


回答1:


If everything is setup correctly, errors such as

No such Module 'Alamofire'

occur when you build your project from .xcodeproj.

By default you need to build project integrating CocoaPods from .xcworkspace.



来源:https://stackoverflow.com/questions/30174838/cocoapods-not-installing-alamofire-in-swift-parse-chat-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!