File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Assets/SequenceSDK/Editor Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ public void OnPostprocessBuild(BuildReport report)
1818 Environment . GetEnvironmentVariable ( "ENABLE_TESTFLIGHT_UPLOAD" ) != "TRUE" )
1919 return ;
2020
21- var exportPath = report . summary . outputPath ;
22- var ipaPath = Path . GetFullPath ( Path . Combine ( exportPath , "../ .build/last/ios-production" ) ) ;
21+ var workspace = Environment . GetEnvironmentVariable ( "WORKSPACE" ) ?? "" ;
22+ var ipaPath = Path . GetFullPath ( Path . Combine ( workspace , ".build/last/ios-production" ) ) ;
2323 var ipaFile = Path . Combine ( ipaPath , "build.ipa" ) ;
2424
2525 Debug . Log ( $ "Uploading iOS binary to TestFlight from { ipaFile } ") ;
@@ -36,8 +36,6 @@ public void OnPostprocessBuild(BuildReport report)
3636 File . WriteAllText ( keyPath , privateKey ) ;
3737
3838 var cmd = $ "xcrun altool --upload-app -f \" { ipaFile } \" -t ios --apiKey { keyId } --apiIssuer { issuerId } ";
39- RunCommand ( "/bin/bash" , $ "-c \" ls -l { ipaPath } \" ") ;
40- RunCommand ( "/bin/bash" , $ "-c \" find '{ exportPath } /..' -name '*.ipa'\" ") ;
4139 RunCommand ( "/bin/bash" , $ "-c \" { cmd } \" ") ;
4240 }
4341
You can’t perform that action at this time.
0 commit comments