I searched a lot here, try several approaches but with no success.
I have a React Native and the signing and build process is being done with fastlane.
Trying to export an ad-hoc IPA but I have no idea what is happen on Bitrise (I test in my machine and works properly).
My lane config
desc āiOS Buildā
lane :build do
ensure_env_vars(env_vars: [āBITRISE_SCHEMEā])
scheme = ENV[āBITRISE_SCHEMEā]
build_type = ENV[āBITRISE_EXPORT_METHODā] || āappstoreā
export_method = build_type == āadhocā ? āad-hocā : āapp-storeā
read_only = build_type.eql? āappstoreā
renew = build_type.eql? āadhocā
match(type: build_type, readonly: read_only, force_for_new_devices: renew)
gym(
export_options: export_method,
scheme: scheme,
silent: true
)
upload_to_testflight(skip_waiting_for_build_processing: true)
end
The certificates and profiles are installed properly. Gym summary looks good with the right configuration but I always get error:
error: No profile for team 'xxx' matching 'match AppStore [REDACTED]' found: Xcode couldn't find any provisioning profiles matching 'xxx/match AppStore [REDACTED]'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor. (in target 'xxx' from project 'xxx')
What I need to do to work properly on Bitrise? App Store export method works fine.
Thanks!