iOS Slow Startup Time

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

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

For simulators running iOS 14, delete folders inside ~/Library/Developer/Xcode/iOS DeviceSupport/ (folder's name started with "14").

For devices running iOS 14, 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:

  • Apple forum post: Xcode 11 hangs while attaching debugger to ios process
  • StackOverflow answer from: Can I delete data from the iOS DeviceSupport directory?

How to debug slow app launch

In Xcode: Product -> Profile

Choose the "Time Profiler"

Running this tool will give you time spent in every method in your program, and it'll give you that information in a hierarchical structure. This should give you an idea where most of the time is spent. Keep in mind that the instrumentation adds extra overhead, so the absolute time value may not be correct, but the proportion of time spend in each method should what you need to debug this issue.

Here is a decent looking tutorial (albeit on an older version of Xcode) showing how to use this tool.

Sample Image

Launching apps on iOS 15 from Xcode is too slow

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

Meteor Cordova startup time is ridiculously slow?

Solved it myself. The problem is the launch-screen package.

  1. meteor remove mobile-experience

  2. meteor add fastclick

  3. meteor add mobile-status-bar

  4. meteor add meteorhacks:fast-render

Worked like a charm for me. Heres an article I wrote on this topic: https://medium.com/@gautham.gg/reduce-the-launch-time-of-a-meteor-mobile-app-e2f009951011#.8uovmstb5

iOS slow initialisation times due to cocoapods

I was able to solve this by first updating cocoa pods then in my podfile
commenting use_frameworks and adding use_modular_headers!

Ie

use_frameworks!

use_modular_headers!

But yes the simulator is much slower as well.



Related Topics



Leave a reply



Submit