Xcode 8: Automation Instrument Removed

November 14th, 2016

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

Apple removed the Automation instrument from Instruments in Xcode 8. Use Xcode’s user interface testing to test your iOS app’s user interface.


Xcode 8: Address Sanitizer Supports Swift

September 16th, 2016

Filed under: Xcode | Be the first to comment!

I wrote about Xcode’s Address Sanitizer in my Xcode 7: Address Sanitizer post. Apple added Swift support to Address Sanitizer in Xcode 8.


Xcode 8: New Project and New File Assistant Changes

September 14th, 2016

Filed under: Xcode | Be the first to comment!

Xcode 8 changes the look of the assistant windows for creating new projects and new files. The following screenshot shows the New Project Assistant: The following screenshot shows the New File Assistant: Select an operating system at the top of the assistant to view the available templates for that operating system. If you look at […]


Use Xcode Breakpoint Actions to Replace NSLog Statements

August 15th, 2016

Filed under: Xcode | Be the first to comment!

Many Mac and iOS developers use NSLog or Swift print statements to log debugging information to Xcode’s console. You can eliminate these statements by using Xcode breakpoint actions. Adding Breakpoint Actions The first step to creating breakpoint actions is to create a breakpoint. Click in the gutter next to a line of code in Xcode’s […]


Using C++ with Xcode

July 5th, 2016

Filed under: Xcode | Be the first to comment!

People frequently ask on Mac development forums how to use C++ in Xcode. I have grown tired of answering this question on those forums so I’m going to provide an answer here in the hopes that someone searching on Google will stumble upon this post. Here’s the short answer to the question. Create a command-line […]