Search Unity

Unity 2019.3.0f6 - iOS Launch Crash "UnityFramework.framework" not found

Discussion in 'iOS and tvOS' started by Spectra_7, Feb 28, 2020.

  1. Spectra_7

    Spectra_7

    Joined:
    Oct 17, 2017
    Posts:
    25
    I get no errors when building the project from xCode.

    But the game crashes at launch leaving this much message:

    Code (CSharp):
    1. 2020-02-28 18:49:21.622768+0530 shredder[1257:304303] Error loading /var/containers/Bundle/Application/728E4B97-C4EF-45CE-AF95-FB3C751D5EAC/shredder.app/Frameworks/UnityFramework.framework/UnityFramework:  dlopen(/var/containers/Bundle/Application/728E4B97-C4EF-45CE-AF95-FB3C751D5EAC/shredder.app/Frameworks/UnityFramework.framework/UnityFramework, 265): Library not loaded: @rpath/libswiftCore.dylib
    2.  
    3.   Referenced from: /var/containers/Bundle/Application/728E4B97-C4EF-45CE-AF95-FB3C751D5EAC/shredder.app/Frameworks/UnityFramework.framework/UnityFramework
    4.  
    5.   Reason: image not found
    "UnityFramework.framework" is added in the "Embed Frameworks" list of xCode. I never had such issues in previous version. All this started to happen after I upgraded to Unity 2019.3.0f6 version.
     
  2. HWDKoblenz

    HWDKoblenz

    Joined:
    Apr 3, 2017
    Posts:
    19
    Hi, are you using a personal Apple developer Account and your iOS 13.3.1?
     
  3. Spectra_7

    Spectra_7

    Joined:
    Oct 17, 2017
    Posts:
    25
    Yes, I am using Developer Account, but iOS is 12.1
     
  4. HWDKoblenz

    HWDKoblenz

    Joined:
    Apr 3, 2017
    Posts:
    19
    Ah okay this is weird. I only know this problem using iOS 13.3.1. There is a problem to run an app with a personal developer account, because there is an problem with using the dynamic unity framework. I sometimes also get some strange errors in Xcode. All I do is closing Unity and Xcode, delete the build folder, start unity again and start a new build. It helps in most cases :-D.
     
    leni8ec and torsigurdson like this.
  5. Spectra_7

    Spectra_7

    Joined:
    Oct 17, 2017
    Posts:
    25
    So... any solution found?
     
  6. FranFndz

    FranFndz

    Joined:
    Sep 20, 2018
    Posts:
    178
    wanna know too
     
  7. michaelhill

    michaelhill

    Joined:
    Nov 4, 2015
    Posts:
    10
    I am also struggling with this problem. I'm on iOS 13.3.1, Unity 2019.3.5.f1, macOS 10.15.3, and Xcode 11.3.1 using a paid developer accounts for both Apple and Unity.
     
    mirovalent likes this.
  8. FranFndz

    FranFndz

    Joined:
    Sep 20, 2018
    Posts:
    178
    i gave up
     
  9. liamhaliday

    liamhaliday

    Joined:
    Aug 21, 2018
    Posts:
    1
    marius_87 likes this.
  10. qmpaden

    qmpaden

    Joined:
    Feb 2, 2019
    Posts:
    9
    IOS build not working with almost all Unity versions now due to Apple's new launch screen restriction and sudden depreciation of all previous app Splash screens is really really really bad for mobile developers, like insanely incredibly bad.

    I really hope for a fast fix from Unity, as of today due to this new set of Apple launchscreen requirements you can't build on IOS anymore quickly like before in Unity without digging deep into XCODE after every single build to manually create, specifically link, and compile bundle assets and a launchscreen.storyboard asset.

    For Mobile developers like me who are new to XCODE, but not new to Unity, this is a terrifying and scary time.

    This error happens to me as well. I cannot build in 2019.4 LTS below due to Launchscreen.storyboard errors and with all 2020 versions my builds fail due to unity framwork error with the new metal implementation on older 2018 mac machines.

    Due to Apple splashscreen depriciation unity ios builds 2019.4 and other versions now do not work. Right now all Unity Developers cannot submit updates in IOS due to Apple's strict new Launchscreen.storyboard requirements for all apps destroying Unitys previous ios build system.

    At the moment unity does not build ios apps with launch screens by default even when going into Player Settings and adding the custom storyboard into your assets with storyboard images in streamingassets folder with post build scripts, instead the build crashes on launch with SplashScreen.mm giving errors and builds structure keeps defaulting to linking depreciated SpashScreen.mm unity ios launch logo implementation and not new xcode custom Launchscreen.storyboard in 2019.4 LTS and below.
     
  11. martingonzalezetermax

    martingonzalezetermax

    Joined:
    Dec 11, 2017
    Posts:
    24
    2019.4.2 still happening.

    But if I build a new project iOS works. :/
     
    Last edited: Jul 4, 2020
  12. martingonzalezetermax

    martingonzalezetermax

    Joined:
    Dec 11, 2017
    Posts:
    24
  13. martingonzalezetermax

    martingonzalezetermax

    Joined:
    Dec 11, 2017
    Posts:
    24
    * I've tried exporting an Adhoc version of the app and it crashes.
    * I revoked certificates and try creating them again and it crashes.
    * I've exported the .ipa and see it content and UnityFramework seems to be there.

    Any Unity staff that can guide us?


    upload_2020-7-5_21-45-39.png
     
  14. BitbotUG

    BitbotUG

    Joined:
    Nov 9, 2019
    Posts:
    2
    HI, I had the same issue with 2019.3.2 and after creating a new project and importing all my stuff in 2019.4.2f it stays the same. My error message is slightly different: "Error loading ... /io.app/UnityFramework.framework/UnityFramework ...". I am using Xcode 11.4.

    Do you have any extensions installed ? Maybe there is an issue. I am using Appodeal, Remote Config, Lightweight RP and some 2D stuff.

    ***Android build is successfull (f*** ios)
     
  15. BitbotUG

    BitbotUG

    Joined:
    Nov 9, 2019
    Posts:
    2
    The great Appodeal support helped me with this solution:

    I had to embed the required frameworks (under Pods -> Products) in my target (Target -> BuildPhases -> Embed Frameworks).
     

    Attached Files:

  16. Lejv

    Lejv

    Joined:
    Nov 19, 2014
    Posts:
    7
    Hi, I still have this issue - has someone found a fix please?
     
  17. s1m0n1stv4n

    s1m0n1stv4n

    Joined:
    Sep 14, 2012
    Posts:
    15
  18. rudranshjio123

    rudranshjio123

    Joined:
    Jul 29, 2020
    Posts:
    1
    error.PNG
    please help me with this
     
  19. Lejv

    Lejv

    Joined:
    Nov 19, 2014
    Posts:
    7
  20. MaximPP

    MaximPP

    Joined:
    Jan 26, 2019
    Posts:
    43
    Hi! I have the same issue. Adding the "EMBEDDED_CONTENT_CONTAINS_SWIFT" flag to xCode does help, but how do I add it via Unity? This problem started after updating the FB sdk.
     
  21. MaximPP

    MaximPP

    Joined:
    Jan 26, 2019
    Posts:
    43
  22. triplume

    triplume

    Joined:
    Aug 12, 2020
    Posts:
    1
    This answer worked for me.

    Thank you.
     
unityunity