-
Notifications
You must be signed in to change notification settings - Fork 986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'name' of undefined xcode@15 ios17 #1377
Comments
nodejs:16.x |
Why are you running as Running You can test this yourself using:
XCode 15 also ships with iOS 17 runtime + simulators. You don't need to add one yourself. |
sudo ionic cordova build ios --prod --release
...
Cannot read property 'name' of undefined.
at /xxx/platforms/ios/cordova/lib/build.js:162:40
return getDefaultSimulatorTarget().then(function (defaultTarget) {
emulatorTarget = defaultTarget.name;
The defaultTarget is undefined.
Running getDefaultSimulatorTarget using sudo yields undefined, while the opposite is true.
The iOS simulator is installed through commands:
sudo xcode-select -s /Applications/Xcode-15.0.app
sudo xcodebuild -runFirstLaunch
sudo xcrun simctl runtime add "/Users/xxx/Desktop/xxx/iOS_17_Simulator_Runtime.dmg"
Environment:
Mac OS 14.0
xCode 15.0
iOS simulator 17.0
ionic/[email protected]
Cordova 12.0.0
The text was updated successfully, but these errors were encountered: