我遇到了一个问题,突然我的 ios 构建将不再构建。这似乎是凭空发生的。
我收到此错误,并且无论我尝试什么似乎都无法摆脱它。
[19-01-15 10:57:43.888] 构建失败。命令 xcodebuild 失败,退出代码 65 错误输出: ** 存档失败 **
我尝试过 tns 平台删除 ios
我已经更新了我的插件。
在失败之前我还会收到这些 cli 警告:
(CLI) 1) Target 'class2tns' has copy command from ...
和
(CLI) warning: duplicate output file
对于多个文件。
我的 Android 版本构建正常。
最佳答案
我在 Xcode (65) 中具有相同的退出代码以及重复输出文件的警告。
经过长时间的研究,需要执行以下步骤,因为 native 脚本 npm 包的更新。
rm -Rf platform/ios
rm -Rf node_modules
rm package-lock.json
pod repo update # important to execute this command in the project dir
tns build ios
关于Nativescript ios 构建失败并出现错误 65,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54202567/