Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialmalinis
2,525 PointsWhy does my simulator take so long to load and it doesn't update the new changes in my storyboard?
It does not make the updated changes when I press stop and run. I'm using the ios iphone 6s 10.2 simulator.
vetahccsob
7,345 PointsMine does the same as well. I have a new Macbook Pro 15 Touchbar so i know it's not the computer.
Xavier D
Courses Plus Student 5,840 PointsAlso...for some reason....I noticed that when I run my code on my 7 +, the app starts up must faster than the simulator...
...the only thing I can think of is that the reason why the simulator run apps slower than on a device is because when you run the simulator, you take resources (e.g. RAM) away from your Mac to run the simulation. Thus, you need a lot of resources on your Mac for the simulator to run lightening fast.
The simulator reminds me of how you can run Windows on a Mac using Bootcamp or a virtual machine like Parallels and VMFusion. I read that Windows is lightning fast on a Mac because Windows runs strictly on the Mac's RAM chips when using a virtual machine. I don't know about now, but about six years ago, when I needed Windows and was running it on a Mac, Parallels showed to be faster than VMFusion (which was such a resource hog.)
But Bootcamp runs Windows the fastest on a Mac, and I feel, using Bootcamp beats out a good number of PC running Windows performance wise. However, a virtual machine is more safer because if infected, you can just delete the current image/state, and revert to a previous state (which is much faster than trying to use Windows restore methods on a PC...and if you couple that with a Mac firewall like Lil Snitch (thought some say it's not a true firewall), plus an AV like ClamXav (which runs for malware for both Windows and Mac OS platforms), no malware or Windows hiccup should ever stop you...
But if you choose performance over security and opt to use Bootcamp instead, then I suggest getting something like Winclone for the Mac, and use that to regularly backup your Windows partition...
Remember those commercials for Windows 7 that had a slogan, "Iām a PC and Windows 7 was my idea."?
Well my slogan is, "Windows 7 maybe was some PC's idea, but Windows 7 (and any other version limited to XP and up...)on a Mac is mine." ^_^
XD
2 Answers
Xavier D
Courses Plus Student 5,840 PointsThe same for me too. I have the same computer as Derrick except it's a 13. I think it's all about the memory of the computer. The more memory a computer has, the more faster and more efficient it can complete can complete work. I'm talking about Random Access Memory, not disk space memory, but the type of disk space memory you have can be a factor too. A computer with a HDD will take longer to read and write compared to a SSD due to HDD having moving parts. SSD are cool but degrade from enduring many reads and writes, I guess that's why Time Capsules are still HDD. I think Pasan is using a SSD iMac or MacPro with lots of RAM....
...new changes are updated in real time if done from the Main.storyboard view...programmatic changes like in the viewDidload may not reflect statically in the views, but dynamically after runtime, and only in the simulator...
micram1001
33,833 PointsIt takes my computer about 35 seconds to run the build in the simulator. I'm using a MacBook Pro 15" early 2011 with 16 gb of ram running Xcode 8.33 on Mac OS 10.13.6. I also did a Benchmark test on the cpu (Multi-Core Score 10349) using GeekBench 4. The hard drive is 500 gb SSD.
Jack B
iOS Development Techdegree Student 1,571 PointsJack B
iOS Development Techdegree Student 1,571 Pointsthe same with my simulator. I even tried to re-access Xcode and restarted Mac, no luck. Have you managed to figure out why?