Edit Scheme > Run > Arguments > Environment Variables

Add the variable Name DYLD_PRINT_STATISTICS Value to YES

You can see how long the APP takes before executing main

Total pre-main time: 158.84 milliseconds (100.0%) Dylib loading time: 54.81 milliseconds (34.5%) Rebase /binding time: 29.42 milliseconds (18.5%) ObjC Setup time: 47.20 milliseconds (29.7%) Initializer time: 27.23 milliseconds (17.1%) vs intializers: 2.49 milliseconds (1.5%) libMainThreadChecker. Dylib: 14.97 milliseconds (9.4%).Copy the code