Understanding Provisioning Profiles and Certificates | Xcode | iOS App Development
HTML-код
- Опубликовано: 11 июл 2024
- Provisioning Profiles and Certificates have always been a pain point for iOS devs and in this video, I've explained profiles and certificates in detail. Why they are used, how they work, how are they created, public-private key pair and everything related code signing.
Chapters 👇🏼
00:00 Start
00:40 Why are they used
02:05 Provisioning Profiles
04:17 What does a profile contain
05:11 How does an app install from Xcode
06:40 Types of Provisioning Profile
08:11 How code signing works
08:45 Asymmetric Cryptography
09:48 Certificate Signing Request (CSR)
Thank you so much for this video. I subscribed after watching this video and I am re-watching in order to take notes and really understand. This is a topic that REALLY needs explanation!!! Thanks again!
thanks bro, helped me out. :)
thank you so much for the information, very very useful and needed.
12 mins that took 2:30 hrs to understand and summaries its flow ❤, Thanks a lot, its very useful, simple and rich 🌷
Great video. Really helps to wrap my head around the topic
thank u so much, this video is pure gold
very informative, well done!!
Great video, thanks!
Great, thanks for the explanation 👍
Great explanation! Thanks for your time
very crisp explanation , thanks
Thanks for this very informative video.
You made all these processes so easy!
Thank you very useful videos.
Nice video. Thanks
Thanks a looooot brother
You are rockstar :D thank a ton!
awsm explaination. first time samaj me aaya ye bcz of you!
Great stuff. Got a lot of understanding of things :)
Glad it was helpful!
Thank you !!! It was very much knowledgeable !!! 🙏
Glad that you like it 🙂
Thanks for listening my request and giving this understanding in deep.. thanks a lot
Thanks Vishal. Your support keeps me motivated 🙂
Such a thorough walkthrough my man! Appreciate it.
Very needful...Thanks for making lecture😊
Thanks Vaibhav, glad that you liked it 🙂
Great explanation
Thank you so much.. very informative..
Glad it was helpful! 👍🏼
Wow...great.thanks for the same . Really worthy.
Thanks for the kind words. This keeps me motivated 🙂
Thank you so much for such informative video. It was very informative video for me.
One thing which want to ask is, I saw my peers to export the certificate and share with others. What is that process and what is the logic behind it?
Very well describe
Thanks a lot 🙂
Very useful for a beginner.
thanks and you are very good.
So nice of you 🙂
Thank-you, this was sorely needed. I wish apple made this entire process more supported with documentation and example walk throughs. But i feel like I understand the core concepts so much easier now after you simple explanations. Thank-you!
well explained
Thanks Seemant 🙂
Hate how Apple make this sooooooooooooooooo complicated 😠 but loved your intention to help. Thank you!
Very nice keep posting
Thanks Pawan, glad that you liked it 🙂
Really nice
Thanks Alan, I’m glad that you liked it 🙂
nice
love your channel Sir.
Thanks, I’m glad that you like my content 🙂
Im almost finished with my first tvOS app a d hope to release by July. Any tips or links on what the future of making apps for the aTV
Hi Pallav, In case of Ad Hoc provisioning profiles, Only those testing devices will be authorised to install that Ad Hoc build which are registered in Ad Hoc provisional profile, right?? Kindly give us some more clarification on this.
Thank you for this detailed information. Can someone guide me. Got an email from Apple. Distribution certificate no longer be valid. What should I do? Also I am not getting part issuing CA for keychain? What option to choose?
such a detailed, and in-depth explanation. Thanks so so much for this bro. :))
Glad that you liked the video, thanks 🙂
Hi, thanks a lot for this informative video and your hardwork. I had to ask now since we have "Automatically manage signing" option do we need to worry about manually signing?
And if we switch device for signing, does it affect signing app?
I think you'd need to add your new devices UUID to the provisioning profile, that makes sense to me
Hi Pallav, Please confirm video at on 5:22 - 6:25, UUID is (Universally Unique Identifier) UDID is (Unique Device Identifier) which is also a device identifier.
Does this have to be done through your main admin account or can it be done through the developer account?
How is a certificate related to a provisioning profile? Do we use a single provisioning profile for all apps or one for each? How are both these things related to Teams?
hey i need help with actual xcode setup
i need to use actual device to test apple login. (from my understanding its broken on emulators) I have everything selected (automatic signing and the personal team) but i get "No profiles for xxx' were found
Xcode couldn't find any iOS App Development provisioning profiles matching.
However xxx is the bundle identifier for the app that was taken down for not having apple login.
I have a free account but im part of the team on the paid account.
Any help would be appreciated.
The other error i get:
Cannot create a iOS App Development provisioning profile for "xxx". Personal development teams, including "name redacted", do not support the Sign in with Apple and In-App Purchase capabilities.
Greate video man, may you please share the slides?
Very informative video...Could you elaborate when we use enterprise profile? Is it dev or distribution?
It’s different from dev and distribution.
If you need to test your beta application with a large group of testers you need to collect every single testers iOS device UDID, which is highly impractical. Besides that, Apple does not support more than 100 registered Ad Hoc devices for an app. You can circumvent this by using an Apple Enterprise certificate. This is a separate account that costs a bit more than a standard developer account. It does not have the possibility to deploy apps on the regular App Store, but you will get this: With Enterprise signing of your apps, you can run your apps on any device, without having to register the UDIDs in advance!
Source:
getupdraft.com/blog/ios-code-signing-development-and-distribution-prov
很棒的內容!請問這簡報是用什麼工具做的?
Very well explained, Enterprise certificate is missed😬
Can someone help me? I am just Learning Swift and SwiftUI with a Course, and had made 3 little projects so far. Now, when I went back to the first project, it would not let me build because of some signing and Team errors. I don’t want to publish something, nor to pay anything, I just want to play around and learn. How can I solve this ?
My development provisioning profile was expired so I created new development certificate using the same CSR file which I used a year ago. But when I download the newly created development certificate and install it by double click the private key is missing in keychain access. although it says the certificate is valid. I also created the provisioning profile using that newly created development certificate and in the end I get error in Xcode when I select the development profile. The error is (No "iOS Development" signing certificate matching team ID "XXXXXXXX" with a private key was found.).
Anyone here who faced the same issue??
please make more video on code signing for exe. how to make csr and how to convert them into certificate
Thanks for the suggestion Hardip. I’ll try to cover these things soon (maybe in a video that I’m planning to do on release process).
hello, I need a help. Is anyone know about iOS developer certificate code signing or apn ? please help.
I got this "apple distribution certificate not trusted " error what i need to do without asking new certificate or .p12 file can anyone help?
Hi! Just want to know if i replace the developer of the app should i replace the profiles, certificate and identifier also? or can i replace the profile, identifier and certificate for the new develop. thank you for your help.
You don’t need to replace anything, nw develop can use the same certificates and profiles. If you change the bundle identifier, then it will be treated as a new app.
May you plz add link to presentation
Thanks for clarification on code signing and provisioning steps, types of profiles explanation could have been better.
Thanks for the feedback Ragu 🙂
Can you teach us actual coding within our computers ?
Such a detailed and in depth explanation, Really informative video ,Thanks 🙏
Can you pls elobrate more on adhoc, distribution, development and so on in detail. What is the differences between these?
Yes Ashwin, I’ve been receiving messages for the same and I’ll try to cover it in one of the videos that I’ll be doing on release process. 🙂
@@iCode_Happy_Coding appreciate it. Thank you for your response
Can you please post a video on how to generate ipa file and install in real device for developers testing
That’s nice suggestion Trinath. I’ll look for covering it.
Thanks 🙂
Nic animations
Thanks 🙂
@@iCode_Happy_Coding How did made those animations with hidden texts?
I used Prezi for creating that.
What will happen if I want to add couple of new devices to existing developer provisioning profile? Do I need to download new provisioning profile and broadcast to whole team ?
@poonam if you feel to add new devices for testing, first you have to add the respective devices in the app store connect device list. Then each developer has to redownload their manual profiles from the Xcode by going into the accounts sections.
Nice video, finally understand their stupid workflow. Not sure why it has to be so complex.
At timestamp 6:00 I think you confused udid with uuid. I think it should be udid instead of uuid.
What is the impact on app whose certificate/ provisioning profile expires after uploading to appstore ?
@azmath It does not impact existing users who are already installing the app, but the developer can't able to push any updates until those certificates or profiles are renewed.
gold
Thanks Harinder, glad that you liked it 🙂
we should have Developer account for creating certificate ? if yes than how much certificate can be created by 1 developer account
Yes, you need a account for creating certificates. A maximum of 3 distribution certificates can be created. After that, you’ll have to revoke one of them.
@@iCode_Happy_Coding what's different between provisional certificate n distribution certificate
There’s nothing like provisional certificate. It’s provisioning profile, and distribution certificates. If you mean the difference between profile and certificates, please watch the video, I’ve explained in detail.
@@iCode_Happy_Coding Thanks
Hello Friend, this is an amazing video.. Got a lot of information. But I just want to know how I can create an IPA file for realtime company project..
Didn't get you completely. Did you mean how can you create an IPA? It's same - Archive -> Distribute.
If you meant any in-house project (that will be used only within organisation), you can do the same thing. A different bundle id, and then distribute it using enterprise provisioning profile.
Unless I got you wrong.
@@iCode_Happy_Coding Thanks for ur reply! I want to know what is required (prerequisites) to create IPA file like apple account etc. then archieving and whole procedure practically... Even from starting that adding app ID, downloading profile provisioning evrything I want to know. Again further if possible then how I can reduce iOS app size -> practically
Thanks for the suggestion Prachi. I'll try to cover these things. I'll try to make a video on Release Process covering these stuff and CI/CD maybe. Not sure about when I'll be able to do that, but I'll try.
@@iCode_Happy_Coding Okay. ..Thank you :)
Everything is nice but unable to see some of the content which is covered by you.
UDID
1:04
Its a great information but i feel if you could have shown it through the process rather than speaking out. i reckon it will help lots of us.
Goal is to have a backend fully controlled device with moderated moderators aka prison phone. Closed source crypto os lockdown for you - high barr scurity promised from manufaktory.
Not ready for the barking dogs
thanks for this i needed just a real bare bones breakdown, more to bolster my understanding than to learn it, your english is a little broken though (i appreciate its your second third fourth laguage) but things like "what all devices" makes no sense, great content though loved your analogies
Thanks for the feedback Martin. I’m glad that you liked the video🙂
too complex to understand
I’m trying to upload my game to the iOS App Store.
But when I try to run the final build with all the provision certificates, I still get this error after getting a successful build
Unable to install “GAME”
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620395
User Info: {
DVTErrorCreationDateKey = "2022-10-26 13:16:09 +0000";
IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
--
A valid provisioning profile for this executable was not found.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620395
Any help to resolve this is IMMENSELY appreciated.
Thanks