I’ve got a SDL2 project, which runs fine for MacOS. But when I try to export to iOS the build is succesfull and then the simulator crashes with the following message:
dyld: Library not loaded: @rpath/libSDL2.dylib Referenced from: /Users/martinjoselizondocolomes/Library/Developer/CoreSimulator/Devices/F0FC3BBB-4809-4E45-B6BA-3709A2E82987/data/Containers/Bundle/Application/DCAE530F-9AB5-4E23-AD51-0CBC8B58297D/my_sdl_ios_project.app/my_sdl_ios_project Reason: no suitable image found. Did find: /Users/martinjoselizondocolomes/Library/Developer/Xcode/DerivedData/my_sdl_ios_project-gupmbcbolzvwmdfiuqsguhjlxnxo/Build/Products/Debug-iphonesimulator/libSDL2.dylib: required code signature missing for ‘/Users/martinjoselizondocolomes/Library/Developer/Xcode/DerivedData/my_sdl_ios_project-gupmbcbolzvwmdfiuqsguhjlxnxo/Build/Products/Debug-iphonesimulator/libSDL2.dylib’
I’ve tried to use the SDL template and example projects that come up in the SDL XCode IOS folder with no luck. Always the same issue.