TelegramMessenger / Telegram-iOS

Telegram-iOS
5.56k stars 1.5k forks source link

Creating mobileprovision files #661

Open whamtet opened 2 years ago

whamtet commented 2 years ago

README.md states

I wish to run a personal edition of Telegram so will not need to distribute on the App Store. When I try building, Xcode complains about the missing mobileprovision files. Do I need to purchase an Apple developer license to get them? Clearer documentation on this would be appreciated, I can submit a PR myself once I have solved.

imWildCat commented 2 years ago

I have the same question. IMO, local Bazel build running on iOS simulators does not require provisioning profiles.

NaruFGT commented 2 years ago

You'll want to pay Apple for the code signing features. The ability to run an application for 7 days is available if you want to go that route. There are build options such as --disableProvisioningProfiles which you can use as well depending on what you're doing. This and other guides online can walk you through managing your free or full developer certificates. I'm sure there are guides for the provisioning profiles as well, though I don't know what is available if anything in the apple developer portal to a free user.