Post

Replies

Boosts

Views

Activity

Comprehensive SDL guide for XCode?
SDL is an amazing crossolatform library for C.However I actually cannot use it in XCode to build for iOS. Steps to reproduce: Download the official framework from their github Link it as a franework in any project Choose to embed and sign it I can build, but after running the app XCode cannot actually find the header files to include. Also after trying to run the executable I get an error with DYLD library not loaded and e.g. I am using macbook 13 on MacOS Sonoma
1
1
543
Feb ’24
SDL2 not working
Hi, I have recently started working with sdl in xcode. I have previously tried sdl on linux, and it worked there, but it doesn't work in macos. When building, it opens an asm file with an error. The SDL2.framework is included and I also disabled metal api check #include <SDL2/SDL.h> #include <iostream> using namespace std; int main() { if (SDL_Init(SDL_INIT_EVERYTHING) == 0) { cout << "it works!"; } } This is my code.
0
0
370
Sep ’23