-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App loading problem with Ionic 2.0.0.rc0 #8749
Comments
Hello, thanks for using Ionic! Are you running into any errors when running |
Thanks for your quick reply. I see "Build succeeded" in the end so I didn't read through it. There are some errors during building the app. This is the log after running "ionic build ios".
Configuration: Debug
CONFIGURATION_BUILD_DIR = /Users/yan/code/MyApp/platforms/ios/build/emulator
/usr/bin/codesign --force --sign - --timestamp=none /Users/yan/code/MyApp/platforms/ios/build/emulator/MyApp.app
|
@jgw96, as you have guessed, there is the "ngc" error. Before this version I have also tried to install the splashScreen plugin, but I also get long time blank screen.
|
Remove/set lower versions for pluguns. |
Hello @flamesoft ! Thanks for the info! So it looks like you have some errors in your code. NGC is able to do error checking and type checking on methods and variables that are bound to your templates. This is the line in the output that is the error message causing NGC to throw: |
Thanks @jgw96 for helping! If not for your help, I could wait until the final release of Ionic 2, which will take some time to make a progress. I find out that it is a problem when I import AngularFire2. I found this tutorial https://playcode.org/getting-started-with-ionic-2-rc0-firebase-3-angularfire-2/ which helped me to make AngularFire2 to work. |
Short description of the problem:
The app runs well in the browser. But when I compile it to run on Android or iOS device, it is frozen during loading: First it shows a splash screen in a short time, then it stays on a white blank screen and nothing is shown in several minutes.
I have tried all kinds of adjustment for the splash screen but nothing works. The white blank screen is shown and nothing loads.
What behavior are you expecting?
No blank screen should be shown. The loading should be done after 10 seconds. It shouldn't freeze.
Steps to reproduce:
My config.xml
*Other information: *
Same problems that other people experience
My log from XCode 8 when running simulator for iPhone 6s
Which Ionic Version? 2.0.0.rc0
Run
ionic info
from terminal/cmd prompt: (paste output below)Your system information:
Cordova CLI: 6.3.1
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.1
Ionic App Lib Version: 2.1.1
Ionic App Scripts Version: 0.0.23
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X Sierra
Node Version: v5.10.1
Xcode version: Xcode 8.0 Build version 8A218a
The text was updated successfully, but these errors were encountered: