Linker command failed with exit code 1 (use -v to see invocation)
2020-03-06 15:31
1316 查看
报错信息:Linker command failed with exit code 1 (use -v to see invocation)
今天用Cornerstone更新了一个新的XCode工程下来,发现编译错误,如下
简单翻译一下:“链接器命令失败,退出代码1(使用-v查看调用)”
这个时候,看一下引用的第三库是否正常
果然有问题,libcrypto.a和libssl.a两个文件标示红色,存在引用但没有文件。
造成这一问题的原因是使用Cornerstone上传XCode工程的时候,.a文件被默认忽略,正确的操作方式如下:
Cornerstone菜单栏【view】==>【Show Ignored Items】,显示忽略的项,再把忽略的.a文件提交上去。
至此,【问题解决】
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- linker command failed with exit code 1 (use -v to see invocation)
- error: linker command failed with exit code 1 (use -v to see invocation 错误处理
- 出现:clang: error: linker command failed with exit code 1 (use -v to see invocation),解决方法
- linker command failed with exit code 1 (use -v to see invocation)
- iOS linker command failed with exit code 1 (use -v to see invocation)
- error: linker command failed with exit code 1 (use -v to see invocation)错误解决方法
- linker command failed with exit code 1 (use -v to see invocation)
- Linker command failed with exit code 1(use -v to see invocation)
- Exception for IOS 1-linker command failed with exit code 1 (use -v to see invocation)
- iOS 添加第三方库后 报clang: error: linker command failed with exit code 1 (use -v to see invocation)
- Xcode提示linker command failed with exit code 1 (use -v to see invocation)解决方法
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- linker command failed with exit code 1 (use -v to see invocation)
- 添加第三方类库造成的linker command failed with exit code 1 (use -v to see invocation)的错误调试
- iOS开发之 error: linker command failed with exit code 1 (use -v to see invocation)
- OC笔记-学习self时候2个target然后修改名字出现linker command failed with exit code 1 (use -v to see invocation)
- linker command failed with exit code 1 (use -v to see invocation)
- Xcode报编译器报错: linker command failed with exit code 1(use -v to see invocation)
- (转) error: linker command failed with exit code 1 (use -v to see invocation)
- clang: error: linker command failed with exit code 1 (use -v to see invocation)