ios - 链接器命令失败,退出代码为1

标签 ios objective-c clang

构建IOS项目时出现一些错误和警告

ld: warning: directory not found for option '-L/Users/parikshitpatel/Documents/IphoneDevelopment/FH/funkiorangemobile_iphonehealthadviceapp/Social'
ld: warning: directory not found for option '-LMedia/Twitter/Twitter'
ld: warning: directory not found for option '-LLibrary/Libraries'
ld: warning: directory not found for option '-L/Users/parikshitpatel/Documents/IphoneDevelopment/FH/funkiorangemobile_iphonehealthadviceapp0/Social'
ld: warning: directory not found for option '-L&'
ld: warning: directory not found for option '-LHeaders'
ld: warning: directory not found for option '-LMedia/Twitter'
ld: library not found for -lOAuth
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我没有如何解决此错误,可以帮上什么忙吗?

最佳答案

看来您的媒体库路径不正确。
尝试转到:目标-构建阶段-将二进制文件与库链接
并添加您的 Twitter库/框架

关于ios - 链接器命令失败,退出代码为1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27817833/

相关文章:

python - NSPipe - 如何将返回的数据转换为 NSArray

c++ - 用于 gcc 或 clang 的 LTO 是否可以跨 C 和 C++ 方法进行优化

ios - 为 UINavigationBar 的标题设置一个导航按钮

iOS 错误代码=-1003 “A server with the specified hostname could not be found.”

iphone - 旋转时 UIBezierPath containsPoint 的问题

c++ - 如何使用 clang 从 TagDecl 获取结构成员

Clang 优化级别

iphone - Objective C 中的二维数组

ios - 在 WKWebView 中禁用放大手势

ios - MPMoviePlayerViewController 不播放