Skip to content

Acknowledgments list generator for third party SPM packages.

License

Notifications You must be signed in to change notification settings

iam-bartl/AcknowledgementsGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Acknowledgments list generator for third party SPM packages.

Instalation

  • Add Run Script build phase:
# Adjust input file path
INPUT=$PROJECT_DIR/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
# Adjust output file path
OUTPUT=$SRCROOT/$PRODUCT_NAME/acknowledgements.plist

if [[ "${CONFIGURATION}" = "Release" || ! -f $OUTPUT ]]; then
  DIR=${BUILD_DIR%Build/*}/SourcePackages/checkouts/AcknowledgementsGen
  SDKROOT=$(xcrun --sdk macosx --show-sdk-path)
  cd $DIR
  swift run -c release AcknowledgementsCLI $INPUT $OUTPUT
else
  echo "Skipping Acknowledgements"
fi

  • Add to the inputs the same string as in INPUT
  • Add to the outputs the same string as in OUTPUT
  • Set ENABLE_USER_SCRIPT_SANDBOXING in project settings to NO

About

Acknowledgments list generator for third party SPM packages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages