When I install the applications from Xcode 10.1 to iPad(iOS 12.1), apps freeze on the launch screen. Applications work fine with the iPads which have iOS version lower than 12. I am facing this issue since i updated Xcode to 10.
Does anyone know how to fix this issue?
You may connect a real device to your Mac using a cable, or for iOS or tvOS apps, connect it over Wi-Fi after you pair it with Xcode. For macOS apps, choose a scheme, then click the Run button in the toolbar. You can also run SwiftUI apps in the simulator or on a device using the controls in the preview.
Launch screens appear when your app starts up and give the user the impression that your app is fast and responsive. After your app is loaded it will be replaced with your app's first screen after which the user can start using your app.
Xcode supports debugging, testing, and profiling your iOS app natively on a Mac with Apple silicon. When you open your iOS project in Xcode 12 or later, you have the option to build your app and run it directly in macOS. This option doesn't run your app in a Simulator; it runs it as an iOS App on Mac.
I am answering this question to help others who are experiencing this issue.
If you use a distribution certificate to install the app on the device with Ad-hoc provisioning profile or in-house provisioning profile app freezes on the launch screen. Even if app launches you will not get the logs in Xcode.
Following are the steps to handle this issue:
Use this scheme to install the app on the device. It will ask to select the executable file to launch. Select the executable file name of your app and it will launch the app on the device. You also see the logs in the Xcode.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With