Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49220

Ionic iOS build does not work anymore (white screen of death)

$
0
0

@ht85 wrote:

Hi there,

I don't know what's happened and it's driving me nuts.

First of all, some info about my setup:

Cordova CLI: 6.1.1
Gulp version:  CLI version 3.9.0
Gulp local:   Local version 3.9.0
Ionic Version: 1.2.4
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
ios-deploy version: 1.8.5
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v4.4.2
Xcode version: Xcode 7.3 Build version 7D175

Cordova Plugins:

cordova-plugin-console 1.0.2 "Console"
cordova-plugin-device 1.1.1 "Device"
cordova-plugin-file 4.1.1 "File"
cordova-plugin-file-transfer 1.5.0 "File Transfer"
cordova-plugin-statusbar 2.1.2 "StatusBar"
cordova-plugin-whitelist 1.2.1 "Whitelist"
ionic-plugin-keyboard 2.0.1 "Keyboard"

ionic serve works perfectly but when I try to run the iOS version, it doesn't work. I am in the process of building an app (about 90% done) for a client and from one day to another, the new iOS app build don't work. I don't know what changed the whole thing (maybe updating to the new xcode version)?

ionic build ios works without an error.

ionic emulate ios produces one of the following scenarios:
- The app works (very rarely)
- The app shows a never ending splash screen
- The app shows the splash screen for a second and then changes to blank screen

The latter is the problem I am facing the most. I tried pretty much everything:
- Reinstalled Xcode (including removing all the cache stuff)
- Reinstalled node, cordova, ionic
- Removed cordova plugins and added them again, I also tried running the app with only a couple of the plugins installed (sometimes it works after runnning ionic build ios && ionic emulate ios -lcs, but if I quit the app and start it again, the white screen of death is back again)
- sudo chown -R USERNAME /Users/USERNAME
- And of course always used ionic state reset or remove platform, add platform.
- Cleared pretty much the entire code in ionic.Platform.ready

The best chance to get the app running is to just use ionic emulate ios without any command line flags (-lcs).

If I use one of the flags, there is no console output. Furthermore, there is no console.log file, just the white screen.

It's driving me nuts and I am working on this problem for days.

Any help is MUCH APPRECIATED! :sweat:

Thanks,
Henning

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 49220

Trending Articles