From de1aa10a94f7e6e93620feb29e632643a7585a1e Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Sun, 16 Mar 2025 23:29:36 +0200 Subject: [PATCH] Update build.sh --- src/pandios/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pandios/build.sh b/src/pandios/build.sh index 8196b766..63d5b9f5 100755 --- a/src/pandios/build.sh +++ b/src/pandios/build.sh @@ -16,8 +16,9 @@ cd ../.. cmake -B build -DENABLE_VULKAN=OFF -DBUILD_HYDRA_CORE=ON -DENABLE_USER_BUILD=ON -DCMAKE_TOOLCHAIN_FILE=third_party/ios_toolchain/ios.toolchain.cmake -DPLATFORM=SIMULATORARM64 -DDEPLOYMENT_TARGET="13.0" cmake --build build --config ${EMULATOR_BUILD_TYPE} -# Copy the bridging header from the emulator source to the Swift interop module folder +# Copy the bridging header and emulator dylib to the iOS folder cp ./include/ios_driver.h ./src/pandios/Alber/Headers/ios_driver.h +cp ./build/libAlber.dylib ./src/pandios/ # Come back to the iOS directory, build the SwiftUI xcode project and link them together cd src/pandios @@ -30,4 +31,4 @@ if [ "$RUN_SIMULATOR" = true ] ; then xcrun simctl install "iPhone 16 Pro" "build/Release-iphonesimulator/Pandios.app" open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app xcrun simctl launch --console booted "Alber.Pandios" -fi \ No newline at end of file +fi