Я компилирую свою сборку ioni c angular с ionic cordova build --prod --release
для iOS и получаю эту ошибку:
Редактировать: я повторно запускаю команду с --verbose, и вот результат, который я получил:
This app does not have additional resource files defined
Prepared iOS project successfully
No scripts found for hook "after_prepare".
No scripts found for hook "before_compile".
Cannot read property 'toLowerCase' of undefined
TypeError: Cannot read property 'toLowerCase' of undefined
at /Users/meghan/sandbox/Parks/TSP_Mobile_App/platforms/ios/cordova/lib/list-emulator-build-targets:54:45
at Array.forEach (<anonymous>)
at /Users/meghan/sandbox/Parks/TSP_Mobile_App/platforms/ios/cordova/lib/list-emulator-build-targets:52:44
at Array.reduce (<anonymous>)
at /Users/meghan/sandbox/Parks/TSP_Mobile_App/platforms/ios/cordova/lib/list-emulator-build-targets:50:57
at Array.reduce (<anonymous>)
at /Users/meghan/sandbox/Parks/TSP_Mobile_App/platforms/ios/cordova/lib/list-emulator-build-targets:45:28
at _fulfilled (/Users/meghan/sandbox/Parks/TSP_Mobile_App/platforms/ios/cordova/node_modules/q/q.js:854:54)
at /Users/meghan/sandbox/Parks/TSP_Mobile_App/platforms/ios/cordova/node_modules/q/q.js:883:30
at Promise.promise.promiseDispatch (/Users/meghan/sandbox/Parks/TSP_Mobile_App/platforms/ios/cordova/node_modules/q/q.js:816:13)
[ERROR] An error occurred while running subprocess cordova.
cordova build ios --release --verbose exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
ionic:utils-process onBeforeExit handler: 'process.exit' received +0ms
ionic:utils-process onBeforeExit handler: running 2 functions +0ms
ionic:utils-process processExit: exiting (exit code: 1) +36ms
Это буквально вся ошибка, и я не могу найти что-нибудь близко к ней. Есть идеи?