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
- LED Light for iPhone 4
(Monday 06/28/2010 – 38 Comments) - WWDC 2010: Worth Every Minute
(Monday 06/14/2010 – No Comments) - Flickr Original for Safari 5!
(Wednesday 06/9/2010 – 15 Comments) - iPad thoughts
(Friday 04/2/2010 – 1 Comment)

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