Skip to content

Instantly share code, notes, and snippets.

@wkronmiller
Created November 24, 2019 16:32
Show Gist options
  • Save wkronmiller/79dc36cfc1a2310a6d5aa2e97e16539c to your computer and use it in GitHub Desktop.
Save wkronmiller/79dc36cfc1a2310a6d5aa2e97e16539c to your computer and use it in GitHub Desktop.
Build input.filelist and output.filelist for Carthage
echo '' > input.xcfilelist
find Carthage/Build/iOS -name *.framework -exec echo '$(SRCROOT}'/{} \; >> input.xcfilelist
echo '' > output.xcfilelist
find Carthage/Build/iOS -name *.framework -exec basename {} \; | xargs -I {} -n1 echo '$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/'{} >> output.xcfilelist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment