File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1+ // xconfig for Carthage builds using autogenerated xcodeproj from SwiftPM
2+
3+ PRODUCT_BUNDLE_IDENTIFIER = com.CombineCommunity.$(PRODUCT_NAME)
4+ CURRENT_PROJECT_VERSION = 1
Original file line number Diff line number Diff line change 1717
1818REQUIRED_SWIFT_TOOLING=" 5.1.0"
1919TOOLS_VERSION=` swift package tools-version`
20+ XCODE_XCCONFIG_FILE=$( pwd) /Carthage.xcconfig
21+
22+ if [ ! -f ${XCODE_XCCONFIG_FILE} ]; then
23+ echo ' Carthage.xcconfig does not exist'
24+ exit 1
25+ fi
2026
2127if [ ! " $( printf ' %s\n' " $REQUIRED_SWIFT_TOOLING " " $TOOLS_VERSION " | sort -V | head -n1) " = " $REQUIRED_SWIFT_TOOLING " ]; then
2228 echo ' You must have Swift Package Manager 5.1.0 or later.'
2329 exit 1
2430fi
2531
2632swift package generate-xcodeproj
27- echo " Fixing bundle identifier and bundle version in generated xcodeproj..."
28- ruby Helpers/fix_project.rb RxCombine.xcodeproj
33+ export XCODE_XCCONFIG_FILE
2934carthage build --no-skip-current
3035carthage archive
36+ unset XCODE_XCCONFIG_FILE
3137
3238echo " Upload RxCombine.framework.zip to the latest release"
You can’t perform that action at this time.
0 commit comments