Skip to content

Commit 1290732

Browse files
committed
removing the build step doesnt work :(
1 parent 5adbdde commit 1290732

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/_build-shared.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ jobs:
4343
run: |
4444
rm -rf derived archives StytchSwiftUtils.xcframework
4545
46+
xcodebuild -project StytchSwiftUtils.xcodeproj -scheme StytchSwiftUtils \
47+
-configuration Release -destination 'generic/platform=iOS' \
48+
-derivedDataPath ./derived IPHONEOS_DEPLOYMENT_TARGET=15.0 \
49+
SKIP_INSTALL=NO BUILD_LIBRARIES_FOR_DISTRIBUTION=YES ONLY_ACTIVE_ARCH=NO build
50+
51+
xcodebuild -project StytchSwiftUtils.xcodeproj -scheme StytchSwiftUtils \
52+
-configuration Release -destination 'generic/platform=iOS Simulator' \
53+
-derivedDataPath ./derived IPHONEOS_DEPLOYMENT_TARGET=15.0 \
54+
SKIP_INSTALL=NO BUILD_LIBRARIES_FOR_DISTRIBUTION=YES ONLY_ACTIVE_ARCH=NO build
55+
4656
xcodebuild -project StytchSwiftUtils.xcodeproj -scheme StytchSwiftUtils \
4757
-configuration Release -archivePath "./archives/iOS" \
4858
-destination 'generic/platform=iOS' -derivedDataPath ./derived \
@@ -60,9 +70,9 @@ jobs:
6070
-framework archives/Simulator.xcarchive/Products/Library/Frameworks/StytchSwiftUtils.framework \
6171
-output StytchSwiftUtils.xcframework
6272
63-
cp ./archives/iOS.xcarchive/Products/Library/Frameworks/StytchSwiftUtils.framework/Headers/StytchSwiftUtils-Swift.h \
73+
cp ./derived/Build/Intermediates.noindex/StytchSwiftUtils.build/Release-iphoneos/StytchSwiftUtils.build/DerivedSources/StytchSwiftUtils-Swift.h \
6474
../shared/sdk/shared/src/iosMain/interop/StytchSwiftUtils-device.h
65-
cp ./archives/Simulator.xcarchive/Products/Library/Frameworks/StytchSwiftUtils.framework/Headers/StytchSwiftUtils-Swift.h \
75+
cp ./derived/Build/Intermediates.noindex/StytchSwiftUtils.build/Release-iphonesimulator/StytchSwiftUtils.build/DerivedSources/StytchSwiftUtils-Swift.h \
6676
../shared/sdk/shared/src/iosMain/interop/StytchSwiftUtils-simulator.h
6777
6878
sed -i '' '/^\/\/ Generated by Apple Swift version/d' \

0 commit comments

Comments
 (0)