Enterprise signed apps that include Swift launch slowly

Originator:ckimb
Number:rdar://38767613 Date Originated:03/22/2018
Status: Resolved:
Product: Product Version:
Classification: Reproducible:Always
 
Area:
Something not on this list

Summary:

Enterprise signed apps that include Swift launch slowly.

Steps to Reproduce:

Build an Objective-C application, sign with an enterprise profile, and run on a device.
Modify the app from above, adding Swift to the project and run on a device.


Expected Results:

Launch times between the Objective-C and Objective-C/Swift enterprise apps should be similar.

Actual Results:

The Objective-C/Swift app launches much slower than the Objective-C version of the app.

If the apps are not signed by an enterprise profile, the launch time differences between the two versions is negligible. 

Launch times from a fresh installation (iPad Pro Version 2): 

Objective-C: ~1.5 seconds
Objective-C/Swift:  ~6.5 seconds

Version/Build:

Xcode: 9.2
iOS 11.2.6

Configuration:

N/A

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!