【问题标题】:Building is okay with my Xcode but Fastlane is not我的 Xcode 可以构建,但 Fastlane 不行
【发布时间】:2021-08-15 09:27:54
【问题描述】:

我的项目中有一些 pod,它正在工作,但是当我使用 fastlane 运行简单测试时,我在终端出现以下错误:

[12:05:55]: ▸ ** BUILD FAILED **
[12:05:55]: ▸ 2021-08-15 12:05:55.057 xcodebuild[3300:92876] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-18212/IDEFoundation/Testing/IDETestRunSpecificationBuilder.m:678
[12:05:55]: ▸ Details:  Failed to compute path to baseline file during test run spec construction: <XCTHTestRunSpecification: 0x7fb08dc372d0>
[12:05:55]: ▸ Object:   <IDETestRunSpecificationBuilder>
[12:05:55]: ▸ Method:   +testRunSpecificationsForTestingSpecifiers:scheme:buildables:withBuildParameters:additionalEnvironmentVariables:additionalCommandLineArguments:testRerunPolicy:includeClangProfileParameters:shouldDebugAppExtensions:error:
[12:05:55]: ▸ Thread:   <NSThread: 0x7fb0cdc1a600>{number = 1, name = main}
[12:05:55]: ▸ Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
[12:05:55]: ▸ 2021-08-15 12:05:55.058 xcodebuild[3300:92876] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-18212/IDEFoundation/Testing/IDETestRunSpecificationBuilder.m:678
[12:05:55]: ▸ Details:  Failed to compute path to baseline file during test run spec construction: <XCTHTestRunSpecification: 0x7fb08dc411a0>
[12:05:55]: ▸ Object:   <IDETestRunSpecificationBuilder>
[12:05:55]: ▸ Method:   +testRunSpecificationsForTestingSpecifiers:scheme:buildables:withBuildParameters:additionalEnvironmentVariables:additionalCommandLineArguments:testRerunPolicy:includeClangProfileParameters:shouldDebugAppExtensions:error:
[12:05:55]: ▸ Thread:   <NSThread: 0x7fb0cdc1a600>{number = 1, name = main}
[12:05:55]: ▸ Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
[12:05:55]: ▸ Testing failed:
[12:05:55]: ▸   The linked framework 'Pods_MyPayDemo.framework' is missing one or more architectures required by this target: x86_64.
[12:05:55]: ▸   The linked framework 'Pods_MyPayBitionDemo.framework' is missing one or more architectures required by this target: x86_64.
[12:05:55]: ▸   Testing cancelled because the build failed.
[12:05:55]: ▸ ** TEST FAILED **
** BUILD FAILED **

我该如何解决这个问题?

【问题讨论】:

    标签: ios swift fastlane


    【解决方案1】:

    删除派生数据解决了我的问题。

    【讨论】:

      猜你喜欢
      • 2020-05-23
      • 2011-07-18
      • 2011-11-29
      • 2022-10-14
      • 2011-12-09
      • 1970-01-01
      • 2020-07-26
      • 2019-02-11
      • 1970-01-01
      相关资源
      最近更新 更多