简体   繁体   English

clang:错误:归档时链接器命令失败,退出代码为1

[英]clang: error: linker command failed with exit code 1 when archiving

I am receiving an error when trying to archive my app - The simulator and iPhone work fine running the project. 尝试存档我的应​​用程序时出现错误-模拟器和iPhone在运行项目时工作正常。

ld: framework not found Pods_NameofAPP
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have seen on other stack overflow posts to disable BitCode. 我在其他堆栈溢出文章中看到禁用BitCode。 That had no effect. 那没有效果。 Other questions suggest I should add Pods_SharkMate as a linked framework however I does not show as an option. 其他问题建议我应该将Pods_SharkMate添加为链接框架,但是没有显示为选项。 Any ideas? 有任何想法吗?

从框架中删除pod_NameOFApp为我解决了它

Click on your project in the Project Navigator . 项目浏览器中单击您的项目 Make sure you are on Target , and go to where it shows your Developer Team . 确保您在Target上 ,并转到显示开发人员团队的位置 Click Add Account , or re-type password. 点击添加帐户 ,或重新输入密码。 This should work. 这应该工作。

Any problems/changes/simplification needed, just message me. 需要任何问题/变更/简化,只给我发消息。

Try this simple steps - 试试这个简单的步骤-

  1. Press shift + alt + cmd + k . shift + alt + cmd + k (to clean your project) (清理您的项目)
  2. Then press cmd + shift + B (to build your project) 然后按cmd + shift + B (构建您的项目)

This will remove the error from your project. 这将从您的项目中删除该错误。 If needed try the step one more than one time. 如果需要,请尝试step one以上的step one Hope this will solve your problem. 希望这能解决您的问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 链接器命令失败,退出代码1 clang:错误 - linker command failed with exit code 1 clang:error 铛:错误:链接器命令失败,退出代码为1,Xcode链接器错误 - clang: error: linker command failed with exit code 1, Xcode Linker Error 铛:错误:链接器命令失败,退出代码为1 [Jenkins] - clang: error: linker command failed with exit code 1 [ Jenkins ] 铛:错误:链接器命令失败,退出代码1仅在设备上出现 - clang: error: linker command failed with exit code 1 coming only on device clang:错误:链接器命令失败,退出代码为1,react-native - clang: error: linker command failed with exit code 1, react-native Unity,Xcode和Clang:错误:链接器命令失败,退出代码为1 - Unity, Xcode and clang: error: linker command failed with exit code 1 铛:错误:链接器命令失败,退出代码为1 iOS9 - clang: error: linker command failed with exit code 1 iOS9 在.xcodeproj中构建时出错 - clang:错误:链接器命令失败,退出代码为1 - Getting error when building in .xcodeproj - clang: error: linker command failed with exit code 1 clang:错误:设置cocoapods环境时,链接器命令失败,退出代码为1(使用-v查看调用) - clang: error: linker command failed with exit code 1 (use -v to see invocation) when setting up cocoapods environment clang:错误:在xcode上进行单元测试时,链接器命令失败,退出代码为1(使用-v查看调用) - clang: error: linker command failed with exit code 1 (use -v to see invocation) when doing unit test on xcode
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM