I'm looking at some inefficient code that somebody wrote that repeatedly searches contacts within a loop, and that loop can execute hundreds or thousands of times.
If I run the app via Xcode then its taking 20-30 seconds to execute, but if the app is downloaded from Testflight and run, the same code runs in less than a second.
I'm presuming this difference is due to the scheme being debug for Xcode run but release for the archive scheme?
Can the debug scheme really have such an enormous impact?