Skip to content

Instantly share code, notes, and snippets.

@olgusirman
Created September 19, 2018 14:30
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 olgusirman/0be83de05492dea48d5bb55ed5837666 to your computer and use it in GitHub Desktop.
Save olgusirman/0be83de05492dea48d5bb55ed5837666 to your computer and use it in GitHub Desktop.
Build a framework script
xcodebuild -target ${PROJECT_NAME} ONLY_ACTIVE_ARCH=NO -configuration ${CONFIGURATION} -sdk iphoneos BUILD_DIR="${BUILD_DIR}"
BUILD_ROOT="${BUILD_ROOT}" xcodebuild -target ${PROJECT_NAME} -configuration ${CONFIGURATION} -sdk iphonesimulator -arch x86_64 -arch i386 -arch armv7 -arch armv7s -arch arm64 BUILD_DIR="${BUILD_DIR}" BUILD_ROOT="${BUILD_ROOT}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment