File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 21
21
RUST_CONFIGURATION_FLAG=" --release"
22
22
fi
23
23
24
- declare -a destinationNames=( " iOS Simulator" )
25
- declare -a lipoDirectoryNames=( " iphonesimulator" )
24
+ XCFRAMEWORK_INPUT_FLAGS=" "
25
+
26
+ declare -a destinationNames=( " iOS Simulator" " iOS" )
27
+ declare -a lipoDirectoryNames=( " iphonesimulator" " iphoneos" )
26
28
27
29
declare archiveCount=${# lipoDirectoryNames[@]}
28
30
for (( i= 0 ; i< $archiveCount ; i++ )) ;
39
41
echo " Current lipo input directory: ${CURRENT_LIPO_DIRECTORY_PATH} " >> $BUILD_LOG_PATH
40
42
echo " Current xcarchive archive directory: ${CURRENT_ARCHIVE_PATH} " >> $BUILD_LOG_PATH
41
43
42
- pushd " ${BASEDIR} /LDKSwift"
43
-
44
44
mkdir -p " ${CURRENT_ARCHIVE_DIRECTORY} "
45
- xcodebuild archive -scheme LDKSwift -destination " generic/platform=${CURRENT_DESTINATION_NAME} " -archivePath " ${CURRENT_ARCHIVE_PATH} " ENABLE_BITCODE=NO SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES
46
45
46
+ pushd " ${BASEDIR} /LDKSwift"
47
+ xcodebuild archive -scheme LDKSwift -destination " generic/platform=${CURRENT_DESTINATION_NAME} " -archivePath " ${CURRENT_ARCHIVE_PATH} " ENABLE_BITCODE=NO SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES
47
48
popd
49
+
50
+ XCFRAMEWORK_INPUT_FLAGS=" ${XCFRAMEWORK_INPUT_FLAGS} -framework ${CURRENT_ARCHIVE_PATH} .xcarchive/Products/Library/Frameworks/LDKSwift.framework "
51
+ echo " Current xcframework flags: ${XCFRAMEWORK_INPUT_FLAGS} " >> $BUILD_LOG_PATH
48
52
done
You can’t perform that action at this time.
0 commit comments