Unity to Xcode iOS build error

Hey I’ve been trying to get my app built on iOS but I keep running into an issue:

dyld: Library not loaded: @rpath/UnityFramework.framework/UnityFramework

Referenced from: /private/var/containers/Bundle/Application/1D3614BF-C11A-482F-BA30-98D3EE42C612/Atom&Luna.app/Atom&Luna

Reason: no suitable image found. Did find:

/private/var/containers/Bundle/Application/1D3614BF-C11A-482F-BA30-98D3EE42C612/Atom&Luna.app/Frameworks/UnityFramework.framework/UnityFramework: code signature in (/private/var/containers/Bundle/Application/1D3614BF-C11A-482F-BA30-98D3EE42C612/Atom&Luna.app/Frameworks/UnityFramework.framework/UnityFramework) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.

/private/var/containers/Bundle/Application/1D3614BF-C11A-482F-BA30-98D3EE42C612/Atom&Luna.app/Frameworks/UnityFramework.framework/UnityFramework: stat() failed with errno=25

dyld: launch, loading dependent libraries

DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libMainThreadChecker.dylib:/usr/lib/libMTLCapture.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib

(lldb)

I’m not really sure what’s causing it, the app builds and works fine on android so it might be an issue with my Xcode settings but I’ve not used it before so it’s a bit confusing.

I’ve added UnityFrameworks to the embedded frameworks section in Xcode but it didn’t help.

Any help would be great, Thanks!

1 Like

Did you find a solution ? I have a similar problem