【问题标题】:Cordova overwrites bundle identifier after changing itCordova 在更改包标识符后覆盖它
【发布时间】:2014-01-29 22:18:22
【问题描述】:

我正在使用 cordova 开发 IOS 应用程序,问题是我使用错误的包标识符创建了项目。

更改后,如果我执行:cordova build 捆绑标识符将被覆盖为原始标识符,即我不想要的标识符。

我尝试更改 .cordova/config.json 中的 id,但是问题仍然存在。

【问题讨论】:

    标签: ios cordova bundle-identifier


    【解决方案1】:

    你应该可以设置你的包标识符

    <widget id="my.bundle.identifier" version="0.6" ...
    

    在文件www/config.xml中。

    【讨论】:

    • 从config.xml生成iOS项目是否正确?我对科尔多瓦很陌生。如果我更改小部件 ID,它会有任何副作用吗?我所做的是更改了 config.xml 中的小部件 ID 和 iOS 项目中的产品包名称。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-07-29
    • 2018-10-26
    • 2015-12-28
    • 2015-08-06
    • 2015-08-05
    相关资源
    最近更新 更多