iOS Simulator build throws "lib_burst_generated.a' was built for iOS" error

Hello everyone,

I’m currently trying to run my app on an iOS Simulator to debug an issue for iPad.

The error I’m getting in XCode (Version 12.3 (12C33)) is Building for iOS Simulator, but the linked library 'lib_burst_generated.a' was built for iOS.

6666910--762871--upload_2020-12-28_18-31-15.png

I’m using Burst 1.3.9 and Unity 2020.1.17f1. Full package.json:

{
  "dependencies": {
    "com.e7.notch-solution": "git://github.com/5argon/NotchSolution.git",
    "com.google.external-dependency-manager": "1.2.163",
    "com.google.firebase.analytics": "7.0.2",
    "com.google.firebase.auth": "7.0.2",
    "com.google.firebase.crashlytics": "7.0.2",
    "com.google.firebase.installations": "7.0.2",
    "com.google.firebase.messaging": "7.0.2",
    "com.google.firebase.remote-config": "7.0.2",
    "com.unity.2d.sprite": "1.0.0",
    "com.unity.addressables": "1.16.15",
    "com.unity.analytics": "3.5.3",
    "com.unity.animation": "0.8.0-preview.4",
    "com.unity.burst": "1.3.9",
    "com.unity.device-simulator": "2.2.3-preview",
    "com.unity.dots.editor": "0.11.0-preview.3",
    "com.unity.entities": "0.16.0-preview.21",
    "com.unity.ide.rider": "3.0.3",
    "com.unity.inputsystem": "1.0.1",
    "com.unity.localization": "0.9.0-preview",
    "com.unity.mobile.notifications": "1.3.2",
    "com.unity.nuget.newtonsoft-json": "2.0.0",
    "com.unity.performance.profile-analyzer": "1.0.3",
    "com.unity.platforms.android": "0.9.0-preview.9",
    "com.unity.platforms.ios": "0.9.0-preview.9",
    "com.unity.platforms.macos": "0.9.0-preview.9",
    "com.unity.polybrush": "1.0.2",
    "com.unity.probuilder": "4.4.0",
    "com.unity.progrids": "3.0.3-preview.6",
    "com.unity.properties": "1.3.0-preview",
    "com.unity.properties.ui": "1.6.0-preview",
    "com.unity.purchasing": "2.2.1",
    "com.unity.purchasing.udp": "2.1.4",
    "com.unity.quicksearch": "2.0.2",
    "com.unity.render-pipelines.universal": "9.0.0-preview.72",
    "com.unity.rendering.hybrid": "0.10.0-preview.21",
    "com.unity.serialization": "1.6.1-preview",
    "com.unity.test-framework": "1.1.19",
    "com.unity.test-framework.performance": "2.2.0-preview",
    "com.unity.timeline": "1.3.6",
    "com.unity.ugui": "1.0.0",
    "com.unity.uiextensions": "2.2.2",
    "com.unity.modules.ai": "1.0.0",
    "com.unity.modules.androidjni": "1.0.0",
    "com.unity.modules.animation": "1.0.0",
    "com.unity.modules.assetbundle": "1.0.0",
    "com.unity.modules.audio": "1.0.0",
    "com.unity.modules.cloth": "1.0.0",
    "com.unity.modules.director": "1.0.0",
    "com.unity.modules.imageconversion": "1.0.0",
    "com.unity.modules.imgui": "1.0.0",
    "com.unity.modules.jsonserialize": "1.0.0",
    "com.unity.modules.particlesystem": "1.0.0",
    "com.unity.modules.physics": "1.0.0",
    "com.unity.modules.physics2d": "1.0.0",
    "com.unity.modules.screencapture": "1.0.0",
    "com.unity.modules.terrain": "1.0.0",
    "com.unity.modules.terrainphysics": "1.0.0",
    "com.unity.modules.tilemap": "1.0.0",
    "com.unity.modules.ui": "1.0.0",
    "com.unity.modules.uielements": "1.0.0",
    "com.unity.modules.umbra": "1.0.0",
    "com.unity.modules.unityanalytics": "1.0.0",
    "com.unity.modules.unitywebrequest": "1.0.0",
    "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    "com.unity.modules.unitywebrequestaudio": "1.0.0",
    "com.unity.modules.unitywebrequesttexture": "1.0.0",
    "com.unity.modules.unitywebrequestwww": "1.0.0",
    "com.unity.modules.vehicles": "1.0.0",
    "com.unity.modules.video": "1.0.0",
    "com.unity.modules.vr": "1.0.0",
    "com.unity.modules.wind": "1.0.0",
    "com.unity.modules.xr": "1.0.0"
  },
  "scopedRegistries": [
    {
      "name": "Game Package Registry by Google",
      "url": "https://unityregistry-pa.googleapis.com",
      "scopes": [
        "com.google"
      ]
    },
    {
      "name": "npmjs",
      "url": "https://registry.npmjs.org/",
      "scopes": [
        "com.unity.uiextensions"
      ]
    }
  ]
}

Anything I’m missing? My vague memory is that this used to work without issues a couple months ago :face_with_spiral_eyes:

Thanks,
Nico

6666910--762871--upload_2020-12-28_18-31-15.png

1 Like

Hi @nicolasgramlich - we do know about this issue and we’re working on a fix. In the meantime the only (not great) workaround I can think of is to disable Burst while you’re building for the iOS simulator.

1 Like