Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode Post Archive Action - Archive Path Environment Variable

I'm using Xcode 11.3.1 (11C504) on macOS Catalina version 10.15.2 (19C57), to create an iOS app.

I want to add a post archive step that will run manipulation on the xcarchive files.
I'm not sure which environment variable provide the archive path.

Thanks

like image 492
shugigo Avatar asked Oct 14 '25 03:10

shugigo


1 Answers

You can use the $ARCHIVE_PATH to achieve this.

To debug your script add exec > "/tmp/Xcode.log" 2>&1 to the beginning

You can then view output log in /tmp/Xcode.log

I hope this helps

like image 52
Paul Doherty Avatar answered Oct 17 '25 07:10

Paul Doherty



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!