链接器命令失败,退出代码1
我在构buildIOS项目时遇到了一些错误和警告
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)
我没有得到如何解决这个错误可以帮助一些?
它看起来像你的库path不正确。
尝试去: 目标 – build立阶段 – 链接二进制与图书馆
并添加你的Twitter库/框架
在你的文件夹path中,它们之间有空格。 例如:
/Users/parikshitpatel/Documents/IphoneDevelopment/FH/funkiorangemobile_iphonehealthadviceapp/Social Media
在你的图书馆依赖关系中写入Social\ Media
。
为其他图书馆做同样的事情。
- 当hidesBottomBarWhenPushed仅在iOS7上设置为YES时,UITabBarController子视图消失
- 使用UITableView作为子视图添加自定义的UIViewController