Posts

Post not yet marked as solved
3 Replies
1.2k Views
Any enterprise distributed apps that include dynamic frameworks will not work for us anymore on iOS 16 (not beta!) devices with developer mode disabled. Everytime one of them is launched it will crash and there will be a new added analytics entry that contains something like the following: ["Library not loaded: @rpath\/Alamofire.framework\/Alamofire","Referenced from: <D9D3F975-2965-31EF-85A5-95DA1DC821C4> \/Volumes\/VOLUME\/*\/XXXXX.app\/XXXXX","Reason: tried: '\/usr\/lib\/swift\/Alamofire.framework\/Alamofire' (errno=2, not in dyld cache), '\/private\/preboot\/Cryptexes\/OS\/usr\/lib\/swift\/Alamofire.framework\/Alamofire' (errno=2), '\/private\/var\/containers\/Bundle\/Application\/B4735785-6633-4A6B-B5C1-AE03B47C1758\/XXXXX.app\/Frameworks\/Alamofire.framework\/Alamofire' (code signature invalid in <E8B8B1DE-7DCC-3677-86C1-07E3629482DB> '\/private\/var\/containers\/Bundle\/Application\/B4735785-6633-4A6B-B5C1-AE03B47C1758\/XXXXX.app\/Frameworks\/Alamofire.framework\/Alamofire' (errno=1) sliceOffset=0x00000000, codeBlobOffset=0x001400A0, codeBlobSize=0x00007130), '\/private\/var\/containers\/Bundle\/Application\/B4735785-6633-4A6B-B5C1-AE03B47C1758\/XXXXX.app\/Frameworks\/Alamofire.framework\/Alamofire' (code signature invalid in <E8B8B1DE-7DCC-3677-86C1-07E3629482DB> '\/p"] Additional notes: The functionality of the app does not matter at all. I can create a new Project in XCode 14 and add a framework and it will show this behaviour This happens both for frameworks generated by Cocoapods or ones that I added to the project directly I do not have any specific signing steps that I take, I just archive the app from xcode and then pick distribute app/enterprise in the archive organizer and leave everything to its default values The only thing that seems to migitate the issue somewhat is disabling manual signing in Xcode and use automatic signing for all steps, but even that only allows the app to launch on some devices while it still crashes on others with no obvious pattern to it
Posted Last updated
.