【问题标题】:XCBuild shows error while calling fastlane gymXCBuild 在调用 fastlane 健身房时显示错误
【发布时间】:2021-08-09 14:12:57
【问题描述】:

我有一个包含多个目标的应用程序,并尝试配置 fastlane 的健身房。此外,我们在应用程序中使用了相当广泛的编译器标志。

我收到此错误FIXME: Implement XCBuild support for macros in overriding parameters with condition sets: DEVELOPMENT_TEAM[config=Release] = ***

gym执行此xcodebuild命令后出现错误: set -o pipefail && xcodebuild -workspace Workspace.xcworkspace -scheme Scheme -xcconfig Config.xcconfig -sdk 'iphoneos14.5' -destination 'generic/platform=iOS' -archivePath archivePath.xcarchive archive | tee Myapp.log | xcpretty

应用程序是原生的,没有 Ionic 或 ReactNative 或任何类似的东西。

你知道它来自哪里吗?或者我该如何解决?

感谢您的帮助。

【问题讨论】:

  • Config.xcconfig 中有条件集吗?
  • @Cy-4AH 有一个像这样的签名CODE_SIGN_IDENTITY[config=Release] = iPhone Distribution 并且它为每个配置重复(发布,登台,...)
  • 我认为你不需要那里的条件,只需设置CODE_SIGN_IDENTITY=iPhone Distribution

标签: ios swift xcodebuild fastlane-gym


【解决方案1】:

对于遇到此问题的任何人,我在blog 中找到了解决方案。引自博文:

例子:

CURRENT_PROJECT_VERSION_app = 15.3.9 // Application version number
CURRENT_PROJECT_VERSION_xctest = 1.0.0 // Unit Test version number

CURRENT_PROJECT_VERSION = $(CURRENT_PROJECT_VERSION_$(WRAPPER_EXTENSION))

在我的情况下,WRAPPER_EXTENSION 将是 CONFIGURATION 变量。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-02-09
    • 2019-03-14
    • 1970-01-01
    • 2019-02-05
    • 2021-05-05
    • 2019-10-16
    • 1970-01-01
    相关资源
    最近更新 更多