Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed May 29, 2024
1 parent 9ffc72e commit 638545b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mavsdk_server/tools/package_mavsdk_server_framework.bash
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ cp -r ${MACOS_X64_BACKEND_DIR}/mavsdk_server.framework ${MACOS_FAT_BACKEND_DIR}
#echo "Fixing Modules in macOS framework"
#ln -sf Versions/Current/Modules ${MACOS_X64_BACKEND_DIR}/mavsdk_server.framework

echo "Running lipo"
xcrun lipo -create -output ${MACOS_FAT_BACKEND_DIR}/mavsdk_server.framework/mavsdk_server \
${MACOS_X64_BACKEND_DIR}/mavsdk_server.framework/mavsdk_server \
${MACOS_ARM64_BACKEND_DIR}/mavsdk_server.framework/mavsdk_server

xcrun codesign --sign - ${MACOS_FAT_BACKEND_DIR}/mavsdk_server.framework
echo "Running codesign"
xcrun codesign --sign - ${MACOS_FAT_BACKEND_DIR}/mavsdk_server.framework/mavsdk_server

echo "Creating xcframework..."
xcodebuild -create-xcframework \
Expand Down

0 comments on commit 638545b

Please sign in to comment.