简体   繁体   English

缺少捆绑包标识符。 x 没有包标识符。 在构建设置编辑器中为 PRODUCT_BUNDLE_IDENTIFIER 添加一个值

[英]Bundle identifier is missing. x doesn't have a bundle identifier. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor

I'm trying to build a release version for IOS using Codename One but it keeps failing because of the product_bundle_identifier missing.我正在尝试使用代号一为 IOS 构建发布版本,但由于缺少 product_bundle_identifier,它一直失败。 I've deleted the.codenameone/iosCerts folder as per this Reddit thread but I still get the error.我已经按照这个 Reddit 线程删除了 .codenameone/iosCerts 文件夹,但我仍然收到错误消息。
The certificates look like they're generating okay but I have no way to find out.证书看起来生成正常,但我无法查明。
I was able to build a version a week or so ago but I had to bump the version number after trying to upload my release in the App Store.我能够在大约一周前构建一个版本,但在尝试将我的版本上传到 App Store 后我不得不修改版本号。 It broke after that for some reason之后因为某种原因坏了

Due to Shai's comments I went ahead and started from scratch using the Initializr.由于 Shai 的评论,我继续使用 Initializr 从头开始。 Once I imported my codenameone_settings.properties I started receiving the same error again.一旦我导入了我的codenameone_settings.properties ,我又开始收到同样的错误。 With some trial and error I figured out the codename1.arg.ios.plistInject I had somehow caused the issue.经过一些尝试和错误,我发现了codename1.arg.ios.plistInject我不知何故导致了这个问题。 The app builds and works fine without that line being in there.该应用程序可以在没有该行的情况下构建并运行良好。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM