Skip to content

Commit ccad98b

Browse files
committed
updated ios upload paths
1 parent 058ed35 commit ccad98b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/SequenceSDK/Editor/TestflightUploadPostBuildScript.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ public void OnPostprocessBuild(BuildReport report)
2121
Debug.Log("Uploading iOS binary to TestFlight...");
2222

2323
var exportPath = report.summary.outputPath;
24-
var ipaPath = Path.Combine(exportPath, "build.ipa");
24+
var ipaPath = Path.Combine(exportPath, "../.build/last/ios-production/build.ipa");
2525

2626
var keyId = Environment.GetEnvironmentVariable("APPSTORE_CONNECT_KEY_ID");
2727
var issuerId = Environment.GetEnvironmentVariable("APPSTORE_CONNECT_ISSUER_ID");
2828
var privateKey = Environment.GetEnvironmentVariable("APPSTORE_CONNECT_P8");
2929

30-
var keyDir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".appstoreconnect/private_keys");
30+
var keyDir = Path.Combine("BUILD_PATH", ".appstoreconnect/private_keys");
3131

3232
Directory.CreateDirectory(keyDir);
3333
var keyPath = Path.Combine(keyDir, $"AuthKey_{keyId}.p8");

0 commit comments

Comments
 (0)