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

Bug XCode build fails

Discussion in 'iOS and tvOS' started by heiwa-games, Aug 22, 2023.

  1. heiwa-games

    heiwa-games

    Joined:
    Apr 8, 2018
    Posts:
    8
    I trying to build a project using Unity 2023.1.9f1 and XCode 14.2. The build itself in Unity completes without errors or warnings. When the build processes reaches XCode "clean succeded" appears an then the build fails with the message:


    '/Users/stefan/Library/Developer/Xcode/DerivedData/Unity-iPhone-cyzaufdkmcilnoajjfzrzcvdbhky/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/Protobuf/Protobuf.framework/Protobuf' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '/Users/stefan/Library/Developer/Xcode/DerivedData/Unity-iPhone-cyzaufdkmcilnoajjfzrzcvdbhky/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/Protobuf/Protobuf.framework/Protobuf' for architecture arm64


    Does anyone know what the cause for this could be?

    Best,
    Stefan
     
    Last edited: Aug 22, 2023
  2. Evaldas_Unity

    Evaldas_Unity

    Unity Technologies

    Joined:
    Jun 23, 2016
    Posts:
    69