简体   繁体   中英

Linking error Xcode 7.2: Framework Not Found

I have been trying to find a solution to this problem for hours. Every time I try to build my project, I get the same error:

ld: framework not found SwiftHTTP

I tried following the instructions in this question but to no avail.

Are there any ideas as to what else I may be doing wrong?

As mentioned in comments, OP accessed the project via .xcproject instead of .xcworkspace , thus the framework is not loading. To solve the problem (and restore to recommended settings by Cocoapods), follow the steps below:

  1. Close all Xcode project / workspace
  2. In Terminal, issue pod update in the Project folder to restore the settings
  3. After Cocoapods finished running, open the .xcworkspace and build the project

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM