[英]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 - 试试这个简单的步骤-
shift + alt + cmd + k
. 按shift + alt + cmd + k
。 (to clean your project) (清理您的项目) 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.