Hi,
The xcrun tool allows me to invoke the correct compiler and other tools for cross-compiling to, for example, iOS or the simulator. The --sdk flag lets me choose which SDK I want, such as --sdk iphonesimulator or --sdk iphoneos
However, once I installed the Xcode "command line tools", it seems like xcrun can only find the sdk for macOS. My guess is that the package only includes the SDK for macOS, and the xcrun version it installed isn't configured to search the standard Xcode path, or it overwrote my environment variables.
Is there a clean and easy way to remedy this situation? Is there a version of the command line tools package that includes the iOS/simulator SDKs?
The xcrun tool allows me to invoke the correct compiler and other tools for cross-compiling to, for example, iOS or the simulator. The --sdk flag lets me choose which SDK I want, such as --sdk iphonesimulator or --sdk iphoneos
However, once I installed the Xcode "command line tools", it seems like xcrun can only find the sdk for macOS. My guess is that the package only includes the SDK for macOS, and the xcrun version it installed isn't configured to search the standard Xcode path, or it overwrote my environment variables.
Is there a clean and easy way to remedy this situation? Is there a version of the command line tools package that includes the iOS/simulator SDKs?