Posts

Post not yet marked as solved
0 Replies
529 Views
I'm testing my app built with Xcode 15.1 on 3 devices: iPhone 14 Pro (iOS 17.2) - no problem with both debug and release builds iPhone 6S (iOS 15.7.9) - no problem with both debug and release builds iPhone 5S (iOS 12.5.7) - no problem with debug build but immediate crash on the splash screen when running release build. The message is: dyld: Library not loaded: /System/Library/Frameworks/SwiftUI.framework/SwiftUI Referenced from: /var/containers/Bundle/Application/MyApp.app/MyApp Reason: image not found Googled about this error and it seems to be an old and known issue: "Apps containing SwiftUI inside a Swift package might not run on versions of iOS earlier than iOS 13. (53706729)." Adding -weak_framework SwiftUI to Other Linker Flags fixed my issue. However I'm curious why this old issue reappeared in the most recent Xcode 15 while I haven't such problems with Xcode 14 and 13.
Posted
by KalMudov.
Last updated
.
Post not yet marked as solved
9 Replies
28k Views
Hello,Just upgraded XCode to version 10. I tried to compile my project which use both Objective-C and C++ files.One of the cpp files includes a header file (.h) which has the following line:#include <new>Compiler gives this error: 'new' file not foundWhy is that? I didn't have this problem with XCode 9.Thanks,Kal
Posted
by KalMudov.
Last updated
.