Created
December 7, 2018 03:51
-
-
Save Mahabali/64310f94af17a53514476f9b0454bad4 to your computer and use it in GitHub Desktop.
Dealing with "error: exportArchive: No "iOS In House" profiles for team" or error: exportArchive: No "adhoc " profiles for team
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Below is a common error when trying to setup CI/CD using fastlane or raw XcodeBuild/Xcrun command | |
"error: exportArchive: No "iOS In House" profiles for team" or error: exportArchive: No "adhoc In House" profiles for team | |
Fixing it : | |
1) Easiest way is to make a build archive in Xcode, Export using organizer and Saving it in a folder. | |
2) Go to the folder, open Export Options.plist and replicate the same in Fastlane - build_app or gym - export options | |
3) In case of XcodeBuild - Replace the same in Export Options.plist which is provided in XCodeBuild command and try again | |
4) Make a build, thank me . | |
Fastlane Build Script | |
build_app(scheme: "Your scheme name", | |
clean:true, | |
skip_profile_detection:true, | |
output_directory:"output path", | |
codesigning_identity:"Copy this from xcode build settings - Code signing", | |
export_method: "enterprise", | |
export_options: { | |
method:"manual", | |
provisioningProfiles: { | |
"com.xxx.xxxxx" => "Copy this from xcode build settings - Provisioning profile" | |
}, | |
teamID:"Your team ID", | |
stripSwiftSymbols:false, | |
signingCertificate:"iPhone Distribution", | |
thinning:"<none>" | |
}, | |
) |
For AppStore Releases you need
export_method: "app-store",
That's great!!
works like a charm
work like a charm
very nice
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks! This helped immensely!