Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

UnityCloudBuild IOS invalid bitcode

Discussion in 'iOS and tvOS' started by febriluhramadhan, Dec 8, 2020.

  1. febriluhramadhan

    febriluhramadhan

    Joined:
    Nov 27, 2018
    Posts:
    1
    Hi...
    I got this error when build ios on unity cloud build

    I use version 2019.3.10f1
    FB SDK 8.1.0
    XCode 11.4.1

    no clue what the cause is. work fine before.

    ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1200.0.32.2.0_0' Reader: '1103.0.32.59_0')', using libLTO version 'LLVM version 11.0.3, (clang-1103.0.32.59)' for architecture arm64
     
    Last edited: Dec 8, 2020
  2. DEV_MAGESStudio

    DEV_MAGESStudio

    Joined:
    Aug 12, 2019
    Posts:
    1
    We are facing the same issue, it seems that the selected XCode version might be too old... we aren't the only ones with this issue.

    169: ▸ ❌; ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1200.0.32.2.0_0' Reader: '1103.0.32.59_0')', using libLTO version 'LLVM version 11.0.3, (clang-1103.0.32.59)' for architecture arm64
    170: ▸ ❌; clang: error: linker command failed with exit code 1 (use -v to see invocation)
    ...
    11772: ▸ ** ARCHIVE FAILED **
    11773: ▸ The following build commands failed:
    11774: ▸ Ld /BUILD_PATH/Library/Developer/Xcode/DerivedData/Unity-iPhone-{redacted}/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/UnityFramework.framework/UnityFramework normal arm64
    11775: ▸ (1 failure)
    ...
    12339: ** ARCHIVE FAILED **
    12340: The following build commands failed:
    12341: Ld /BUILD_PATH/Library/Developer/Xcode/DerivedData/Unity-iPhone-{redacted}/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/UnityFramework.framework/UnityFramework normal arm64
    12342: (1 failure)
    12343: Exit status: 65
    12344: Maybe the error shown is caused by using the wrong version of Xcode
    12345: Found multiple versions of Xcode in '/APPLICATION_PATH/'
    12346: Make sure you selected the right version for your project
    12347: This build process was executed using '/APPLICATION_PATH/Xcode11_4_1.app'
    We are testing on Vuforia 9.6.3.
    Cloud Build version: Unity 2019.4.16f1.
    Cloud Build Xcode version: 11.4.1 (latest as of writing)
     
    Last edited: Dec 10, 2020