Skip to content

Instantly share code, notes, and snippets.

@aChase55
Created October 20, 2022 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aChase55/47cff75d862d0154962442b874641623 to your computer and use it in GitHub Desktop.
Save aChase55/47cff75d862d0154962442b874641623 to your computer and use it in GitHub Desktop.
SCHEME="Whatnot"
APP_ICON_NAME=AppIcon
SWIFT_ACTIVE_COMPILATION_CONDITIONS="\$(inherited)"
if [[ "$BUILD_CONFIGURATION" != "Release" ]]; then
APP_ICON_NAME=AppIcon-$BUILD_CONFIGURATION
SWIFT_ACTIVE_COMPILATION_CONDITIONS="\$(inherited) INTERNAL"
Fi
ARCHIVE_NAME="$SCHEME.xcarchive"
BUILD_PATH=$PWD/build/
ARCHIVE_PATH=$BUILD_PATH"$ARCHIVE_NAME"
IPA_PATH=$BUILD_PATH"$SCHEME".ipa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment