Xcode 12: Consolidated iOS App Project Templates

November 15th, 2020

Filed under: Xcode | Be the first to comment!

In Xcode 12 Apple consolidated many of their iOS app project templates into one template: App. If you are following a tutorial written for an older Xcode version that has templates like single view app and master-detail app, choose the App template.


Where Did the Multiplatform SwiftUI Project Templates Go in Xcode 12.0?

October 1st, 2020

Filed under: Xcode | Be the first to comment!

As part of Xcode 12, Apple added project templates for creating SwiftUI apps that run on both iOS devices and Macs. In the Xcode 12 betas, these project templates appeared in the Multiplatform section. When Apple released iOS 14 in September, they also released Xcode 12.0. If you install Xcode 12.0 and create a project, […]


Adding a Swift Package to Multiple Targets

August 11th, 2020

Filed under: Xcode | Be the first to comment!

If your Xcode project has multiple targets and you add a Swift package, Xcode will let you add the package to only one of the targets. How do you add the package to the other targets? Select a target from the project editor. Click the Add button in the Frameworks, Libraries, and Embedded Content section. […]


Disk Space Required to Install Xcode

April 29th, 2020

Filed under: Xcode | Be the first to comment!

People constantly post on Apple’s developer forums complaining that when they try to install Xcode, an alert opens saying they don’t have enough disk space to install it. These people always say they have enough space because they have more free space on their disk than the Xcode download. Usually the person asking the question […]


Xcode 11: Export Mac App Archive

January 23rd, 2020

Filed under: Xcode | Be the first to comment!

Xcode 11 provides a subtle button to export a Mac app archive. In the Organizer, select an archive and scroll so you can see the Status column for the archive. Move the cursor over the Status column to make the Export App button appear.


Xcode 11 Version Control Changes

October 19th, 2019

Filed under: Version Control, Xcode | Be the first to comment!

This post lists all the changes I found in Xcode 11 on version control. Code Review Button Xcode 11 adds a code review button to the toolbar that lets you view the changes you made to the currently selected file. The code review button is the button with the two arrows facing right and left. […]


Xcode 11: User Interface Menu for New Projects

September 25th, 2019

Filed under: Xcode | Be the first to comment!

When you create an iOS or Cocoa app project in Xcode 11, there is a User Interface menu in Step 2 of the New Project Assistant. For iOS projects the user interface choices are SwiftUI and storyboard. For Mac projects the user interface choices are SwiftUI, storyboard and xib file. Xcode defaults to using SwiftUI […]


Xcode 11: Opening Editors

September 17th, 2019

Filed under: Xcode | Be the first to comment!

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 […]


Unit Testing a Project with Spaces in Its Name

June 17th, 2019

Filed under: Xcode | Be the first to comment!

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 […]


Xcode Bug Creating Bitbucket Repositories

March 10th, 2019

Filed under: Version Control, Xcode | Be the first to comment!

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.