Kenny Lim
Kenny Lim

Reputation: 1214

Enterprise iOS App slow to launch

I have an enterprise provisioned iOS Application for Testing & Preview. It's been acting strange lately, when deploy to an iPhone, it will launch and idle for a few seconds and then minimize. After the 1st launch, the later launch is OK. It's as though the App is trying to verify something on first launch.

I heard that this could be related to Mobile Provisioning file that contain too many applications. How can I tell if this is indeed the problem?

Upvotes: 5

Views: 534

Answers (2)

Ram Gandhi
Ram Gandhi

Reputation: 717

First of all, You can run your app with Instruments (cmd+i) with Time Profiler from Xcode itself.

Profiling Option Menu in Xcode

This will clearly give you the information about the time consumed by your methods.

Also try the following things,

  1. Minimise as much as possible the use of -application:didFinishLaunchWithOption method,
  2. Check whether you use Background threads for fetching both from DB and server,
  3. Avoid importing unwanted headers and also check for the classes you are importing in Pre-compiled Header(if you have one)

Upvotes: 0

coreDeviOS
coreDeviOS

Reputation: 1538

  • You would like yo create a build with minimal things going on in Application_didFinishLaunchingWithOption.

  • Check your iPhone for update.

  • Its certainly not a provisioning profile issue.

Either one of your dependency is trying to do that. else their is too much memory leak.

Upvotes: 1

Related Questions