Reputation: 15778
I am building the IPA (via fastlane with a distribution profile). The entitlements show beta-reports-active=1
:
Upload with the AppLoader is successful - but it's not showing up for testing:
The build shows up under "Activity" though - but showing "Missing Beta Entitlements"
Looking into the build details on iTunes Connect the entitlements seem to be really missing the beta entitlements:
Anyone a clue what I am missing?
Upvotes: 3
Views: 4085
Reputation: 15778
The problem was fastlane
gym
(in my case) creating an IPA that was invalid. I ditched it and are now building through xcodebuild
without problems.
Both Payload/*.app/embedded.mobileprovision
and codesign -d --entitlements :- Payload/*.app
need to have beta-reports-active = 1
set.
That wasn't always the case with gym
. See the github issue explaining the details
Without use_legacy_build_api: true
gym
also has trouble picking the right provisioning profile.
Upvotes: 1
Reputation: 7809
I was having a similar issue, although I think it's the exact same one.
When uploading an app using Pilot or Application Loader, I was able to select the app for external testing, but not for internal testing.
Use an adhoc distribution provisioning profile.
I've created the following lane to publish an app for internal testing:
lane :internal do |options|
unlock_keychain(path: 'login')
cert(
username: options[:username],
output_path: './fastlane/certs'
)
provisioning_profile = sigh(
username: options[:username],
adhoc: true
)
FileUtils.mkdir_p('www')
sh("cordova build ios --release --device -- --provisioningProfile=#{provisioning_profile}")
pilot(
username: options[:username],
distribute_external: false,
ipa: 'platforms/ios/build/device/<app_name>.ipa'
)
end
Note: Pilot raised an error, but I was still able to select the app for internal testing in iTunes Connect manually.
Upvotes: 0