Slow app launch time after updating to iOS 14 and Xcode 12

前端 未结 9 2205
孤独总比滥情好
孤独总比滥情好 2020-12-13 03:29

I noticed that the launch time of my app has increased significantly (it takes a full minute now vs seconds before) since updating my device to iOS 14 and using Xcode 12. I

相关标签:
9条回答
  • 2020-12-13 04:01

    Delete ~/Library/Developer/Xcode/iOS DeviceSupport/ and unpair/pair device doesn't work for me too and disable Debug executable make me can't debug my program.

    I have no idea what to do, however when I upgrade my iPhone from iOS14 to iOS14.1 the problem dismiss. So, I think this should be an iOS bug.

    0 讨论(0)
  • 2020-12-13 04:02

    In my case, neither unpairing device nor deleting DeviceSupport files worked. But after I upgrade to iOS 14.1 and Xcode 12.1, it can work normally.

    0 讨论(0)
  • 2020-12-13 04:03

    I also had this problem, here on Xcode Version 12.1 (12A7403).

    The proposed solution to "Unpair" the device in Xcode "Devices and Simulators" didn't work for me (and lot's of people here). Xcode simply keeps crashing when trying that. Hard-reset of the device didn't solve it either.

    What did the trick for me: Delete the iOS 14.1 folder inside ~/Library/Developer/Xcode/iOS DeviceSupport. Then simply reopen Xcode.

    It takes a while for Xcode to "copy cache files" from the iPhone but once that's finally done, normal debug build and run behaviour is back, without the long delay.

    0 讨论(0)
  • 2020-12-13 04:03

    Simply update iOS and/or Xcode and it will solve your problem. Rest of the solutions given above are just workarounds and may not always work. For me none of the above solution worked. I just update iOS and it solved the issue.

    0 讨论(0)
  • 2020-12-13 04:12

    This worked for xcode - 12.2 beta and IOS 14.2

    Untick "Debug executable" from below paths worked for me.

    1. Product -> Scheme -> Edit scheme -> Select Run (left column) -> untick "Debug executable"

    2. Product -> Scheme -> Edit scheme -> Select Test (left column) -> untick "Debug executable"

    Then close and run again.

    0 讨论(0)
  • 2020-12-13 04:14

    I have the same problem, but solved this by doing the following things:

    For simulators run iOS14, delete folders inside ~/Library/Developer/Xcode/iOS DeviceSupport/ (folder's name started with 14.0).

    For devices run iOS14, select Xcode window tab, click Devices and Simulators, find your device, right-click to unpair the device

    After doing the work, re-run your app, everything should be ok.

    References:

    • https://developer.apple.com/forums/thread/123068?answerId=420683022#420683022
    • https://stackoverflow.com/a/29931912
    0 讨论(0)
提交回复
热议问题