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.