ios-control / ios-sim

Command-line application launcher for the iOS Simulator
Apache License 2.0
1.49k stars 253 forks source link

Error: Cannot read property 'toLowerCase' of undefined #263

Closed VishnuV02 closed 4 years ago

VishnuV02 commented 4 years ago

While executing cordova emulate ios --target="Phone-6, 12.4" --verbose

Getting Error: Cannot read property 'toLowerCase' of undefined No scripts found for hook "before_emulate". No scripts found for hook "before_prepare". Checking config.xml and package.json for saved platforms that haven't been added to the project Config.xml and package.json platforms are the same. No pkg.json modification. Package.json and config.xml platforms are different. Updating config.xml with most current list of platforms. PlatformApi successfully found for platform ios Checking config.xml for saved plugins that haven't been added to the project Checking for any plugins added to the project that have not been installed in ios platform No differences found between plugins added to project and installed in ios platform. Continuing... Generating platform-specific config.xml from defaults for iOS at /Users/fss/Desktop/UNBI/mobilepay-client-mbanking-V1_ios_Issue/platforms/ios/United Bank Mobile Banking/config.xml Merging project's config.xml into platform-specific iOS config.xml Merging and updating files from [www, platforms/ios/platform_www] to platforms/ios/www copy platforms/ios/platform_www/cordova_plugins.js platforms/ios/www/cordova_plugins.js (updated file) Current launch storyboard CDVLaunchScreen Not changing launch storyboard setting in info plist. Wrote out iOS Bundle Identifier "com.fss.united" and iOS Bundle Version "6.0.6" to /Users/fss/Desktop/UNBI/mobilepay-client-mbanking-V1_ios_Issue/platforms/ios/United Bank Mobile Banking/United Bank Mobile Banking-Info.plist No need to update build settings for launch storyboard support. iOS Product Name has not changed (still "United Bank Mobile Banking") Updating icons at platforms/ios/United Bank Mobile Banking/Images.xcassets/AppIcon.appiconset/ Updating splash screens at platforms/ios/United Bank Mobile Banking/Images.xcassets/LaunchImage.launchimage/ Updating launch storyboard images at platforms/ios/United Bank Mobile Banking/Images.xcassets/LaunchStoryboard.imageset/ Updating Storyboard image set contents.json This app does not have additional resource files defined Prepared iOS project successfully Executing script found in plugin cordova-plugin-add-swift-support for hook "after_prepare": plugins/cordova-plugin-add-swift-support/add-swift-support.js Resolving module name for glob => glob Error: Cannot read property 'toLowerCase' of undefined

Step 1: Execute cordova emulate ios --target="Phone-6, 12.4" --verbose

System Specs

Please run the commands below in your Terminal.app and include it in the issue. Check when done and include results below.

What may be the issue?