Skip to content

Fatal error: Duplicate values for key: 'PINFoundation': #227

@jerrymarino

Description

@jerrymarino

I get the following error when running with certain focus configurations:

ERROR: /Users/jerrymarino/Projects/ios-review/BUILD.bazel:16:1: Couldn't build file Focus.xcodeproj: error executing shell command: '/bin/bash -c set -e; tools/xchammer.app/Contents/MacOS/xchammer generate_v2 bazel-out/ios_x86_64-dbg/bin/FocusXcode_impl_xchammer_config.json --workspace_root $PWD --bazel \$SRCROOT/tools/bazelwrap...' failed (Illegal instruction): bash failed: error executing command
  (cd /private/var/tmp/_bazel_jerrymarino/dab264afbccc7ab80d8809aaba91b923/execroot/__main__ && \
  exec env - \
  /bin/bash -c 'set -e; tools/xchammer.app/Contents/MacOS/xchammer generate_v2 bazel-out/ios_x86_64-dbg/bin/FocusXcode_impl_xchammer_config.json --workspace_root $PWD --bazel \$SRCROOT/tools/bazelwrapper --xcode_project_rule_info bazel-out/ios_x86_64-dbg/bin/FocusXcode_impl_xchammer_info.json ; ditto Focus.xcodeproj bazel-out/ios_x86_64-dbg/bin/Focus.xcodeproj')
Execution platform: @bazel_tools//platforms:host_platform
Fatal error: Duplicate values for key: 'XXX': file /Library/Caches/com.apple.xbs/Binaries/SwiftPrebuiltSDKModules_macOS/install/TempContent/Objects/EmbeddedProjects/CrossTrain_macOS_SDK/macOS_SDK/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface, line 18373
/bin/bash: line 1: 61461 Illegal instruction: 4  tools/xchammer.app/Contents/MacOS/xchammer generate_v2 bazel-out/ios_x86_64-dbg/bin/FocusXcode_impl_xchammer_config.json --workspace_root $PWD --bazel \$SRCROOT/tools/bazelwrapper --xcode_project_rule_info bazel-out/ios_x86_64-dbg/bin/FocusXcode_impl_xchammer_info.json
Target //:FocusXcode failed to build
Build artifacts:
>>>/private/var/tmp/_bazel_jerrymarino/dab264afbccc7ab80d8809aaba91b923/execroot/__main__/bazel-out/ios_x86_64-dbg/bin/FocusXcode.dummy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions