Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想通过终端命令在 .xcodeproj 的构建设置中禁用 Bitcode。我已经搜索了所有内容,但只找到了从终端构建或存档项目的命令。你能给我一个例子,这个命令是什么样子的吗?
谢谢
您可以使用以下命令列出项目构建设置的所有键和值
xcodebuild -showBuildSettings
然后找到一个或多个要覆盖的键,例如 ENABLE_BITCODE。这些键可以作为参数包含在构建命令中,如下所示:
xcodebuild -target <your target> -configuration <your configuration> ENABLE_BITCODE=NO