Posts tagged: Xcode


Archived Posts

This is a short post about an issue I recently had with updating a widget for a SwiftUI project. I kept getting a weird error every time I tried to run a widget target in the simulator. The error read “Failed to initialize client context with error”. This was followed by a crazy long error message spit out by the debug console in Xcode. I googled everything and I finally found the solution! (Note: This only happened on my M1 Mac)

Sep 18, 2021 Read Post

Recently I ran into an error when trying to run a SwiftUI Project on my iPhone. I’m running this project on a M1 Macbook Pro. The error seemed to start happening when my project started using certain Cocoapods. The error reads “ARCHS[@]: unbound variable”.

May 18, 2021 Read Post

Recently I have been working on a new project with my new M1 Macbook Pro. In this project I needed to use third party libraries such as FBSDKCoreKit (Facebook) so the user could sign in with their Facebook account. The problem I ran into was that no matter what I did the Cocoapods I loaded into my project would not run. Xcode would give me error messages such as “No such module found” or “module ‘FBSDKCoreKit’ not found”.

Feb 16, 2021 Read Post

Code snippets are shortcuts to blocks of boilerplate code that we use most often when programming. Xcode allows us to add custom snippets to the many pre-existing snippets that Apple provides. Let’s see how we can make a code snippet out of the following code below.

Jan 29, 2021 Read Post

What is Access Controls in Swift? According to the documentation “Access control restricts access to parts of your code from code in other source files and modules. This feature enables you to hide the implementation details of your code, and to specify a preferred interface through which that code can be accessed and used.” We can implement access controlS by adding five different types of modifiers to our code. These modifiers are:

Nov 11, 2020 Read Post

SwiftUI allows us to add our own custom views and modifiers to Xcode’s library. By doing this we are able to easily access our custom views and add them into our code in just a click. Let’s see how we can take advantage of this in our own SwiftUI project.

Oct 17, 2020 Read Post

Testing how your app works in different networking conditions is really important before you release an app. As of Xcode 11, testing different network conditions built right to make our lives easier.

Mar 27, 2020 Read Post

I love using keyboard shortcuts on my Macbook! I especially love using shortcuts in Xcode because it really helps my productivity. When using keyboard shortcuts I sometimes feel like I have magic powers being able to move around Xcode with ease. Below is a list of my most commonly used shortcuts.

Mar 3, 2020 Read Post

I recently purchased a new Mac and when transferring everything over from my old Mac to my new Mac I forgot to setup wireless debugging in Xcode. I love not having to have your iPhone or iPad connected to your Mac to run your code and debug. I have been taking advantage of this feature since WWDC 2017 and its become such a big part of how I test and run my code on my devices. When I didn’t have this feature turned on in Xcode on my new Mac I thought something was broken or wrong with Xcode. Once you have this enabled you will feel the same way!

Dec 17, 2019 Read Post

Back to top

© 2025 Thomas Prezioso Jr. All rights reserved.

Built with Swift using Ignite