0

上傳到iTunesConnect失敗,出現以下錯誤:我如何讓Fastlane爲tvOS提供工作?

"Invalid Provisioning Profile. This provisioning profile is not compatible with iOS apps."

+-----------------------+---------------------------------------+ 
|     deliver 2.26.1 Summary      | 
+-----------------------+---------------------------------------+ 
| username    | [email protected]     | 
| ipa     | /Users/vagrant/deploy/InspiratoTV.ipa | 
| skip_screenshots  | true         | 
| skip_metadata   | true         | 
| force     | true         | 
| app_identifier  | com.inspirato.travel.InspiratoTV  | 
| screenshots_path  | ./screenshots       | 
| metadata_path   | ./metadata       | 
| app_version   | 1.0         | 
| edit_live    | false         | 
| platform    | ios         | 
| skip_binary_upload | false         | 
| submit_for_review  | false         | 
| automatic_release  | false         | 
| overwrite_screenshots | false         | 
+-----------------------+---------------------------------------+ 

看來,該平臺被卡在「IOS」即使我沒有這個包ID在iOS應用程序相關。我已經嘗試在$ fastlane deliver ...命令的末尾添加「--platform tvOS」,但沒有運氣。

回答

1

Deliver使用tvOS平臺的符號「appletvos」。


它添加到$ fastlane deliver命令的末尾:

$ fastlane deliver ... ... "--platform" "appletvos" 

或將其添加到您的.Deliver文件像這樣:

deliver(platform: "appletvos")