Xcode 8.2.1 iOS simulator slow - performance

I bought a new mac book pro.
System features:
2.0GHz dual-core Intel Core i5 processor, Turbo Boost up to 3.1GHz
8GB 1866MHz memory
256GB PCIe-based SSD
Intel Iris Graphics 540
Two Thunderbolt 3 ports
MacOs Sierra 10.12.1
You can see the details from here
My problem is, I installed xcode 8.2.1 and tested it. It's really fast, but there's slowdown in the simulator. Deceleration is not in page transitions, but in scrolling actions.I've tried both the iOS 9.0 and the iOS 10.2 simulator, but the situation is the same.
I have found a solution that I have researched. "Close the debug-slow animations option in the simulator" but this is not the case.
I do not know if the issue is related to xcode or sierra, but I do not think it's about hardware. I tried it for Android emulator, but it worked very fast. I do not know if there is a connection, but I think that if the hardware is inadequate, it should work slowly in the android emulator.
Do you have an idea on this?

Related

XCode, Appium: Can we run our iOS tests in the native simulator in MacOS with M1 chip?

Just a question. There has been a discussion in our organization that we cannot build our iOS app in a Mac with M1 Pro chip :/ I don't believe it honestly and I think it's possible. But is it possible? We've also been encountering different errors in MacOS like some imports are not available in M1 Pro but are available in Intel chip. I tried to search for related topics but can't find much information if the user in the tutorials are using Intel chip or M1 Pro chip.
Appium supports M1 chips since version 1.20.0 which was released almost 2 years ago and I doubt it matters if it is a Pro chip or not. To be sure you should use Appium 2.x with the latest xcuitest driver installed (Appium 1.x is not actively maintained anymore). If you cannot build your own app on M1 Pro chip - that issue is not related to Appium.

Catalina make the Xcode Simulator to freeze, lag and work slow

I was using Sierra for a while and the Xcode simulator works well - fast and furious. After updating to Catalina (why the hell i did that :( ) - xcode simulator started to work very slow. Especially animation. Especially for tvOS.
I using MacBook Pro (13-inch, Mid 2012).
Why and how to fix that?
P.S. Slow animations is switched off. Graphics quality override is Low Quality.

Genymotion Android emulator laggy on Macbook

I've been using genymotion for android react-native development but the emulator is so mind numbingly slow compared to the xcode ios emulator.
mbp specs
2.5ghz i7
16gb ram
intel iris plus 640
500gb ssd
genymotion specs
genymotion 3.0.0
google pixel emulator
processors 4
memory size 4096
virtual box 5.2.22
I had virtual box 6.x before but found a stack thread suggesting downgrading to the recommended version but it didn't fix anything.
The emulator works fine and boots relatively quick - all the animations however are very laggy and make it a pain to use
Looking for any recommendations, thanks
edit: I've tried reducing processors to 2 as virtual box was attempting to use 4 (default) but I have a dual core laptop, performance increased slightly - but still far off from the ios emulator
Have you tried using an older version of Android? I heard reports of users finding the latest versions (especially Android 9.0) to be slow on macOS. This should be fixed in Genymotion Desktop 3.1.0.

Xcode 6 crash on UI debug

I'm using Xcode 6.0.1 on Mavericks and experiencing crash every time I try to inspect UI and:
unfold the view hierarchy
rotate the 3D inspection view
But it's not just crash. It literally restarts my Macbook Pro.
I had the same problem, and I was able to narrow it down to an issue with the discrete graphics card on my Macbook Pro (it has the hybrid integrated Intel / discrete Nvidia chips). When forcing my Macbook Pro to use the integrated Intel chip exclusively, it no longer crashed.
You can get gfxcardstatus to force your Mac to use the integrated chip exclusively.
If you use Homebrew Cask,
brew cask install gfxcardstatus
and then select 'Integrated only' from the app's menu bar icon before inspecting the UI.
It is bug for new Xcode with old System Maverick. I install new Yosemite and all working on my MacBook 2009.

Mac OS X Lion 10.7.2 Xcode 4.2 memory issues

I've got MacBook Pro 2011, 15" i7 2GHz 8GB Ram 1333 MHz OS X Lion 10.7.2 all updates installed released to this date.
I have done everything what I can to minimize RAM consumpsion and the only problem I've got at this point is when I run Xcode. I had 4gigs of RAM, than bought 8 gigs and always 've got 10-30 MB of free memory after 3-5 minutes of Xcode running and PAGE INS are 300MB - 700MB. I tried to switch to 32-bit running mode but no change. Can anybody help me please?
Yes. One way is to disable indexing, another is to reduce the number of build processes. These are hidden preferences in Xcode 4 which I have detailed here:
Hidden Features of Xcode 4
I've also made a pretty extensive write up for improving and working with Xcode's resource issues:
Why are xcodebuild and Xcode 4.2 so slow?

Resources