You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that the ApplicationServices framework is linked across the entire Apple ecosystem in the CMakeLists.txt. When building for iOS both IOS and APPLE flags are defined, therefore ApplicationServices is linked to the target.
However, I believe it is not available on iOS, as generating an Xcode project with SDL3_image linked for iOS results in a build failure.
I am wondering whether I am doing anything wrong or this is really a bug in the build script?
This is my CMakeLists.txt build script if of any use (some details are lifted for the sake of simplicity):
It appears that the
ApplicationServices
framework is linked across the entireApple
ecosystem in the CMakeLists.txt. When building foriOS
bothIOS
andAPPLE
flags are defined, thereforeApplicationServices
is linked to the target.However, I believe it is not available on
iOS
, as generating anXcode
project withSDL3_image
linked for iOS results in a build failure.I am wondering whether I am doing anything wrong or this is really a bug in the build script?
This is my
CMakeLists.txt
build script if of any use (some details are lifted for the sake of simplicity):And this is the build command I use
cmake -B out/ios -GXcode -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_ARCHITECTURES="arm64;i386;x86_64"
P.S.: the declaration of
SDLIMAGE_BACKEND_IMAGEIO
slightly hints that this is only related toMac OS X
.P.P.S.: this stack overflow thread also suggests that
ApplicationServices
are not available iniOS
.P.P.P.S.: there is also an old unresolved SDL community thread with the similar issue
The text was updated successfully, but these errors were encountered: