Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Launching apps on iOS 15 from Xcode is too slow

Tags:

xcode

ios

swift

Launching an app on any of the devices that I have after installing iOS or iPadOS 15 on them is too slow when launched from Xcode

The App would freeze on the launch screen for sometimes more than 10 seconds then it will continue without any problem.

I tried testing on Xcode 13 and 12 and check all the scheme options. I also tried to create a fresh new project for both SwiftUI and Storyboard.

The app would not freeze if I disabled the 'Debug executable' in the scheme -> run -> info options Enabling 'Debug executable' would not have any bad effect on devices running iOS 14 and earlier and the app start is fast

the issue is since beta 1 of iOS 15 and still there on the current beta 3 as of now. Since the problem continues to exist on three betas with no-one reporting it more likely to be something related to by setup.

Any help with this issue would much appreciated.

like image 832
zombie Avatar asked Jul 15 '21 10:07

zombie


People also ask

What version of Xcode is needed for iOS 15?

iOS and iPadOS apps submitted to the App Store must be built with Xcode 13 and the iOS 15 SDK. And watchOS apps submitted to the App Store must be built with Xcode 13 and the watchOS 8 SDK.


Video Answer


1 Answers

I still have the same issue with the release version of iOS 15 and Xcode 13. Resetting the device support folder works for me:

  1. Delete ~/Library/Developer/Xcode/iOS\ DeviceSupport
  2. Restart Xcode. It will rebuild the device support folder.

Source: https://developer.apple.com/forums/thread/683654

like image 171
Junfeng Avatar answered Oct 18 '22 01:10

Junfeng