【问题标题】:Xcode 8 PRODUCT_BUNDLE_IDENTIFIERXcode 8 PRODUCT_BUNDLE_IDENTIFIER
【发布时间】:2017-01-12 10:42:54
【问题描述】:

尝试在手机上构建/测试应用时出现以下错误

Showing Recent Issues Bundle identifier is missing. QRCodeReader doesn't have a bundle identifier for the Debug build configuration. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor.

如何更改此设置以让应用正常运行。 我从 appcoda here 上的教程中获得了该应用程序,我正在尝试构建一个超级简单的条形码扫描仪。我在初学者级别的 xcode/swift。 我使用构建文件将其转换为 swift 3,并且在模拟它时,它可以工作。但是在我的手机上模拟它时却没有。

我可以添加自己的 bundle_identifier 吗?在哪里注册?

我正在开发 osx Sierra,Xcode 8

【问题讨论】:

    标签: swift3 xcode8


    【解决方案1】:

    只需转到 Target -> Build Settings -> Product Bundle Identifier -> Expand it -> Debug -> 将与 Release 相同的 bundle id 放在这里。

    【讨论】:

    • 教程中 com.gabrieltheodoropoulos.${PRODUCT_NAME:rfc1034identifier} 的原始制造商在里面,我要改成什么?
    • 你应该放任何你想要的东西。典型的捆绑包 ID 类似于 com..,即:com.Facebook.facebookApp。唯一重要的想法是,它应该与 itunesconnect 中定义的相同,以防您想将其上传到应用商店。但如果你说已经有一些价值,那么问题就出在不同的地方。
    • 我认为这个链接会对你有所帮助:stackoverflow.com/questions/32862253/…
    • 从我目前看到的情况来看,这与没有开发者个人帐户有关吗?
    猜你喜欢
    • 2019-06-27
    • 1970-01-01
    • 1970-01-01
    • 2018-01-01
    • 2017-01-27
    • 1970-01-01
    • 2011-08-07
    • 2017-01-22
    • 2016-10-20
    相关资源
    最近更新 更多