As long as you have a valid Info.plist
containing a valid Application Bundle ID and are running under OS X 10.8, this should work fine.
However, I can confirm that it isn't uncommon for the API to return nil with a nil error, which is a bit outside of the API contract.