So, many of you have requested a tutorial on how to use AppSync Unified to develop your own iOS apps with Xcode. As you all may know, it costs $99 per year to become an official member of the iOS Developer Program. Some people may not be able to afford this fee, usually due to their age (like myself). This is for those people who want to develop iOS apps and test them on their own device, but lack the funds to do so.

Or if you're enrolled in the iOS Developer Program already and you're just lazy, following the steps here will allow you to develop apps without provisioning :P


  1. A jailbroken iOS device with AppSync Unified installed.
  2. A computer running macOS
  3. Xcode 4/5/6/7/8
  4. My patch-ios-sdk tool
  5. Your Apple ID must be registered as an Apple Developer — to check, log in to the Member Center. If your Apple ID is not an Apple Developer, it will prompt you to agree to the EULA and create your Apple Developer account.

Let's start.

  1. Download Xcode if you haven't done so already.
  2. After Xcode has been installed, download patch-ios-sdk.
  3. Open a Terminal instance, make "patch-ios-sdk" executable and run it (example: "cd ~/Downloads; chmod +x patch-ios-sdk; patch-ios-sdk"). Note: when it asks you for your password, it is normal for it to not show the password as you type it.
  4. Open Xcode and let it do its initial setup, then quit Xcode.
  5. Open Keychain Access, click on the Keychain Access item in the menubar, go to Certificate Assistant, then "Create New Certificate"
  6. Enter your name in if OS X didn't already fill it in, change Certificate Type to "Code Signing" and check "Let me override defaults"
  7. For the serial number, bash your head into your keyboard a bit. Or just leave it at 1, it doesn't really matter.
  8. Change the validity period to something longer than one year (or if you really want, you can just leave it at 365 days).
  9. Then just click Continue for the rest of the steps until you have a shiny new certificate.
  10. Quit Keychain Access, and open Xcode.
  11. Either create a new Xcode Project, or open an already-existing one.
  12. Download asu_pid.entitlements and add it to your Xcode project.
  13. On the Xcode sidebar, click on the project, and go to "Build Settings."
  14. Scroll down to "Code Signing," and change all the options under "Code Signing Identity" to "Ad Hoc Code Sign."
  15. Then change "Code Signing Entitlements" to "YOUR_PROJECT_NAME_HERE/asu_pid.entitlements" (no quotes) — assuming that you placed asu_pid.entitlements inside your project folder.
  16. Either repeat changing the build settings in the Test target, or just delete the Test target.
  17. Select your iOS device from the dropdown in the Xcode toolbar, and run your app.
  18. Have fun developing.

Some ending notes

  • You will need to re-run "patch-ios-sdk" every time Xcode updates with a new version of the iOS SDK. Just remember to do that.