File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Assets/SequenceSDK/Editor Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,10 @@ public void OnPostprocessBuild(BuildReport report)
1919 return ;
2020
2121 var exportPath = report . summary . outputPath ;
22- var ipaPath = Path . GetFullPath ( Path . Combine ( exportPath , "../.build/last/ios-production/build.ipa" ) ) ;
22+ var ipaPath = Path . GetFullPath ( Path . Combine ( exportPath , "../.build/last/ios-production" ) ) ;
23+ var ipaFile = Path . Combine ( ipaPath , "build.ipa" ) ;
2324
24- Debug . Log ( $ "Uploading iOS binary to TestFlight from { ipaPath } ") ;
25+ Debug . Log ( $ "Uploading iOS binary to TestFlight from { ipaFile } ") ;
2526
2627 var keyId = Environment . GetEnvironmentVariable ( "APPSTORE_CONNECT_KEY_ID" ) ;
2728 var issuerId = Environment . GetEnvironmentVariable ( "APPSTORE_CONNECT_ISSUER_ID" ) ;
@@ -34,7 +35,8 @@ public void OnPostprocessBuild(BuildReport report)
3435 var keyPath = Path . Combine ( keyDir , $ "AuthKey_{ keyId } .p8") ;
3536 File . WriteAllText ( keyPath , privateKey ) ;
3637
37- var cmd = $ "xcrun altool --upload-app -f \" { ipaPath } \" -t ios --apiKey { keyId } --apiIssuer { issuerId } ";
38+ var cmd = $ "xcrun altool --upload-app -f \" { ipaFile } \" -t ios --apiKey { keyId } --apiIssuer { issuerId } ";
39+ RunCommand ( "/bin/bash" , $ "ls { ipaPath } ") ;
3840 RunCommand ( "/bin/bash" , $ "-c \" { cmd } \" ") ;
3941 }
4042
You can’t perform that action at this time.
0 commit comments