Fastlane从Expo构建URL将{{ipa} .ipa文件传递到TestFlight

在使用Expo构建https://blog.expo.io/automating-standalone-expo-app-builds-and-deployments-with-fastlane-exp-and-exptool-9b2f5ad0a2cd

之后,我正在关注本文以自动部署.ipa文件。

这是可行的,但是我必须从Expo下载.ipa文件,然后将其上传到TestFlight。在Expo已经生成.ipa文件之前,这需要等待很长时间,我们只需要将其上传到TestFlight。

当前要部署的脚本为:

// Download .ipa file from Expo build    
curl -o app.ipa "$(expo url:ipa --non-interactive)"

// Upload this to TestFlight
fastlane deliver --verbose --ipa "app.ipa" --skip_screenshots --skip_metadata

我试图用Expo build url(类似https://exp-shell-app-assets.s3.us-west-1.amazonaws.com/ios/myusername/app-bfaf-ca19c79a9c0f-archive.ipa)替换app.ipa

fastlane deliver --verbose --ipa "https://expo-url.ipa" --skip_screenshots --skip_metadata

因为fastlane deliver总是在URL之前添加当前目录,所以会引发错误,错误是:

  

选项'ipa'的错误设置值'https://exp-shell-app-assets.s3.us-west-1.amazonaws.com/ios/myusername/app-bfaf-ca19c79a9c0f-archive.ipa'

     

[!]在路径'/ Users / root / project / https://expo-url.ipa'找不到ipa文件

我尝试了fastlane pilot upload并遇到了同样的问题。

谢谢!

fangke45 回答:Fastlane从Expo构建URL将{{ipa} .ipa文件传递到TestFlight

fastlane在您的PC中上传文件,而不是文件链接... 如果您想建立独立的博览会...我建议使用turtle-cli see tutorial here ... turtle-cli使服务器本地主机在/ Users / xxx / expo-apps /中建立源输出文件。然后,您可以复制文件并使用fastlane将文件上传到App Store和Google Play。

本文链接:https://www.f2er.com/3029577.html

大家都在问