Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 9 is taking too much time to load the Application

Tags:

ios

xcode9

I just installed the Xcode 9 for iOS 11 for my older project to update. But it's taking too much time to load the app in Simulator as well as in iOS devices.

Are there any settings that I need to change in Xcode?

Also, I found one major issue is hitting the Mac machine.

like image 410
Gautam Sareriya Avatar asked Sep 26 '17 07:09

Gautam Sareriya


1 Answers

I found another problem with Xcode recommended settings for Pods. If you accept recommended settings, Xcode changes optimization level for Pods project to "Fast, Whole Module Optimization". It changes both of Debug and Release. You can change manually only for Release. That fixed my unnecessary building problem.

If you accepted recommended settings before, close Xcode and update and re-install pods. Than change optimization level for Pods project manually.

enter image description here


My First Answer

Commit changes and try again. It worked for me. If you don't use git or another source control, you can find commit in Xcode's "Source Control" menu.

I'm not sure but It's good to clean compiled things too.
(on XCode menu > Product > Clean)

like image 198
ali6p Avatar answered Nov 15 '22 03:11

ali6p