6.5 C
New York
Thursday, December 19, 2024

ios – XCFramework – dyld[]: Library not loaded


I’ve created a xcframework, that use one other xcframework. Each are incorporates ios-arm64 and ios-x86_64-simulator.

The script used is from right here.

When added xcframework to xcframework – I mark it with Embed & Signal – identical, when added closing framework to the mission.

For Simulator every little thing works simply superb, however for actual system I received error Library not loaded:

dyld[15130]: Library not loaded: @rpath/NestedMobileSDK.framework/NestedMobileSDK
  Referenced from: <77F81D34-B7B1-3261-B746-29D3EEF9353C> /personal/var/containers/Bundle/Software/3D9CA89D-DDB3-4563-A43E-7003AEE29AB5/SampleApp.app/Frameworks/MyMobileSDK.framework/MyMobileSDK

  Purpose: tried: '/Customers/khb/Library/Developer/Xcode/DerivedData/MyMobileSDK-axgyphxdwdxsnxhlegfwknbnwmmr/Construct/Merchandise/Debug-iphoneos/PackageFrameworks/NestedMobileSDK.framework/NestedMobileSDK' (no such file),
'/personal/preboot/Cryptexes/OS/Customers/khb/Library/Developer/Xcode/DerivedData/MyMobileSDK-axgyphxdwdxsnxhlegfwknbnwmmr/Construct/Merchandise/Debug-iphoneos/PackageFrameworks/NestedMobileSDK.framework/NestedMobileSDK' (no such file), '/personal/var/containers/Bundle/Software/3D9CA89D-DDB3-4563-A43E-7003AEE29AB5/SampleApp.app/Frameworks/NestedMobileSDK.framework/NestedMobileSDK' (no such file), '/personal/var/containers/Bundle/Software/3D9CA89D-DDB3-4563-A43E-7003AEE29AB5/SampleApp.app/Frameworks/MyMobileSDK.framework/Frameworks/NestedMobileSDK.framework/NestedMobileSDK' (code signature in  '/personal/var/containers/Bundle/Software/3D9CA89D-DDB3-4563-A43E-7003AEE29AB5/SampleApp.app/Frameworks/MyMobileSDK.framework/Frameworks/NestedMobileSDK.framework/NestedMobileSDK' not legitimate to be used in course of: mapped file has no cdhash, fully unsigned? Code must be not less than ad-hoc signed.), '/Customers/khb/Library/Developer/Xcode/DerivedData/MyMobileSDK-axgyphxdwdxsnxhlegfwknbnwmmr/Construct/Merchandise/Debug-iphoneos/PackageFrameworks/NestedMobileSDK.framework/NestedMobileSDK' (no such file), '/personal/preboot/Cryptexes/OS/Customers/khb/Library/Developer/Xcode/DerivedData/MyMobileSDK-axgyphxdwdxsnxhlegfwknbnwmmr/Construct/Merchandise/Debug-iphoneos/PackageFrameworks/NestedMobileSDK.framework/NestedMobileSDK' (no such file), '/personal/var/containers/Bundle/Software/3D9CA89D-DDB3-4563-A43E-7003AEE29AB5/SampleApp.app/Frameworks/NestedMobileSDK.framework/NestedMobileSDK' (no such file), '/personal/var/containers/Bundle/Software/3D9CA89D-DDB3-4563-A43E-7003AEE29AB5/SampleApp.app/NestedMobileSDK.framework/NestedMobileSDK' (no such file), '/Customers/khb/Library/Developer/Xcode/DerivedData/MyMobileSDK-axgyphxdwdxsnxhlegfwknbnwmmr/Construct/Merchandise/Debug-iphoneos/PackageFrameworks/NestedMobileSDK.framework/NestedMobileSDK' (no such file), '/personal/preboot/Cryptexes/OS/Customers/khb/Library/Developer/Xcode/DerivedData/MyMobileSDK-axgyphxdwdxsnxhlegfwknbnwmmr/Construct/Merchandise/Debug-iphoneos/PackageFrameworks/NestedMobileSDK.framework/NestedMobileSDK' (no such file), '/personal/var/containers/Bundle/Software/3D9CA89D-DDB3-4563-A43E-7003AEE29AB5/SampleApp.app/Frameworks/NestedMobileSDK.framework/NestedMobileSDK' (no such file), '/personal/var/containers/Bundle/Software/3D9CA89D-DDB3-4563-A43E-7003AEE29AB5/SampleApp.app/NestedMobileSDK.framework/NestedMobileSDK' (no such file), '/Customers/khb/Library/Developer/Xcode/DerivedData/MyMobileSDK-axgyphxdwdxsnxhlegfwknbnwmmr/Construct/Merchandise/Debug-iphoneos/PackageFrameworks/NestedMobileSDK.framework/NestedMobileSDK' (no such file), '/personal/preboot/Cryptexes/OS/Customers/khb/Library/Developer/Xcode/DerivedData/MyMobileSDK-axgyphxdwdxsnxhlegfwknbnwmmr/Construct/Merchandise/Debug-iphoneos/PackageFrameworks/NestedMobileSDK.framework/NestedMobileSDK' (no such file), '/personal/var/containers/Bundle/Software/3D9CA89D-DDB3-4563-A43E-7003AEE29AB5/SampleApp.app/Frameworks/NestedMobileSDK.framework/NestedMobileSDK' (no such file)

Appears to be like prefer it’s discovered some nested xcframework '/personal/var/containers/Bundle/Software/3D9CA89D-DDB3-4563-A43E-7003AEE29AB5/SampleApp.app/Frameworks/MyMobileSDK.framework/Frameworks/NestedMobileSDK.framework/NestedMobileSDK' nevertheless it’s marked as not legitimate to be used in course of: mapped file has no cdhash, fully unsigned? Code must be not less than ad-hoc signed.),

Each xcframeworks are usually not signed and embedded in goal with Embed & Signal choice, so I anticipate that it is okay that this isn’t signed.

I discovered related questions right here, however it’s kind of one more reason for failure.

Can somebody recommendation what’s carried out unsuitable?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles