Blog posts

Xcode 8 managed signing: adding new device UUIDs to a provisioning profile

Xcode 8 introduced managed code signing, which automatically generates the App IDs, signing certificates, and provisioning profiles you’d usually need to set up manually for your app. This covers most aspects of getting your app ready for distribution, but one thing that still isn’t automatic is Xcode’s handling of devices UUIDs manually added in the Developer Portal; when new device UUIDs are added you still need to generate a fresh provisioning profile which includes them.

Luckily if you’re using managed code signing, all you need to do is delete your managed provisioning profile and let Xcode repair it. It will automatically create a new profile which includes any new devices you have added in the portal.

More detailed instructions on how to do this are here:

  1. Browse to, sign in, and add the UUIDs for your new devices
  2. In Xcode, open up Preferences > Accounts, and select your Apple ID and Team, then click “View Details”
  3. Right click and select “Move to Trash” on the provisioning profile matching the one automatically generated by Xcode (its name should look like “iOS Team Provisioning Profile: [your app identifier]”)
  4. Shut down and restart Xcode
  5. Browse to your project’s general settings - you should see your Provisioning Profile rebuilding
  6. Once the provisioning profile has been rebuilt, your new devices should be included in it!
  7. You can verify that your new UUIDs have definitely been included in the Provisioning Profile by clicking on the info icon next to the Provisioning Profile’s name, and dragging the icon of the Provisioning Profile onto your desktop. This will copy the .mobileprovision file to your desktop, which you can then open using a text editor. Look for the <ProvisionedDevices> key, and you should see the UUIDs you added earlier to the developer portal included in its <Values> array.
  8. Rebuild/redistribute your app, and you’re good to go!

Emojify your Wi-Fi (Netgear R6300 edition)

After reading Brian Jordan’s post Emojify your Wi-Fi where he adds emoji to his Wi-Fi SSID, I decided to blatantly rip him off I got inspired to do the same on my Netgear R6300 router.

Adding the emoji directly from the admin panel didn’t work though, when I tried to I got this alert:

Character not allowed alert dialog

Following in Brian’s footsteps, I found the Javascript function which validates the characters in an SSID and overrode it to always return true. This was enough to get an emoji character accepted as part of the SSID!

To do this yourself you can follow these steps:

  1. Go to your Netgear admin panel and craft your beautiful emoji-enriched SSID Wi-Fi admin panel
  2. Open up the developer console
  3. Override the validation function by typing in window.checkData = function() { return true; } (and then pressing Return) Dev console
  4. Craft your beautiful emoji-enriched SSID
  5. Save and enjoy your new SSID… you finally fit in with the neighbours

    New SSID updated

How to use the San Francisco Mono typeface before macOS Sierra is released

Apple’s new San Francisco Mono typeface comes bundled in with the latest Xcode 8 beta, and it’s beautiful! If you’re impatient like me and want to use San Francisco Mono in your other apps before macOS Sierra is released, you can grab its otf files from the Xcode 8 Beta app package and install them manually:

  1. Download and install the Xcode 8 beta (you’ll need an Apple Developer account)
  2. Open Finder and push CMD + SHIFT + G to open the “Go to Folder dialog”, then paste this path (its prefix may differ depending on where you installed Xcode): /Applications/ Go to dialog
  3. Open all the font files starting with “SFMono”: Select all fonts
  4. Choose “Install Font”: Install fonts

The San Francisco Mono fonts should now be available to use throughout your entire system. Enjoy!

← Prev Page 1 of 3