【问题标题】:Bundle identifier is missing - macOS 10.12 and Xcode 8 - 5.5.0.GA缺少捆绑标识符 - macOS 10.12 和 Xcode 8 - 5.5.0.GA
【发布时间】:2017-02-01 08:25:38
【问题描述】:

我更新到 macOS 10.12 和 Xcode 8 并且无法构建到 App Store。除了 Xcode 8 和 macOS 更新之外,没有其他变化。我正在使用 SDK 5.5.0.GA。

--

[ERROR] :  Error details: Bundle identifier is missing. MySlomins doesn't have a bundle identifier for the Release build configuration. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor.
[ERROR] :  Error details: Code signing is required for product type 'Application' in SDK 'iOS 10.0'

  Name                        = Mac OS X
  Version                     = 10.12
  Architecture                = 64bit
  # CPUs                      = 8
  Memory                      = 17179869184
Node.js
  Node.js Version             = 0.12.7
  npm Version                 = 2.11.3
Titanium CLI
  CLI Version                 = 5.0.9
Titanium SDK
  SDK Version                 = 5.5.0.GA
  SDK Path                    = /Users/ktucc/Library/Application Support/Titanium/mobilesdk/osx/5.5.0.GA
  Target Platform             = iphone
Command

【问题讨论】:

    标签: titanium appcelerator titanium-mobile


    【解决方案1】:

    很多人在升级到 Xcode 8 (TIMOB-23518) 之前都遇到过这个问题,目前解决方案基本相同:

    请确保您同时拥有Titanium SDK 5.5.1Appcelerator CLI 5.5.1(与5.5.0 相同,但修复了一些错误)或更高版本。还要确保选择的 SDK 是 5.5.1 并且 tiapp.xml<sdk-version>5.5.1.GA</sdk-version> 作为选择的 SDK 来构建。

    【讨论】:

    • 作为说明 - 我在 tiapp.xml 中指定了最新的 CLI 和最新的 SDK,但是直到我也运行 appc use latest
    • CLI 只能使用 CLI 本身来设置(参见上面的命令)。 tiapp.xml 仅管理 SDK 版本。很高兴它现在可以工作了!
    【解决方案2】:

    就我而言,我错过了输入标识符。

    为此,请转到项目设置 -> 常规 -> 身份 -> 捆绑标识符,键入您的标识符。它就像 com.example.projectname

    另外,您需要将您的配置文件重新导入 xcode。

    希望对你有帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-03-23
      • 1970-01-01
      • 2012-04-10
      相关资源
      最近更新 更多