xcrun: error: SDK “iphoneos” cannot be located March 6, 2023 by Tarik Launch xcode Preferences Locations Make sure there’s a dropdown option selected for the command line tools. Fixed it for me. fixed with: