xcode ios发布失败

时间:2016-07-01 17:56:15

标签: ios xcode nativescript

我已经设置了CFBundleShortVersionString& App_Resources / iOS / info.plist中的CFBundleVersion为

<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleVersion</key>
<string>1.0.0.0</string>

使用nativescript:

tns-ios:2.1.0 tns --version:2.1.0

这是tns发布ios输出:

ERROR ITMS-90057: "The bundle 'Payload/<XYZ>.app/Frameworks/NativeScript.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString."
ERROR ITMS-90057: "The bundle 'Payload/<XYZ>.app/Frameworks/NativeScript.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString."

由于某种原因,它没有找到提到的密钥。有任何想法吗? 感谢

更新

Xcode 中打开平台/ ios / Internal / NativeScript.framework / Info.plist。

更改包版本:2.1.0 添加包版本字符串,简称:2.1

1 个答案:

答案 0 :(得分:2)

这是NativeScript v2.1中的已知错误;你实际上需要修改

  

/platforms/ios/Internal/NativeScript.framework/Info.plist

带有这两个键的文件。

请参阅:https://github.com/NativeScript/NativeScript/issues/2397