September 17th, 2019
Xcode 11 makes it easier to open new editors. You can open a new editor without switching to the Assistant Editor. Either choose File > New > Editor or click the Add Editor button in the jump bar. Xcode defaults to adding editors to the right, stacking the editors horizontally. If you want new editors […]
June 17th, 2019
Suppose you have an Xcode project with spaces in the name. My App In your unit tests you want to import the module so you can access your app’s classes in your unit tests. If you import the app project with the spaces, @testable import My App You’ll get errors from the compiler. How do […]
March 10th, 2019
Xcode 10 has bug/limitation in creating Bitbucket repositories for your projects. If the name of the repository has uppercase letters, such as MyProject, an alert pops up when you create the repository with the helpful message An unknown error occurred. The workaround is to use all lowercase letters in the repository name, such as myproject.
January 7th, 2019
Xcode 10 lets you create a global .gitignore file so you don’t have to create a .gitignore file for each project you create. Go to Xcode’s Source Control Preferences and click the Git button in the preferences window. You most likely have an empty list of ignored files. Click the Add button to add files […]
December 9th, 2018
Xcode 10 removes support for Subversion. If you want to continue to use Subversion with Xcode, stick with Xcode 9. Alternatively, you can switch to git or use another tool for Subversion.
November 6th, 2018
In Xcode 10 you can tell Xcode to run your tests in random order. Open the scheme editor for your project and select the Test step. Click the Options button next to the test target to open a popover. Select the Randomize execution order checkbox to run your tests in random order.
October 29th, 2018
In Xcode 10 you no longer need to hold down the Option key to clean the build folder. You can just choose Product > Clean Build Folder.
October 24th, 2018
If you create a document-based app project in Xcode, select the app target in the project editor, and click the Info button, you will see sections for imported and exported UTIs. If you have any of the following questions: What is a UTI? When would I use an imported UTI? When would I use an […]
October 1st, 2018
In Xcode 10 projects use the new build system by default. If you want to use the legacy build system in a project, choose File > Project Settings. Choose Legacy Build System from the Build System menu.
September 27th, 2018
If your Xcode project is under version control, Xcode’s editor highlights the changes you make to the code. When you add or change code, Xcode places a blue bar on the left edge of the editor. Clicking the blue bar opens a popover to discard the change. For some reason you can’t commit changes from […]