Skip to content
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

Cordova-ios@6.3.0 fails on Running command: xcrun simctl list --json #1366

Open
BartolomeoItaliano opened this issue Aug 29, 2023 · 1 comment

Comments

@BartolomeoItaliano
Copy link

Cordova-ios listing command fails occasionally.
After couple of reruns I am sometimes able to make the command finally pass.
However, the command fails on external GitLab pipelines runners and I cannot afford to have it left without a solution.

Stack trace before the fail:

cordova build ios --release
List simulator targets
Running command: xcrun simctl list --json
Select last emulator from list as default.
List simulator targets
Running command: xcrun simctl list --json
Cannot read properties of undefined (reading 'name')
[ERROR] An error occurred while running subprocess cordova.
        
        cordova build ios --release exited with exit code 1.

Environment:
External Gitlab iOS runner
Mac OS 12
xCode 14

Cordova-iOS version:
6.3.0

Cordova version:
11.0.0

@alexandreperron
Copy link

The reason for this is that no ios simulator is downloaded in xcode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants