LOVETOO opened a new issue, #1376:
URL: https://github.com/apache/cordova-ios/issues/1376

   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/cli@7.4.3
   Cordova 12.0.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to