Skip to content

Commit 23c95a1

Browse files
committed
Update build script
1 parent 8498f27 commit 23c95a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Demo/build-swift.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ set -e
33
source swift-define
44

55
# Build with SwiftPM
6+
export JAVA_HOME=$SWIFT_ANDROID_SYSROOT/usr
67
xcrun --toolchain swift swift build -c $SWIFT_COMPILATION_MODE \
78
--swift-sdk $SWIFT_TARGET_NAME \
89
--toolchain $XCTOOLCHAIN \

0 commit comments

Comments
 (0)