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

fix: use new provisioning profile directory for lookup #244

Merged
merged 7 commits into from
Sep 30, 2024

Conversation

hansemannn
Copy link
Contributor

@hansemannn hansemannn commented Sep 28, 2024

This PR adds support for the new provisioning profiles directory structure introduces in Xcode 16. Environments that had a previous Xcode installation installed and upgraded to 16 were not affected by this change, but all new / from scratch setups.

For a maximized backwards compatibility, we retain the old directory and use a "smart lookup" from both the old and new directory to ensure we don't miss any profile. Of course, custom directories are still supported as well, although that's not a widely used feature as it seems.

Finally, I changed some false-positive warnings that occurred when you didn't have certain profiles (e.g. adhoc or production), which never made sense, as some developers maybe don't have production or adhoc profiles on their device and don't need them.

  • Successfully verified by the community!

@hansemannn
Copy link
Contributor Author

@cb1kenobi Ready for review! :)

@cb1kenobi
Copy link
Contributor

@hansemannn cool, will review/test when I get a moment. Thanks!

lib/provisioning.js Outdated Show resolved Hide resolved
lib/provisioning.js Outdated Show resolved Hide resolved
lib/provisioning.js Show resolved Hide resolved
lib/provisioning.js Outdated Show resolved Hide resolved
Copy link
Contributor

@cb1kenobi cb1kenobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@cb1kenobi cb1kenobi merged commit d485843 into 1_7_X Sep 30, 2024
1 check passed
@hansemannn hansemannn deleted the fix/new-provisioning-profile-directory branch September 30, 2024 07:59
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