Skip to content

Commit de9d84d

Browse files
authored
Fix: Configure automatic export compliance bypass for TestFlight (#61)
* fix: Add export compliance key to resolve TestFlight Missing Compliance issue Added ITSAppUsesNonExemptEncryption=false to Info.plist to declare that the app only uses exempt encryption (HTTPS/SSL/TLS for network connections). This resolves the Missing Compliance warning in TestFlight without requiring export compliance documentation. * fix: Configure automatic export compliance bypass for TestFlight releases - Added ITSAppUsesNonExemptEncryption=false to Info.plist - Enhanced Fastlane configuration with explicit export compliance parameters - Added export compliance flags to build_ipa, distribute_beta, and beta lanes - Configured IPA export options to include compliance metadata This ensures the release pipeline can automatically publish to TestFlight internal track without manual export compliance intervention. The app only uses standard HTTPS/SSL/TLS encryption which is exempt from export compliance documentation.
1 parent d806a47 commit de9d84d

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

V2er/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,7 @@
5656
</array>
5757
<key>UIViewControllerBasedStatusBarAppearance</key>
5858
<true/>
59+
<key>ITSAppUsesNonExemptEncryption</key>
60+
<false/>
5961
</dict>
6062
</plist>

fastlane/Fastfile

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ platform :ios do
4242
provisioningProfiles: {
4343
"v2er.app" => "match AppStore v2er.app"
4444
},
45-
teamID: ENV["TEAM_ID"]
45+
teamID: ENV["TEAM_ID"],
46+
ITSAppUsesNonExemptEncryption: false, # Add export compliance to IPA
47+
uploadBitcode: false,
48+
compileBitcode: false,
49+
uploadSymbols: true
4650
},
4751
export_team_id: ENV["TEAM_ID"],
4852
xcargs: "-allowProvisioningUpdates CODE_SIGN_STYLE=Manual",
@@ -85,7 +89,9 @@ platform :ios do
8589
wait_for_uploaded_build: true,
8690
groups: ["Github Actions Internal"], # Auto-distribute to Github Actions Internal group
8791
notify_external_testers: false, # No external notifications
88-
uses_non_exempt_encryption: false # Mark as no encryption to skip export compliance review
92+
uses_non_exempt_encryption: false, # Mark as no encryption to skip export compliance review
93+
export_compliance_uses_encryption: false, # Explicitly state no encryption
94+
export_compliance_is_exempt: true # Exempt from export compliance
8995
)
9096

9197
UI.success("✅ Successfully distributed build to internal testers (Github Actions Internal)!")
@@ -180,7 +186,14 @@ platform :ios do
180186
distribute_external: is_public_beta, # Internal testing by default, external for public beta
181187
distribute_only: false, # Upload and distribute in one action
182188
changelog: changelog_content, # Use changelog from CHANGELOG.md
183-
uses_non_exempt_encryption: false # Mark as no encryption to skip export compliance review
189+
uses_non_exempt_encryption: false, # Mark as no encryption to skip export compliance review
190+
export_compliance_uses_encryption: false, # Explicitly state no encryption for export compliance
191+
export_compliance_platform: 'ios', # Specify platform for export compliance
192+
export_compliance_compliance_required: false, # No additional compliance documentation required
193+
export_compliance_app_type: nil, # Not applicable since we don't use encryption
194+
export_compliance_encryption_updated: false, # No encryption changes
195+
export_compliance_contains_third_party_cryptography: false, # No third-party cryptography
196+
export_compliance_is_exempt: true # Exempt from export compliance
184197
}
185198

186199
# Add channel-specific distribution parameters

0 commit comments

Comments
 (0)