简体   繁体   中英

Black screen after splash on iOS (Xamarin)

Note: I'm using an iPhone 5 and Xamarin. I have an Indie license.

When I try to run a debug build (connected to my machine) my app launches, the splash screen is fine, and then I get a black screen. The app hasn't crashed, and the debugger is stuck in a "Waiting for debugger to connect" mode.

I can run a release build no problem on my phone, and I can run debug builds in the simulator without a problem. But running a debug build on my phone, that results in a black screen and "waiting to debug"

I've had this issue and couldn't find a fix.

There was a work-around that worked for me though: debugging over WiFi.

After catching all exceptions and logging them, and numerous other activities to try and determine what all apps, even new ones, caused the black screen I deleted all of the apps I had created off my phone, did a Clean of the build of my main app, and redeployed.

The application now loads in debug mode and runs as it should.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM