I need to be able to install the Xcode 15 Beta on a computer that's not connected to the internet. Up through Xcode 14 this was simple: I just had to copy the *.xip
file from the internet computer to the offline computer and un-xip it.
However, things have changed now with Xcode 15 since iOS support is not included.
I've tried downloading the iOS 17 simulator runtime and installing it as described here
xcode-select -s /Applications/Xcode-beta.app
xcodebuild -runFirstLaunch
$ xcrun simctl runtime add iOS_17_beta_4_Simulator_Runtime.dmg
D: B80E1B56-AF99-4E69-960F-DA9F945577E0 iOS (17.0 - 21A5291g) (Ready)
This succeeds, but then if I create an iOS app project in Xcode I see this up by the Play button:
If I go to Xcode->Settings->Platforms
I see this:
It recognizes that the simulator was installed, but it doesn't seem to recognize the iOS 17 SDK. However, I do have the iOS SDK in /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
.
xcrun
also picks up the SDK:
$ xcrun -sdk iphoneos -show-sdk-path
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk
As matter of fact, if I go to my newly created iOS app directory, I can run xcodebuild
to build the project, then in Xcode I can open Window->Devices and Simulators
and install the app to my device that way. But I can't press the Play button in Xcode to build, install, and debug the app.
Any ideas how I can get this working on a non-internet connected computer?