Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature / Show development profile warning #248

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

iosdec
Copy link

@iosdec iosdec commented Oct 3, 2023

Overview

Recently, I noticed a lot of people (including myself) have ran into this issue:

A valid provisioning profile for this executable was not found.

This is caused by the wrong provisioning profile being used. For example, many use cases for this application, are for Ad-Hoc .ipa installations; development provisioning profiles will not work for Ad-Hoc builds, and the user will receive the error above when trying to install the .ipa (through Xcode, ideviceinstaller, etc).

As you can see below, i've added a box for Show dev warning. When this is checked, and a development provisioning profile is selected, a warning will be displayed on screen for the user. I added this checkbox so the user is able to disable this.

Full changes

  • Refactored some code
  • Tidied up some code formatting to be more readable
  • Added functionality in ProvisioningProfile to check the get-task-allow (isDevelopment) value.
  • Performing this isDevelopment when a provisioning profile is selected.
  • Added a checkbox to enable/disable the isDevelopment check alert.
  • Updated min version to 10.13 to disable deprecation warnings.
  • Changed signing identity to local.

The project should now run without any changes being made to signing identity.

Screenshots

Screenshot 2023-10-03 at 10 11 41

iosdec added 3 commits October 3, 2023 10:01
…ected/dropped provisioning profile is a development certificate. if so, a warning will be displayed.
@DanTheMan827
Copy link
Owner

I think the better option might be a confirmation dialog if a development profile is detected rather than a checkbox to enable or disable detection.

that being said, it would depend on the intended use. I sign apps with the development profile as I’m only installing them on devices registered to my account, so being asked if that’s really what I want would be somewhat annoying.

@DanTheMan827 DanTheMan827 self-assigned this Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants