Nativescript ios 构建失败并出现错误 65

标签 nativescript

我遇到了一个问题,突然我的 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/

相关文章:

ios - NativeScript:从 interop.reference 获取字符串

android - NativeScript ListView : Mobile 1 column/Tablet 2 columns

javascript - Nativescript 检测文本字段上的焦点变化 - 代码隐藏

Angular 2 - 错误 : Supplied parameters do not match any signature of call target

NativeScript:运行 TNS Doctor 时仍然收到 "Android SDK Is Not Installed Error"

javascript - 如何从 NativeScript 的日期选择器中获取日期

android - Nativescript tns 运行 android(应用程序未在设备上运行)

javascript - Nativescript 中的底部栏导航不起作用

google-maps-android-api-2 - 如何使用 "nativescript-google-maps-sdk"获取谷歌地图中的当前位置?

angular - Nativescript gradle 构建失败,错误为 "resource xml/network_security_config not found"