Fastlane GitHub Actions (GitHub runner) - Error: No profiles for 'com.companyName.app' were found #21834
Unanswered
ahrorjabborov
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I have been trying to fix the issue with GitHub Actions. We are trying to use GitHub runners with Fastlane. But we face the following issue:
Cloning remote git repo...
[20:48:01]: If cloning the repo takes too long, you can use the clone_branch_directly option in match.
[20:48:02]: Checking out branch master...
[20:48:02]: 🔓 Successfully decrypted certificates repo
[20:48:02]: Installing certificate...
[20:48:03]: There are no local code signing identities found.
You can run security find-identity -v -p codesigning fastlane_tmp_keychain to get this output.
This Stack Overflow thread has more information: https://stackoverflow.com/q/35390072/774.
(Check in Keychain Access for an expired WWDR certificate: https://stackoverflow.com/a/35409835/774 has more info.)
[20:48:03]: Setting key partition list... (this can take a minute if there are a lot of keys installed)
[20:48:03]: security: SecItemCopyMatching: The specified item could not be found in the keychain.
[20:48:03]: Setting key partition list... (this can take a minute if there are a lot of keys installed)
20:48:12: --- Step: build_ios_app ---
20:48:12: ---------------------------
20:48:12: Resolving Swift Package Manager dependencies...
20:48:12: $ xcodebuild -resolvePackageDependencies -workspace AppName.xcworkspace -scheme AppName -configuration Release
[20:48:13]: ▸ Command line invocation:
[20:48:13]: ▸ /Applications/Xcode_14.2.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -workspace AppName.xcworkspace -scheme AppName -configuration Release
[20:48:13]: ▸ User defaults from command line:
[20:48:13]: ▸ IDEPackageSupportUseBuiltinSCM = YES
[20:48:22]: ▸ --- xcodebuild: WARNING: Using the first of multiple matching destinations:
[20:48:22]: ▸ { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
[20:48:22]: ▸ { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
[20:48:22]: ▸ { platform:iOS Simulator, id:A29C627F-D4C2-4A7E-A811-FE9AAE184261, OS:16.2, name:iPhone 8 }
[20:48:22]: ▸ { platform:iOS Simulator, id:F652866F-388C-4B44-8464-169430CB6DD9, OS:16.2, name:iPhone 8 Plus }
[20:48:22]: ▸ { platform:iOS Simulator, id:4ADF2437-A5EA-443C-B5B2-05A2AD97DA97, OS:16.2, name:iPhone 11 }
[20:48:22]: ▸ { platform:iOS Simulator, id:3070A3E5-17FB-4441-A9B9-031284003CE5, OS:16.2, name:iPhone 11 Pro }
[20:48:22]: ▸ { platform:iOS Simulator, id:B7F89FF5-2FE9-4E6B-93A7-A8A9CB6D793B, OS:16.2, name:iPhone 11 Pro Max }
[20:48:22]: ▸ { platform:iOS Simulator, id:1212A947-F2AF-4982-A141-800776EAAD4B, OS:16.2, name:iPhone 12 }
[20:48:22]: ▸ { platform:iOS Simulator, id:FCFC79A8-1A68-417E-846B-080334874AF2, OS:16.2, name:iPhone 12 Pro }
[20:48:22]: ▸ { platform:iOS Simulator, id:F6C9BE1A-B843-4D19-8932-5D69812902F7, OS:16.2, name:iPhone 12 Pro Max }
[20:48:22]: ▸ { platform:iOS Simulator, id:A153A9E4-8C8C-4DFD-8F83-4F51E82539BA, OS:16.2, name:iPhone 12 mini }
[20:48:22]: ▸ { platform:iOS Simulator, id:C2A3FD28-9ED4-42E0-BC5A-2B1F7C6F5420, OS:16.2, name:iPhone 13 }
[20:48:22]: ▸ { platform:iOS Simulator, id:5D20BD6D-F5D7-45B6-951D-D698351A36F2, OS:16.2, name:iPhone 13 Pro }
[20:48:22]: ▸ { platform:iOS Simulator, id:E1BFCFC9-2565-429D-92C5-9F5CE5EC9296, OS:16.2, name:iPhone 13 Pro Max }
[20:48:22]: ▸ { platform:iOS Simulator, id:44BF8094-B361-4491-AD92-42A2DD0F6CF0, OS:16.2, name:iPhone 13 mini }
[20:48:22]: ▸ { platform:iOS Simulator, id:EE18D4B6-031F-4B17-9C36-3C2C5C0FEDD5, OS:16.2, name:iPhone 14 }
[20:48:22]: ▸ { platform:iOS Simulator, id:B98DCB09-7213-4691-9CFC-89DECB4F840C, OS:16.2, name:iPhone 14 Plus }
[20:48:22]: ▸ { platform:iOS Simulator, id:C6D84733-0788-4941-863C-E8AB7FE0CC23, OS:16.2, name:iPhone 14 Pro }
[20:48:22]: ▸ { platform:iOS Simulator, id:9C1BA654-4AB4-4F38-A132-C0B68AF8F69E, OS:16.2, name:iPhone 14 Pro Max }
[20:48:22]: ▸ { platform:iOS Simulator, id:E6C111F6-C4AE-49D8-8DC3-2C2213241C89, OS:16.2, name:iPhone SE (2nd generation) }
[20:48:22]: ▸ { platform:iOS Simulator, id:7956B007-27A7-4BD6-9D87-F1675FCEB6C3, OS:16.2, name:iPhone SE (3rd generation) }
[20:48:22]: ▸ { platform:iOS Simulator, id:8EA45C6F-F746-4D9E-A77E-423FBB74ADF8, OS:16.2, name:iPad (9th generation) }
[20:48:22]: ▸ { platform:iOS Simulator, id:A848D44C-998B-4970-94D0-2EE83A3B2BA1, OS:16.2, name:iPad (10th generation) }
[20:48:22]: ▸ { platform:iOS Simulator, id:7B7313FC-B138-4F87-85B3-9F46BC90472A, OS:16.2, name:iPad Air (4th generation) }
[20:48:22]: ▸ { platform:iOS Simulator, id:3A1AB2AD-D8D7-4CCB-992F-B485AE370D76, OS:16.2, name:iPad Air (5th generation) }
[20:48:22]: ▸ { platform:iOS Simulator, id:E968DCAE-AAA6-4704-95C2-E44E62ACC1D4, OS:16.2, name:iPad Pro (9.7-inch) }
[20:48:22]: ▸ { platform:iOS Simulator, id:1DD65B1B-60C4-4312-A353-3B8A9490BCD8, OS:16.2, name:iPad Pro (11-inch) (3rd generation) }
[20:48:22]: ▸ { platform:iOS Simulator, id:453D0751-AD97-4E95-B374-D57F27D660D1, OS:16.2, name:iPad Pro (11-inch) (4th generation) }
[20:48:22]: ▸ { platform:iOS Simulator, id:278B721A-E710-46D3-AB78-9AA5B6E8C06D, OS:16.2, name:iPad Pro (12.9-inch) (5th generation) }
[20:48:22]: ▸ { platform:iOS Simulator, id:69764331-F94F-4663-A789-0CFA6A56637D, OS:16.2, name:iPad Pro (12.9-inch) (6th generation) }
[20:48:22]: ▸ { platform:iOS Simulator, id:163B811F-897C-442C-90C6-D6A460CFEB92, OS:16.2, name:iPad mini (6th generation) }
[20:48:22]: ▸ resolved source packages:
[20:48:22]: $ xcodebuild -showBuildSettings -workspace AppName.xcworkspace -scheme AppName -configuration Release
[20:48:25]: Command timed out after 3 seconds on try 1 of 4, trying again with a 6 second timeout...
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:A29C627F-D4C2-4A7E-A811-FE9AAE184261, OS:16.2, name:iPhone 8 }
{ platform:iOS Simulator, id:F652866F-388C-4B44-8464-169430CB6DD9, OS:16.2, name:iPhone 8 Plus }
{ platform:iOS Simulator, id:4ADF2437-A5EA-443C-B5B2-05A2AD97DA97, OS:16.2, name:iPhone 11 }
{ platform:iOS Simulator, id:3070A3E5-17FB-4441-A9B9-031284003CE5, OS:16.2, name:iPhone 11 Pro }
{ platform:iOS Simulator, id:B7F89FF5-2FE9-4E6B-93A7-A8A9CB6D793B, OS:16.2, name:iPhone 11 Pro Max }
{ platform:iOS Simulator, id:1212A947-F2AF-4982-A141-800776EAAD4B, OS:16.2, name:iPhone 12 }
{ platform:iOS Simulator, id:FCFC79A8-1A68-417E-846B-080334874AF2, OS:16.2, name:iPhone 12 Pro }
{ platform:iOS Simulator, id:F6C9BE1A-B843-4D19-8932-5D69812902F7, OS:16.2, name:iPhone 12 Pro Max }
{ platform:iOS Simulator, id:A153A9E4-8C8C-4DFD-8F83-4F51E82539BA, OS:16.2, name:iPhone 12 mini }
{ platform:iOS Simulator, id:C2A3FD28-9ED4-42E0-BC5A-2B1F7C6F5420, OS:16.2, name:iPhone 13 }
{ platform:iOS Simulator, id:5D20BD6D-F5D7-45B6-951D-D698351A36F2, OS:16.2, name:iPhone 13 Pro }
{ platform:iOS Simulator, id:E1BFCFC9-2565-429D-92C5-9F5CE5EC9296, OS:16.2, name:iPhone 13 Pro Max }
{ platform:iOS Simulator, id:44BF8094-B361-4491-AD92-42A2DD0F6CF0, OS:16.2, name:iPhone 13 mini }
{ platform:iOS Simulator, id:EE18D4B6-031F-4B17-9C36-3C2C5C0FEDD5, OS:16.2, name:iPhone 14 }
{ platform:iOS Simulator, id:B98DCB09-7213-4691-9CFC-89DECB4F840C, OS:16.2, name:iPhone 14 Plus }
{ platform:iOS Simulator, id:C6D84733-0788-4941-863C-E8AB7FE0CC23, OS:16.2, name:iPhone 14 Pro }
{ platform:iOS Simulator, id:9C1BA654-4AB4-4F38-A132-C0B68AF8F69E, OS:16.2, name:iPhone 14 Pro Max }
{ platform:iOS Simulator, id:E6C111F6-C4AE-49D8-8DC3-2C2213241C89, OS:16.2, name:iPhone SE (2nd generation) }
{ platform:iOS Simulator, id:7956B007-27A7-4BD6-9D87-F1675FCEB6C3, OS:16.2, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:8EA45C6F-F746-4D9E-A77E-423FBB74ADF8, OS:16.2, name:iPad (9th generation) }
{ platform:iOS Simulator, id:A848D44C-998B-4970-94D0-2EE83A3B2BA1, OS:16.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:7B7313FC-B138-4F87-85B3-9F46BC90472A, OS:16.2, name:iPad Air (4th generation) }
{ platform:iOS Simulator, id:3A1AB2AD-D8D7-4CCB-992F-B485AE370D76, OS:16.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:E968DCAE-AAA6-4704-95C2-E44E62ACC1D4, OS:16.2, name:iPad Pro (9.7-inch) }
{ platform:iOS Simulator, id:1DD65B1B-60C4-4312-A353-3B8A9490BCD8, OS:16.2, name:iPad Pro (11-inch) (3rd generation) }
{ platform:iOS Simulator, id:453D0751-AD97-4E95-B374-D57F27D660D1, OS:16.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:278B721A-E710-46D3-AB78-9AA5B6E8C06D, OS:16.2, name:iPad Pro (12.9-inch) (5th generation) }
{ platform:iOS Simulator, id:69764331-F94F-4663-A789-0CFA6A56637D, OS:16.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:163B811F-897C-442C-90C6-D6A460CFEB92, OS:16.2, name:iPad mini (6th generation) }
2024-01-17 20:48:31.085 xcodebuild[65192:90619] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:A29C627F-D4C2-4A7E-A811-FE9AAE184261, OS:16.2, name:iPhone 8 }
{ platform:iOS Simulator, id:F652866F-388C-4B44-8464-169430CB6DD9, OS:16.2, name:iPhone 8 Plus }
{ platform:iOS Simulator, id:4ADF2437-A5EA-443C-B5B2-05A2AD97DA97, OS:16.2, name:iPhone 11 }
{ platform:iOS Simulator, id:3070A3E5-17FB-4441-A9B9-031284003CE5, OS:16.2, name:iPhone 11 Pro }
{ platform:iOS Simulator, id:B7F89FF5-2FE9-4E6B-93A7-A8A9CB6D793B, OS:16.2, name:iPhone 11 Pro Max }
{ platform:iOS Simulator, id:1212A947-F2AF-4982-A141-800776EAAD4B, OS:16.2, name:iPhone 12 }
{ platform:iOS Simulator, id:FCFC79A8-1A68-417E-846B-080334874AF2, OS:16.2, name:iPhone 12 Pro }
{ platform:iOS Simulator, id:F6C9BE1A-B843-4D19-8932-5D69812902F7, OS:16.2, name:iPhone 12 Pro Max }
{ platform:iOS Simulator, id:A153A9E4-8C8C-4DFD-8F83-4F51E82539BA, OS:16.2, name:iPhone 12 mini }
{ platform:iOS Simulator, id:C2A3FD28-9ED4-42E0-BC5A-2B1F7C6F5420, OS:16.2, name:iPhone 13 }
{ platform:iOS Simulator, id:5D20BD6D-F5D7-45B6-951D-D698351A36F2, OS:16.2, name:iPhone 13 Pro }
{ platform:iOS Simulator, id:E1BFCFC9-2565-429D-92C5-9F5CE5EC9296, OS:16.2, name:iPhone 13 Pro Max }
{ platform:iOS Simulator, id:44BF8094-B361-4491-AD92-42A2DD0F6CF0, OS:16.2, name:iPhone 13 mini }
{ platform:iOS Simulator, id:EE18D4B6-031F-4B17-9C36-3C2C5C0FEDD5, OS:16.2, name:iPhone 14 }
{ platform:iOS Simulator, id:B98DCB09-7213-4691-9CFC-89DECB4F840C, OS:16.2, name:iPhone 14 Plus }
{ platform:iOS Simulator, id:C6D84733-0788-4941-863C-E8AB7FE0CC23, OS:16.2, name:iPhone 14 Pro }
{ platform:iOS Simulator, id:9C1BA654-4AB4-4F38-A132-C0B68AF8F69E, OS:16.2, name:iPhone 14 Pro Max }
{ platform:iOS Simulator, id:E6C111F6-C4AE-49D8-8DC3-2C2213241C89, OS:16.2, name:iPhone SE (2nd generation) }
{ platform:iOS Simulator, id:7956B007-27A7-4BD6-9D87-F1675FCEB6C3, OS:16.2, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:8EA45C6F-F746-4D9E-A77E-423FBB74ADF8, OS:16.2, name:iPad (9th generation) }
{ platform:iOS Simulator, id:A848D44C-998B-4970-94D0-2EE83A3B2BA1, OS:16.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:7B7313FC-B138-4F87-85B3-9F46BC90472A, OS:16.2, name:iPad Air (4th generation) }
{ platform:iOS Simulator, id:3A1AB2AD-D8D7-4CCB-992F-B485AE370D76, OS:16.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:E968DCAE-AAA6-4704-95C2-E44E62ACC1D4, OS:16.2, name:iPad Pro (9.7-inch) }
{ platform:iOS Simulator, id:1DD65B1B-60C4-4312-A353-3B8A9490BCD8, OS:16.2, name:iPad Pro (11-inch) (3rd generation) }
{ platform:iOS Simulator, id:453D0751-AD97-4E95-B374-D57F27D660D1, OS:16.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:278B721A-E710-46D3-AB78-9AA5B6E8C06D, OS:16.2, name:iPad Pro (12.9-inch) (5th generation) }
{ platform:iOS Simulator, id:69764331-F94F-4663-A789-0CFA6A56637D, OS:16.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:163B811F-897C-442C-90C6-D6A460CFEB92, OS:16.2, name:iPad mini (6th generation) }
[20:48:31]: Command timed out after 6 seconds on try 2 of 4, trying again with a 12 second timeout...
2024-01-17 20:48:32.295 xcodebuild[65193:90676] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:A29C627F-D4C2-4A7E-A811-FE9AAE184261, OS:16.2, name:iPhone 8 }
{ platform:iOS Simulator, id:F652866F-388C-4B44-8464-169430CB6DD9, OS:16.2, name:iPhone 8 Plus }
{ platform:iOS Simulator, id:4ADF2437-A5EA-443C-B5B2-05A2AD97DA97, OS:16.2, name:iPhone 11 }
{ platform:iOS Simulator, id:3070A3E5-17FB-4441-A9B9-031284003CE5, OS:16.2, name:iPhone 11 Pro }
{ platform:iOS Simulator, id:B7F89FF5-2FE9-4E6B-93A7-A8A9CB6D793B, OS:16.2, name:iPhone 11 Pro Max }
{ platform:iOS Simulator, id:1212A947-F2AF-4982-A141-800776EAAD4B, OS:16.2, name:iPhone 12 }
{ platform:iOS Simulator, id:FCFC79A8-1A68-417E-846B-080334874AF2, OS:16.2, name:iPhone 12 Pro }
{ platform:iOS Simulator, id:F6C9BE1A-B843-4D19-8932-5D69812902F7, OS:16.2, name:iPhone 12 Pro Max }
{ platform:iOS Simulator, id:A153A9E4-8C8C-4DFD-8F83-4F51E82539BA, OS:16.2, name:iPhone 12 mini }
{ platform:iOS Simulator, id:C2A3FD28-9ED4-42E0-BC5A-2B1F7C6F5420, OS:16.2, name:iPhone 13 }
{ platform:iOS Simulator, id:5D20BD6D-F5D7-45B6-951D-D698351A36F2, OS:16.2, name:iPhone 13 Pro }
{ platform:iOS Simulator, id:E1BFCFC9-2565-429D-92C5-9F5CE5EC9296, OS:16.2, name:iPhone 13 Pro Max }
{ platform:iOS Simulator, id:44BF8094-B361-4491-AD92-42A2DD0F6CF0, OS:16.2, name:iPhone 13 mini }
{ platform:iOS Simulator, id:EE18D4B6-031F-4B17-9C36-3C2C5C0FEDD5, OS:16.2, name:iPhone 14 }
{ platform:iOS Simulator, id:B98DCB09-7213-4691-9CFC-89DECB4F840C, OS:16.2, name:iPhone 14 Plus }
{ platform:iOS Simulator, id:C6D84733-0788-4941-863C-E8AB7FE0CC23, OS:16.2, name:iPhone 14 Pro }
{ platform:iOS Simulator, id:9C1BA654-4AB4-4F38-A132-C0B68AF8F69E, OS:16.2, name:iPhone 14 Pro Max }
{ platform:iOS Simulator, id:E6C111F6-C4AE-49D8-8DC3-2C2213241C89, OS:16.2, name:iPhone SE (2nd generation) }
{ platform:iOS Simulator, id:7956B007-27A7-4BD6-9D87-F1675FCEB6C3, OS:16.2, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:8EA45C6F-F746-4D9E-A77E-423FBB74ADF8, OS:16.2, name:iPad (9th generation) }
{ platform:iOS Simulator, id:A848D44C-998B-4970-94D0-2EE83A3B2BA1, OS:16.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:7B7313FC-B138-4F87-85B3-9F46BC90472A, OS:16.2, name:iPad Air (4th generation) }
{ platform:iOS Simulator, id:3A1AB2AD-D8D7-4CCB-992F-B485AE370D76, OS:16.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:E968DCAE-AAA6-4704-95C2-E44E62ACC1D4, OS:16.2, name:iPad Pro (9.7-inch) }
{ platform:iOS Simulator, id:1DD65B1B-60C4-4312-A353-3B8A9490BCD8, OS:16.2, name:iPad Pro (11-inch) (3rd generation) }
{ platform:iOS Simulator, id:453D0751-AD97-4E95-B374-D57F27D660D1, OS:16.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:278B721A-E710-46D3-AB78-9AA5B6E8C06D, OS:16.2, name:iPad Pro (12.9-inch) (5th generation) }
{ platform:iOS Simulator, id:69764331-F94F-4663-A789-0CFA6A56637D, OS:16.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:163B811F-897C-442C-90C6-D6A460CFEB92, OS:16.2, name:iPad mini (6th generation) }
2024-01-17 20:48:37.812 xcodebuild[65205:90746] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition
[20:48:38]: Detected provisioning profile mapping: {:"com.company.appname"=>"match AppStore com.company.appname 1702987002"}
Error: No profiles for 'com.company.appname' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.company.appname. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'AppName' from project 'AppName')
** ARCHIVE FAILED **
[20:49:05]: Exit status: 65
I think the issue is related to match, certificates and keychain access. Here is the Fastfile content:
default_platform(:ios)
platform :ios do
desc "Fetch development certificates and provisioning profiles using match"
lane :fetch_certificates do
sync_code_signing(
type: "appstore",
readonly: true
)
sync_code_signing(
type: "development",
readonly: true
)
match(type: "appstore", readonly: true)
end
lane :set_version_from_git_tag do
latest_tag = last_git_tag
version = latest_tag.split('-version.').first.sub('v', '')
parts = version.split('.')
version = parts[0..1].join('.') if parts.length == 3 && parts.last == "0"
build = latest_tag.split('-version.').last
increment_version_number(version_number: version)
increment_build_number(build_number: build)
end
lane :build_ios do
fetch_certificates
set_version_from_git_tag
build_ios_app(
workspace: "AppName.xcworkspace",
scheme: "AppName",
configuration: "Release",
sdk: "iphoneos",
export_method: "app-store"
)
end
lane :upload do
release_notes = git show -s --format=%b #{last_git_tag}.strip
asc_key_content = ENV["APP_STORE_CONNECT_API_KEY_CONTENT"]
asc_issuer_id = ENV["APP_STORE_CONNECT_ISSUER_ID"]
asc_key_id = ENV["APP_STORE_CONNECT_API_KEY_ID"]
api_key = app_store_connect_api_key(
key_id: asc_key_id,
issuer_id: asc_issuer_id,
key_content: asc_key_content
)
upload_to_testflight(
api_key: api_key,
apple_id: "1234567890",
skip_submission: true,
ipa: "AppName.ipa",
skip_waiting_for_build_processing: true,
changelog: release_notes
)
end
lane :beta do
build_ios
upload
end
end
I tried all the solutions from related issues on Github, nothing seems to work. It works well on self-hosted runners but not on GitHub runners.
Beta Was this translation helpful? Give feedback.
All reactions