Fix Failed Registering Bundle Identifier Error with Automatic Signing in Xcode 15
Problem Using Automatic Signing in Xcode 15.4, I received a “Failed Registering Bundle Identifier” error when I went to go add a new Capability for one of my Targets: While the error message states: The app identifier “…” cannot be registered to your development team because it is not available. Change your bundle identifier to a unique string to try again. the app identifier (Bundle Identifier) was already registered under my account in App Store Connect, and signing was previously working prior to adding a new Capability (which updates the Provisioning Profile)....
Building a Share Extension with SwiftUI
Overview At time of writing, the Share Extension has yet to be given the SwiftUI overhaul that other Target-types have received, so you’ll be met with a UIKit setup and Storyboard interface upon initial creation. If you’re like me and want to leverage SwiftUI wherever possible, this article will show you how to do just that for your Share Extensions 👇 Share Extension Setup The sections below will walk you through setting up a brand new Share Extension in your app....
Building a Repository of Xcode Code Snippets
This post will outline a process of checking Xcode Code Snippets into source control in order to build out a library of snippets you can easily import on new machines or take with you to new companies. (You can also use this to create a shared library of snippets within a development team.) I won’t go over how to create and use code snippets within Xcode, but if you’d like a refresher, check out this post by Sarun....
Building a Static Site in Swift using Ignite and GitHub Pages
I recently decided to update my personal home page (a simple one-page HTML site using Jekyll) to try out Ignite, as I’d much prefer to maintain a Swift package over working directly with HTML. Ignite is an open-source static site builder for Swift developers, created by Paul Hudson. While working with Ignite is fairly straightforward, and there are plenty of excellent examples provided in the IgniteSamples repo, I ran into a couple speed bumps deploying via GitHub Pages....
Getting Started with CreateML
Prerequisites: MacOS Mojave Beta Xcode 10 Beta Apple’s Vision Starter Project In a previous post I showed you how to get started with CoreML, which allows you to use pre-trained machine learning models in your projects. One of the limitations discussed was that as soon as you want to begin classifying something in your app that one of the pre-trained models isn’t trained for, the learning curve for training your own model becomes fairly steep....
Getting Started with CoreML
In iOS 11, Apple introduced the CoreML framework, which enables developers to leverage the power of machine learning on our devices. While we are limited to using trained models in iOS, there are numerous pretrained models available for use to begin integrating with today — the largest collection of models being object detection models, which I will run through an example of integrating below. Note that if you do find yourself in a situation where some of the Apple provided models just aren’t working for the application you’re trying to build, I’ve outlined alternatives at the end of my post....
Drawing Message Bubbles with Tails in Swift
A common theme in messaging apps is to have a message bubble with a tail — it’s better than just a bunch of blocks stacked on top of each other and it’s an easy way to distinguish who sent a particular message. Though at this point in your iOS development experience you may wonder how exactly these custom views are created, so in this post I’ll show you how to make your own!...
Making Storyboard Collaboration Manageable
Awhile ago at a hackathon, after my team and I expressed our iOS app idea and the complexities we were about to face to a table of Apple engineers volunteering their time, one of the engineers left us with one haunting sentence: “Just don’t have more than one person working on the same Storyboard at one time, or else.” 👻 Okay, the “or else” was totally just me. Since working with my current company, where the pace at which we create new features and build apps from the ground up doesn’t always allow us to avoid being in the same Storyboard, I’ve decided to put that quote to rest and share some of the tricks I use to ease this collaboration....