How to register a custom app opening URL scheme with Xcode 4?

Edit your AppName-Info.plist file

  • Open “Supporting Files” (folder) on left and click the “YourAppName-Info.plist”
  • Choose a row like “Bundle creator OS Type Code” and mouse over row and click the (+) symbol
  • This creates a new row and type “URL types”
  • Click the arror to left and see Item 0 and you’ll rename the value in Item 0 to “URL Schemes” as shown
  • Then edit the field in Item 0 and type in your prototocol; I typed in “goomzee” as shown

Now if I install this app on my simulator, and open Safari and type “goomzee://” in the address bar it will launch my app.

Leave a Comment