Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70769

iOS: Cannot read property 'toLowerCase' of undefined

$
0
0

@basti wrote:

Hi, after the last Xcode Update my app worked and I wanted to not only use the emulator. So I tried to test it with my real phone and it worked as well.
But now I’m getting this error:

Reading build config file:
Cannot read property 'toLowerCase' of undefined

With this solution:
change the “if” line 54 of platforms/ios/cordova/lib/list-emulator-build-targets for:
if (device.name === deviceType.name.replace(/\-inch/g, ' inch') && device.isAvailable == 'YES')
https://github.com/apache/cordova-ios/issues/427#issuecomment-431862412

from here:

I now get

Reading build config file:
Cannot read property 'name' of undefined

Both errors are stopping me like a big wall^^
Is maybe a new installation of Xcode bringing back a clean ground?

Ionic info:

Ionic:

   Ionic CLI          : 5.4.2 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.4

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : ios 4.4.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 3.1.2, (and 17 other plugins)

Utility:

   cordova-res : not installed
   native-run  : 0.2.8 

System:

   ios-deploy : 1.9.2
   NodeJS     : v10.16.3 (/usr/local/bin/node)
   npm        : 6.10.2
   OS         : macOS Mojave
   Xcode      : Xcode 11.1 Build version 11A1027

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70769

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>