StoreKit SKErrorUnknown
Friday 02/19/2010 – Category: Uncategorized
I've been trying to integrate StoreKit for in-app purchases for a project at work. I opted to use Urban Airship because they provide a nice interface to upload content as well as a drop-in storefront interface.
Anyway, I was having no problems getting their sample client to work, but when I tried to integrate it into my app and purchase an item, I would get the message "Transaction Failed (0)", indicating an SKErrorUnknown error (thanks, Apple).
After hours of searching and emailing around for a solution, I finally realized that it must be something specific to my app. I discovered that my Info.plist file had a variable in the bundle version field that wasn't getting set. Apparently StoreKit needs an app's bundle version to work properly...changing it to "1.0" made it work!
Hopefully this will save someone from a few hours of frustration!
One Response to “StoreKit SKErrorUnknown”
Leave a Reply
Recent Posts
- Light 2
(Thursday 12/6/2012 – 10 Comments) - Solve Something – The Best Helper App for Draw Something
(Tuesday 04/17/2012 – No Comments) - Marble Paint
(Friday 02/4/2011 – 1 Comment) - More Flickr Original Updates
(Sunday 01/23/2011 – 14 Comments)

February 24th, 2010 at 9:25 am
life saver!