Skip to content

Ionic 4: Build for ios emulator missing files #3218

@chrisgriffith

Description

@chrisgriffith

Description:
Running v4.0.0=alpha 7, when I do ionic cordova emulate ios, the build process appears to occur correctly. The emulator launches, the app is started, splash screen appear, then the white screen of doom.

Connecting Safari and reloading the app, the console reports missing files.

Ionic serve is working fine.

Steps to Reproduce:
ionic cordova emulate ios

The ios platform has been removed and readded.

Output:

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (runtime.js, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (cordova.js, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (polyfills.js, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (styles.js, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (vendor.js, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (main.js, line 0)

My ionic info:

cli packages: (/usr/local/lib/node_modules)

   @ionic/cli-utils  : 2.0.0-rc.6
   ionic (Ionic CLI) : 4.0.0-rc.6

global packages:

   cordova (Cordova CLI) : 8.0.0

local packages:

   @angular-devkit/core       : 0.6.0
   @angular-devkit/schematics : 0.6.0
   @angular/cli               : 6.0.1
   @ionic/schematics-angular  : 1.0.0-rc.6
   Cordova Platforms          : android 7.0.0 ios 4.5.4
   Ionic Framework            : @ionic/angular 4.0.0-alpha.7

System:

   Android SDK Tools : 26.1.1
   ios-deploy        : 1.9.1
   ios-sim           : 6.0.0
   NodeJS            : v8.11.1
   npm               : 6.0.1
   OS                : OS X El Capitan
   Xcode             : Xcode 8.0 Build version 8A218a

Environment Variables:

   ANDROID_HOME : /Users/chrisgriffith/Documents/android-sdk-macosx

Other Information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions