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?
|