Skip to content

Commit

Permalink
Try to preserve symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Jun 1, 2024
1 parent 7f2d862 commit 6871a13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mavsdk_server/tools/package_mavsdk_server_framework.bash
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fi
#ln -sf Versions/Current/Modules ${MACOS_X64_BACKEND_DIR}/mavsdk_server.framework

mkdir -p ${IOS_SIM_FAT_BACKEND_DIR}
cp -R ${IOS_SIM_X64_BACKEND_DIR}/mavsdk_server.framework ${IOS_SIM_FAT_BACKEND_DIR}
cp -a ${IOS_SIM_X64_BACKEND_DIR}/mavsdk_server.framework ${IOS_SIM_FAT_BACKEND_DIR}

echo "Running lipo for simulator"
xcrun lipo -create -output ${IOS_SIM_FAT_BACKEND_DIR}/mavsdk_server.framework/mavsdk_server \
Expand All @@ -32,7 +32,7 @@ echo "Running codesign for simulator"
xcrun codesign --verbose --sign - ${IOS_SIM_FAT_BACKEND_DIR}/mavsdk_server.framework

mkdir -p ${MACOS_FAT_BACKEND_DIR}
cp -R ${MACOS_X64_BACKEND_DIR}/mavsdk_server.framework ${MACOS_FAT_BACKEND_DIR}
cp -a ${MACOS_X64_BACKEND_DIR}/mavsdk_server.framework ${MACOS_FAT_BACKEND_DIR}

echo "Running lipo for macos"
xcrun lipo -create -output ${MACOS_FAT_BACKEND_DIR}/mavsdk_server.framework/mavsdk_server \
Expand Down

0 comments on commit 6871a13

Please sign in to comment.