Submitting binary for Appstore review with Appstore provisioning and AdHoc Provisioning profile - ios

I have submitted approx 20+ Application on App Store with Ad-Hoc provisioning profile and all have been approved and working perfectly.
I just want to make sure that If we submit binary with Ad-Hoc Provisioning this will create any problem.
What is the best way to submit build on Appstore with the Ad-Hoc provisioning or Appstore provisioning and why?
If we go to developer account then Here are 2 options to create provisioning profile for distribution build.
App Store-
Create a distribution provisioning profile to submit your app to the App Store.
Ad Hoc-
Create a distribution provisioning profile to install your app on a limited number of registered devices.
Please share your thoughts So next time I will keep it in mind and will use best way to upload build.
Thanks

If you are submitting your application for the beta testing through the test flight than you can use Appstore or Ad Hoc provisioning profile.
But in case when you are uploading for publishing the application you must use the App Store provisioning profile only. This is more preferred. There is no meaning for using the Ad Hoc provisioning profile which has limited devices added & has limited access.
Hope this helps to everyone.

Related

In house distribution provisioning profiles will be available two weeks after program activation

Our company has registered for a Apple enterprise account. WE want to distribute an app only within our organization. We have now created the app Id and distribution certificate for the app. But while creating a "In-House" provisioning profile we get the message :-
In house distribution provisioning profiles will be available two weeks after program activation
The app distribution is on priority. We do get an option to create an "Ad-Hoc" provisioning profile. Can we go ahead by signing the app with an Adhoc provisioning profile for now and distribute the app internally. Also later can we sign it using the In-house profile once that is available after 2 weeks?
Any help is appreciated.
My enterprise account was not enabled for in-house app distribution. As https://stackoverflow.com/users/3548469/dev-tandel mentioned,
But I have an option to create adhoc certificate by registering the devices if you don't have any. Only limited devices can be installed. Reference screenshot is attached

Validating Archive in Xcode 5 with an Ad Hoc Provisioning Profile

I am trying to distribute an iPhone app for beta testing using an ad hoc provisioning profile.
I am getting what appears to be a typical issue in Xcode when you attempt to validate an archive that uses an ad hoc provisioning profile. It is the same code signing issue that several other Stackoverflow users have sought advice about. A couple (out of many) of the threads I've read:
Xcode 5 - Can no longer validate archives
Signing identity problems in XCode 5
I have tried "all" of the recommendations I've seen on SO to resolve this issue (there are many other threads beyond the two I've referenced above that I've walked through step by step), but when I read through all of the replies on this specific thread (Xcode 5 - Can no longer validate archives) there's a reply by "Ade" that resonates with my experience.
To quote Ade:
"It looks like Apple disabled the ability to validate with just an ad hoc provisioning profile in XCode 5.
"If you wish to validate an app that is intended only for Ad Hoc distribution, you must also have an App Store provisioning profile for the app too, against which to validate it."
Abe communicates my exact experience: I cannot validate the archive with the ad hoc provisioning profile, but CAN validate the archive as soon as I create an archive with the App Store Distribution Provisioning Profile.
So my question is: contrary to what Apple suggests here (https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/TestingYouriOSApp/TestingYouriOSApp.html) is it true that in Xcode 5 you cannot validate an archive using an ad hoc provisioning profile because of code signing issues? I'd like to know if this is true is so that I can go ahead and distribute the ad hoc version of the app for beta testing WITHOUT validating the archive. And once I'm done beta testing, as long as the archive created with the App Store Distribution Provisioning Profile validates, I can confidently submit the app to the App Store.
No. You can always validate the archive as long as you have the Right version of the app with the Right bundle ID on iTunes connect after the app is in Waiting For Upload status.
I dont know about other developers. I always have 3 provisioning profiles for all the apps that I developed. Under the release, I always toggle between Ad-Hoc or Distribution. I use ad-Hoc most of the time, including validating, send the IPA to testflight for Beta Testers and etc. After all the satisfies testings, then only I will change the final version to distribution profile and compile a new archive. Then I will validate again and submit to app store.

Can i use same distribution profile for both app store and adhoc

I created one distribution profile for app store and i uploaded my app to app store.
Now i want provide my app to customers directly with ad hoc distribution. Is it possible to use same provisioning profile for both.
No, Appstore provisioning profile is for AppStore only.
Aslo for an Ad-Hoc provisioning profile you need to select on which device it will run.
No you can't, you have to create a provisioning profile for each.
the below SS explains the difference between both

App store provisioning profile

I created one distribution profile for app store submission. Can i test my application in device with the same profile.
Or otherwise i need to create some other profile with ad hoc distribution?
You can not use an app store provisioning profile to test on a device. You can use an ad hoc profile, or a development profile.
Both ad hoc and development profiles require you to specify your device id.
The difference between an ad hoc and a development profile, is that a development profile can be used to debug. That is, you can use Xcode to build and install the app right on your device, and then step through code as the app is running to see values variables hold etc.
An ad hoc profile allows you to build an .IPA file and share that with beta testers (assuming of course you included their device id in the profile, or you have an Enterprise account/profile). They can install the .IPA file via iTunes (so they don't have to be a developer, or on Mac for that matter).
Yes, you have need to create ad hoc distribution profile for test. You cann't test with distribution profile(app store submission). read this About Store Provisioning Profiles and Creating Store Provisioning Profiles
Sorry!! you can't.
App Store > create a distribution provisioning profile to submit to the App Store
Ad Hoc > create a distribution provisioning profile to install a limited number of registered devices.
So you need to create a new Ad Hoc type distribution profile to install your device.
The answer to your question is 'NO'. You can not use 'store distribution provisioning profile' for testing your app on a device. It is intended to be used only for submitting your app to App Store.
To test your app before you submit it to App Store, you need to create separate 'ad-hoc distribution provisioning profile'. This will help you to beta test your app before submission as refered here..
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/TestingYouriOSApp/TestingYouriOSApp.html#//apple_ref/doc/uid/TP40012582-CH8-SW1

What is difference between .ipa with development provisioning and .ipa with adhoc distribution provisioning profile?

I looked on stack overflow there are many similar questions but could not understand exactly. As my knowledge there are three types provisioning profile -
Development provisioning profile
Ad hoc distribution provisioning profile
App store distribution provisioning profile
Development provisioning profile allows for testing and debugging.
Ad hoc distribution for beta testing without using Xcode.
But my question is that .ipa created for testing using development provisioning or using adhoc distribution provisioning, What is the difference in both ipa?
Thanks for your answer.
Development provisioning profile
the development provisioning profile is for testing your App on a device (iPad, iPhone, iPod Touch)
Ad hoc distribution provisioning profile
Adhoc testing is when you have completed development and want to distribute your app to multiple users for testing (your second question). Just create a distribution profile for adhoc testing and select all the device ids for which the profile is valid. In that case you will only need to send the .app file and .mobileprovision file to each user testing your app.
Details Desription:
If you'd like to install your software on several devices without using the App Store, you'll have to create an Ad Hoc distribution profile with the device ID numbers, and install that profile as well as the software, on all of the devices.
App store distribution provisioning profile
For submission of the app to app store, you have to create a distribution mobile provisional file with the "App Store" option selected.
1.you want to test your App then use - Development provisioning profile.
2.test multiple users without interaction with APP store then use - Ad hoc distribution provisioning profile
2.multiple users interaction with APP store then use - App store distribution provisioning profile

Resources