首页 > 解决方案 > 使用新的 Apple 构建系统 (xcbuild) 时缺少 productTypeIdentifier 错误

问题描述

我有一个使用旧版构建系统构建的 XCode 项目,但是当在 xcode11 下使用新的构建系统时,会立即失败并出现错误:

.. forcing incremental PIF cache clear after loading error: Required key 'productTypeIdentifier' is missing in StandardTarget dictionary
note: Using new build system
error: Build service could not start build operation: unknown error while handling message: MsgHandlingError(message: "no PIF transfer has been initiated")

我正在寻找任何可能有助于澄清这一点的信息。什么是“标准目标词典”?我可以直接添加缺少的密钥吗?或者这是其他设置的结果?那里有任何“PIF 转移”专家吗?

标签: xcode

解决方案


推荐阅读