Tips How to Share files to Simulator from Finder? From Xcode 9, Simulator has Finder extension which allows you to share files directly from the Finder's window. However, drag & drop file to the Simulator's window seems much faster. However, You can do something similar with image/video files using the simctl command below: xcrun...
Tips How to capture the iOS Simulator video? You can take a screenshot or record a video of the simulator window using the xcrun command-line utility. To record a video, execute the following command xcrun simctl io booted recordVideo <filename>.<file extension>. For example: xcrun simctl io booted recordVideo appvideo.mov Press control + c...
Xcode How to use Simulator in full-screen mode with Xcode? Being able to run Xcode and iOS simulator together in full screen mode is probably my favorite feature of Xcode 9. You can just execute the following command in the terminal to enable this feature: defaults write com.apple.iphonesimulator AllowFullscreenMode -bool YES...
Tips How to improve the Swift project build time? The Xcode 9.2 release notes mentioned an experimental feature that may improve Swift build times, enabled with the "BuildSystemScheduleInherentlyParallelCommandsExclusively" user default. defaults write com.apple.dt.Xcode BuildSystemScheduleInherentlyParallelCommandsExclusively -bool NO Note: According to the release notes it's an experimental feature which can "increase memory...
Xcode How to Track total build time in Xcode? If you don't know the exact build time of your project, enable the following option in Xcode. defaults write com.apple.dt.Xcode ShowBuildOperationDuration -bool YES...