Upload fix
This commit is contained in:
parent
3c33261cb3
commit
63bdb9e4bb
@ -15,7 +15,7 @@ UNIVERSAL_OUTPUTFOLDER="${BUILD_DIR}/universal"
|
|||||||
# Update to use .xcframework
|
# Update to use .xcframework
|
||||||
sed -i '' 's|MVMCore.framework \*\/ = {isa.*};|MVMCore.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = MVMCore.xcframework; path = ../SharedFrameworks/MVMCore.xcframework; sourceTree = "<group>"; };|g' ./MVMCoreUI.xcodeproj/project.pbxproj
|
sed -i '' 's|MVMCore.framework \*\/ = {isa.*};|MVMCore.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = MVMCore.xcframework; path = ../SharedFrameworks/MVMCore.xcframework; sourceTree = "<group>"; };|g' ./MVMCoreUI.xcodeproj/project.pbxproj
|
||||||
sed -i '' 's/MVMCore.framework/MVMCore.xcframework/g' ./MVMCoreUI.xcodeproj/project.pbxproj
|
sed -i '' 's/MVMCore.framework/MVMCore.xcframework/g' ./MVMCoreUI.xcodeproj/project.pbxproj
|
||||||
sed -i '' "s|path = \.\.\/SharedFrameworks|path = ${FRAMEWORKS_DIR}|g" ./MVMCoreUI.xcodeproj/project.pbxproj
|
#sed -i '' "s|path = \.\.\/SharedFrameworks|path = ${FRAMEWORKS_DIR}|g" ./MVMCoreUI.xcodeproj/project.pbxproj
|
||||||
|
|
||||||
# Build device archive
|
# Build device archive
|
||||||
xcodebuild archive \
|
xcodebuild archive \
|
||||||
@ -26,7 +26,7 @@ xcodebuild archive \
|
|||||||
-destination 'generic/platform=iOS' \
|
-destination 'generic/platform=iOS' \
|
||||||
SKIP_INSTALL=NO \
|
SKIP_INSTALL=NO \
|
||||||
ONLY_ACTIVE_ARCH=NO \
|
ONLY_ACTIVE_ARCH=NO \
|
||||||
FRAMEWORK_SEARCH_PATHS=$FRAMEWORKS_DIR \
|
FRAMEWORK_SEARCH_PATHS="$FRAMEWORKS_DIR" \
|
||||||
ALWAYS_SEARCH_USER_PATHS=true
|
ALWAYS_SEARCH_USER_PATHS=true
|
||||||
|
|
||||||
# Build simulator archive
|
# Build simulator archive
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
# Copied from Hedden, Kyle Matthew on 3/2/18.
|
# Copied from Hedden, Kyle Matthew on 3/2/18.
|
||||||
#
|
#
|
||||||
|
|
||||||
BUILD_SETTINGS=$(xcodebuild -showBuildSettings -project ../MVMCoreUI/MVMCoreUI.xcodeproj)
|
BUILD_SETTINGS=$(xcodebuild -showBuildSettings -project ../MVMCoreUI.xcodeproj)
|
||||||
FRAMEWORK_VERSION=$(echo "$BUILD_SETTINGS" | grep -w -o 'MARKETING_VERSION = .*' | cut -d\ -f3-)
|
FRAMEWORK_VERSION=$(echo "$BUILD_SETTINGS" | grep -w -o 'MARKETING_VERSION = .*' | cut -d\ -f3-)
|
||||||
if [ $(git tag --list | grep "v${FRAMEWORK_VERSION}") ]; then
|
if [ $(git tag --list | grep "v${FRAMEWORK_VERSION}") ]; then
|
||||||
echo This version tag has already been committed! Aborting!
|
echo This version tag has already been committed! Aborting!
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user