Building SDL for iOS?

I am trying to port my game to iOS. In XCode everything works until building, after that I get the error that SDL was built for MacOS, so how do I build the frameworks for iOS?