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

Adjust provisioning profile path in script for Xcode 16 compatibility #2241

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

bjorkert
Copy link
Contributor

@bjorkert bjorkert commented Oct 9, 2024

Summary:
• Reverted Common/Models/BuildDetails.swift to its state before the “xcode16_profile_support” merge.
• Updated Scripts/capture-build-details.sh to search for .mobileprovision files in both Xcode 15.4 and Xcode 16 locations.

Background:
Loop expects a provisioning profile expiration date even for browser builds. However, this expiration date is not available at runtime for TestFlight-deployed apps and therefore the suggested solution in "xcode16_profile_support" did not work.

To resolve this, we have reverted BuildDetails.swift and updated the .sh script to correctly locate the provisioning profile for both Xcode 15.4 and Xcode 16 without requiring changes to Loop’s runtime behavior. This avoids the need for refactoring Loop to handle missing expiration dates differently.

Testing:
• Verified with Mac Xcode 15.4 build
• Verified with Mac Xcode 16 build
• Verified with Browser Build/TestFlight-deployment

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.

1 participant