-
Notifications
You must be signed in to change notification settings - Fork 48
Fix: Configure automatic export compliance bypass for TestFlight #61
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -42,7 +42,11 @@ platform :ios do | |||||
| provisioningProfiles: { | ||||||
| "v2er.app" => "match AppStore v2er.app" | ||||||
| }, | ||||||
| teamID: ENV["TEAM_ID"] | ||||||
| teamID: ENV["TEAM_ID"], | ||||||
| ITSAppUsesNonExemptEncryption: false, # Add export compliance to IPA | ||||||
| uploadBitcode: false, | ||||||
| compileBitcode: false, | ||||||
| uploadSymbols: true | ||||||
| }, | ||||||
| export_team_id: ENV["TEAM_ID"], | ||||||
| xcargs: "-allowProvisioningUpdates CODE_SIGN_STYLE=Manual", | ||||||
|
|
@@ -85,7 +89,9 @@ platform :ios do | |||||
| wait_for_uploaded_build: true, | ||||||
| groups: ["Github Actions Internal"], # Auto-distribute to Github Actions Internal group | ||||||
|
||||||
| notify_external_testers: false, # No external notifications | ||||||
| uses_non_exempt_encryption: false # Mark as no encryption to skip export compliance review | ||||||
| uses_non_exempt_encryption: false, # Mark as no encryption to skip export compliance review | ||||||
|
||||||
| uses_non_exempt_encryption: false, # Mark as no encryption to skip export compliance review | |
| uses_non_exempt_encryption: false, # Only exempt (standard TLS) encryption used |
Copilot
AI
Oct 18, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Export compliance flags are duplicated across lanes; centralize them (e.g., helper method or shared hash) to reduce drift and simplify updates. Additionally, consider only the minimal necessary keys (uses_non_exempt_encryption plus, if applicable, export_compliance_is_exempt) to avoid noise.
Copilot
AI
Oct 18, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Setting export_compliance_is_exempt true while also declaring uses_non_exempt_encryption false and export_compliance_uses_encryption false is redundant; exemption only matters if encryption is used but exempt. Remove export_compliance_is_exempt when uses_encryption is false to prevent contradictory metadata.
| export_compliance_is_exempt: true # Exempt from export compliance |
Copilot
AI
Oct 18, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct capitalization of 'Github' to 'GitHub' to match the proper brand name.
Copilot
AI
Oct 18, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Setting export_compliance_is_exempt true while also declaring uses_non_exempt_encryption false and export_compliance_uses_encryption false is redundant; exemption only matters if encryption is used but exempt. Remove export_compliance_is_exempt when uses_encryption is false to prevent contradictory metadata.
Copilot
AI
Oct 18, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Passing export_compliance_app_type: nil adds an unnecessary key; omit the parameter entirely when not applicable to produce cleaner metadata.
| export_compliance_app_type: nil, # Not applicable since we don't use encryption |
Copilot
AI
Oct 18, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Export compliance flags are duplicated across lanes; centralize them (e.g., helper method or shared hash) to reduce drift and simplify updates. Additionally, consider only the minimal necessary keys (uses_non_exempt_encryption plus, if applicable, export_compliance_is_exempt) to avoid noise.
Copilot
AI
Oct 18, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Setting export_compliance_is_exempt true while also declaring uses_non_exempt_encryption false and export_compliance_uses_encryption false is redundant; exemption only matters if encryption is used but exempt. Remove export_compliance_is_exempt when uses_encryption is false to prevent contradictory metadata.
| export_compliance_is_exempt: true # Exempt from export compliance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ITSAppUsesNonExemptEncryption is an Info.plist key and not a valid export option for the export_options hash; it will be ignored here. Remove it from export_options (line 46) and rely on the Info.plist addition instead.