Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-12-2011, 01:55 AM   #1 (permalink)
Registered Member
 
Join Date: May 2010
Posts: 72
r0yalty is on a distinguished road
Default in app purchase issue

I have a personal dev account and a company dev account.
Our current app is on the app store and built and released using the company account.

Our apps bundle is set to "com.ourcompany.ourapp". However, the App ID we have been using is "com.ourcompany.*".
We are working on an update which introduces in app purchases. As this requires explicit App Ids we have to create a new app id named "com.ourcompany.ourapp" to match the bundle id.

The problem is that I have already registered this App ID with my personal account (out of stupidity..). So we can't create this app id using our company account.

So I thought that maybe I can just create a distribution profile on my personal account thats linked to the correct app id, and use that profile when building the app store release. Then just submit the file using the companys iTunes connect.

So I built the app (debug) using my personal developer profile with the correct app id and ran it on the phone.
If I remove the previous copy from the phone, and just build for the device with this profile, in app works fine. It gets the product "com.ourcompany.ourapp.ourinapp" for the in app product we set up in our companys itunes connect and I'm able to purchase it with the test users we added on the companys itunes Connect.

But, if I download the current version of the app from the app store, and just upgrade it to the new version with my dev profile (just build toward the device from xcode), the products array is completly empty in:
- (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:
(SKProductsResponse *)response

response.products <- EMPTY.

So it's not able to fetch the inapp products.
By doing it this way, doesnt the app id change to the explicit? Or is there an issue with the app store version being signed with the companys distribution profile, and the new version with my personal?

What would happend if I signed the app store release version with a personal distribution profile and ship it for review using the companys itune connect?
r0yalty is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 405
10 members and 395 guests
7twenty7, apatsufas, Eclectic, eski, fiftysixty, JackReidy, teebee74, tim0504, UMAD, yuncarl28
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,672
Threads: 94,121
Posts: 402,904
Top Poster: BrianSlick (7,990)
Welcome to our newest member, yuncarl28
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:04 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0