|
|
@ -34,9 +34,9 @@ local install_cocoapods = {
|
|
|
|
'mkdir build',
|
|
|
|
'mkdir build',
|
|
|
|
|||
|
|
|
|
|||
|
|
|
|
if command -v xcpretty >/dev/null 2>&1; then
|
|
|
|
if command -v xcpretty >/dev/null 2>&1; then
|
|
|
|
'xcodebuild test -workspace Session.xcworkspace -scheme Session -destination "platform=iOS Simulator,name=iPhone 14 Pro" | xcpretty'
|
|
|
|
xcodebuild test -workspace Session.xcworkspace -scheme Session -destination "platform=iOS Simulator,name=iPhone 14 Pro" | xcpretty
|
|
|
|
else
|
|
|
|
else
|
|
|
|
'xcodebuild test -workspace Session.xcworkspace -scheme Session -destination "platform=iOS Simulator,name=iPhone 14 Pro"'
|
|
|
|
xcodebuild test -workspace Session.xcworkspace -scheme Session -destination "platform=iOS Simulator,name=iPhone 14 Pro"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|||
|
|
|
|
|||
|
|
|
|
],
|
|
|
|
],
|
|
|
@ -58,9 +58,9 @@ local install_cocoapods = {
|
|
|
|
'mkdir build',
|
|
|
|
'mkdir build',
|
|
|
|
|||
|
|
|
|
|||
|
|
|
|
if command -v xcpretty >/dev/null 2>&1; then
|
|
|
|
if command -v xcpretty >/dev/null 2>&1; then
|
|
|
|
xcodebuild archive -workspace Session.xcworkspace -scheme Session -configuration 'App Store Release' -sdk iphonesimulator -archivePath ./build/Session_sim.xcarchive -destination 'generic/platform=iOS Simulator' | xcpretty
|
|
|
|
xcodebuild archive -workspace Session.xcworkspace -scheme Session -configuration 'App Store Release' -sdk iphonesimulator -archivePath ./build/Session_sim.xcarchive -destination "generic/platform=iOS Simulator" | xcpretty
|
|
|
|
else
|
|
|
|
else
|
|
|
|
xcodebuild archive -workspace Session.xcworkspace -scheme Session -configuration 'App Store Release' -sdk iphonesimulator -archivePath ./build/Session_sim.xcarchive -destination 'generic/platform=iOS Simulator'
|
|
|
|
xcodebuild archive -workspace Session.xcworkspace -scheme Session -configuration 'App Store Release' -sdk iphonesimulator -archivePath ./build/Session_sim.xcarchive -destination "generic/platform=iOS Simulator"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|||
|
|
|
|
|||
|
|
|
|
],
|
|
|
|
],
|
|
|
@ -88,9 +88,9 @@ local install_cocoapods = {
|
|
|
|
'mkdir build',
|
|
|
|
'mkdir build',
|
|
|
|
|||
|
|
|
|
|||
|
|
|
|
if command -v xcpretty >/dev/null 2>&1; then
|
|
|
|
if command -v xcpretty >/dev/null 2>&1; then
|
|
|
|
xcodebuild archive -workspace Session.xcworkspace -scheme Session -configuration 'App Store Release' -sdk iphoneos -archivePath ./build/Session.xcarchive -destination 'generic/platform=iOS' | xcpretty
|
|
|
|
xcodebuild archive -workspace Session.xcworkspace -scheme Session -configuration 'App Store Release' -sdk iphoneos -archivePath ./build/Session.xcarchive -destination "generic/platform=iOS" | xcpretty
|
|
|
|
else
|
|
|
|
else
|
|
|
|
xcodebuild archive -workspace Session.xcworkspace -scheme Session -configuration 'App Store Release' -sdk iphoneos -archivePath ./build/Session.xcarchive -destination 'generic/platform=iOS'
|
|
|
|
xcodebuild archive -workspace Session.xcworkspace -scheme Session -configuration 'App Store Release' -sdk iphoneos -archivePath ./build/Session.xcarchive -destination "generic/platform=iOS"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|||
|
|
|
|
|||
|
|
|
|
],
|
|
|
|
],
|
|
|
|