ios distribution provisioning profile deleted - ios

My app is online now, and users can download it from app store. I accidentally deleted the distribution provisioning profile it uses from my developer center and would this affect users to download my app from app store?

No this will not make any effect on your live apps.

Related

What will happen when iOS provisioning profile will expire

I would like to know what will happen with an app in mdm store or on a device when the provisioning profile will expire. Following provisioning profiles are in my interest: developer, ad-hoc, App Store, entreprise developer, entreprise ad-hoc, entreprise in-house.
The app that already installed on the devices would not open, it would crash on launch.
App would not be able to install on new devices.
That apply only for an app that has been distributed outside of Appstore.
If the app was downloaded from Appstore and you invalidate/expire it's Appstore certificate, nothing would happen to it.

Why does an iOS App Store app still launch when the distribution provisioning profile expires?

From experience I have found that an app distributed with enterprise distribution certificate and provisioning profile will fail to launch when the provisioning profile expires, even if the distribution certificate is still valid. Why is this not the case for App Store apps?
This question is very similar to the following posts, but to my best knowledge there is no question that explains why this is true. I was unable to find this information in the current Apple Developer documentation.
Related Questions:
Expiring App Store Provisioning Profile
How can I update my App in the App Store if the Distribution Provisioning Profile expired?
Renew Provisioning Profiles (Distribution) and keep current Appstore Apps working
App Store apps are signed by Apple and therefore don't include a provisioning profile from the developer.
If a developer doesn't renew their program membership, then they can no longer update or sell apps on the App Store, but the apps need to keep working for people who have purchased/downloaded them, otherwise the user will have a bad experience. To make this happen the provisioning of those apps is signed by Apple, not the developer.
Also, a developer may not release a new version for a long period of time. Again, if app executing was dependent on a provisioning profile from the developer, then the app would stop working giving a bad experience.
In the case of Enterprise Apps, Apple is not involved in the app distribution, and the provisioning profile is tied to the Enterprise program membership. Requiring period replacement of the provisioning profiles ensures that the membership is kept current. It also provides an additional element of "safety" where an enterprise app that is installed on a device that is no longer under the control of the enterprise or no longer has access to updates will stop working after a period of time.

What is the purpose of the App Store provisioning profile?

I know the obvious answer : it's for distributing apps on the app store. But I have an app approved for release on iTunes Connect with no App Store profile. I just have an Ad Hoc distribution profile installed. What purpose does an App Store distribution profile serve ? I submit my apps through the Test flight program, is it not a problem as long as the build was verified and approved ? I don't want to risk the app somehow not working once it's on the app store.
To understand what is the purpose of App store provisioning profile we need to check the difference between them first.
Ad-Hoc Distribution :
By using this, App can be installed on 100 devices designated by the developer on his provisioning portal. We can prepare build using this only for beta testing or demos.
App-store Distribution :
By using this we can prepare build of the App to deploy to App store submission.
Your case:
As you mentioned that you submitted app with using ad-hoc distribution profile & its approved & ready for sale now.
Try to install that live app on the device, for which UDID is not added to Ad-hoc distribution profile. It will not allow to install.
That is the only difference.
I hope it will help you.
If your app made it this far and was approved for release, you're fine. In all probability if you go to the Member Center you'll find that an app store distribution profile was generated for you.
This should be helpful:
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html
Code signing is used in combination with your App ID, provisioning profile, and entitlements to ensure that:
Your app is built and signed by you or a trusted team member.
Apps signed by you or your team run only on designated development devices.
Apps run only on the test devices you specify.
Your app isn’t using app services you didn’t add to your app.
Only you can upload builds of your app to iTunes Connect.
If you choose to distribute outside of the store (Mac only), the app can’t be modified and distributed by someone else.

how create second app iphone/ipad and publish?

What should I do if I want to make and publish a new application for iphone/ipad, when I already have an iphone/ipad app that was was published through itunes connect? Do I need to create new app IDs and provisioning profiles?
sorry if my question just like the others, it's just that I was confused and wanted a detailed explanation.
Sorry my english bad.
Yes, you need a unique App ID for every app you publish, and the provisioning profile must use that app ID.
You should:
Code your app.
Make in Provisioning Portal App ID.
Create in Provisioning Portal distribution provisioning profile.
Download and install distribution provisioning profile to your Xcode.
Build and sign your app with your distribution provisioning profile.
Create app profile in iTunes Connect.
Upload to your app profile needed artwork and your app.
Wait for Apple review of your app.
Depending on review:
App review successful - Profit.
App review failed - modify your app and repeat steps 5, 7 and 8.

What happens when provision profile expires?

When I add my provisioning profile to Xcode through the Organizer, I can see that the profile is set to 3 month duration only.
My question is, if I deploy an app to the test device using the above profile. And after 3 months of the app installed on the device, if I open the app would it work or the app will fail to load due to the expired profile?
How does it usually work?
The app will fail to launch due to the expired profile. You will need to renew the provisioning profile and install that renewed profile on the device; or rebuild and reinstall the app with another non-expired profile. A developer also has to keep their $99 developer enrollment from expiring in order to keep being able to renew or create new provisions.
Ad Hoc profiles have longer expiration dates. But if you want an app that doesn't expire, the only alternative for stock OS iOS devices is to have it approved by Apple and then download it from the App store. After you download the app, you have the option of removing it from sale.

Resources