iOS build 没有出现在 testflight beta 测试中
iOS build not showing up for testflight beta testing
我正在构建 IPA(通过具有分发配置文件的 fastlane)。权利显示 beta-reports-active=1
:
使用 AppLoader 上传成功 - 但未显示用于测试:
构建显示在 "Activity" 下 - 但显示 "Missing Beta Entitlements"
查看 iTunes Connect 上的构建详细信息,权利似乎确实缺少测试版权利:
有人知道我遗漏了什么吗?
我遇到了类似的问题,尽管我认为这是完全相同的问题。
使用 Pilot 或 Application Loader 上传应用时,我能够select应用进行外部测试,但不能进行内部测试。
解决方案
使用临时分发配置文件。
我创建了以下通道来发布用于内部测试的应用程序:
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
注意:Pilot 报错,但我仍然能够select 手动在 iTunes Connect 中对应用程序进行内部测试。
问题是 fastlane
gym
(在我的例子中)创建了一个无效的 IPA。我放弃了它,现在正在通过 xcodebuild
毫无问题地构建。
Payload/*.app/embedded.mobileprovision
和 codesign -d --entitlements :- Payload/*.app
都需要设置 beta-reports-active = 1
。
gym
并非总是如此。请参阅 github issue explaining the details
没有 use_legacy_build_api: true
gym
also has trouble picking the right provisioning profile.
我正在构建 IPA(通过具有分发配置文件的 fastlane)。权利显示 beta-reports-active=1
:
使用 AppLoader 上传成功 - 但未显示用于测试:
构建显示在 "Activity" 下 - 但显示 "Missing Beta Entitlements"
查看 iTunes Connect 上的构建详细信息,权利似乎确实缺少测试版权利:
有人知道我遗漏了什么吗?
我遇到了类似的问题,尽管我认为这是完全相同的问题。
使用 Pilot 或 Application Loader 上传应用时,我能够select应用进行外部测试,但不能进行内部测试。
解决方案
使用临时分发配置文件。
我创建了以下通道来发布用于内部测试的应用程序:
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
注意:Pilot 报错,但我仍然能够select 手动在 iTunes Connect 中对应用程序进行内部测试。
问题是 fastlane
gym
(在我的例子中)创建了一个无效的 IPA。我放弃了它,现在正在通过 xcodebuild
毫无问题地构建。
Payload/*.app/embedded.mobileprovision
和 codesign -d --entitlements :- Payload/*.app
都需要设置 beta-reports-active = 1
。
gym
并非总是如此。请参阅 github issue explaining the details
没有 use_legacy_build_api: true
gym
also has trouble picking the right provisioning profile.