Xcode Post Archive Action - Archive Path Environment Variable

881 views Asked by At

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

1

There are 1 answers

0
Paul Doherty On

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