Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
Signed-off-by: Julian Oes <[email protected]>
  • Loading branch information
julianoes committed Apr 30, 2024
1 parent 290dee9 commit 3bb3fdc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ jobs:
with:
name: mavsdk_server_macos_arm64.framework
path: ./build/macos_arm64/src/mavsdk_server/src/mavsdk_server_arm64.framework
- name: Install tree
run: brew install tree
- name: Package
run: bash ./src/mavsdk_server/tools/package_mavsdk_server_framework.bash
- uses: actions/upload-artifact@v4
Expand Down
6 changes: 6 additions & 0 deletions src/mavsdk_server/tools/package_mavsdk_server_framework.bash
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ fi
echo "Fixing Modules in macOS framework"
ln -sf Versions/Current/Modules ${MACOS_X64_BACKEND_DIR}/mavsdk_server.framework

# REMOVEME again
tree .

echo "Creating xcframework..."
xcodebuild -create-xcframework \
-framework ${IOS_BACKEND_DIR}/mavsdk_server.framework \
Expand All @@ -27,6 +30,9 @@ xcodebuild -create-xcframework \
-framework ${MACOS_ARM64_BACKEND_DIR}/mavsdk_server.framework \
-output ${BUILD_DIR}/mavsdk_server.xcframework

# REMOVEME again
tree ${BUILD_DIR}/mavsdk_server.xcframework

chmod +x ${BUILD_DIR}/mavsdk_server.xcframework/ios-arm64/mavsdk_server.framework/mavsdk_server
chmod +x ${BUILD_DIR}/mavsdk_server.xcframework/ios-x86_64-simulator/mavsdk_server.framework/mavsdk_server
chmod +x ${BUILD_DIR}/mavsdk_server.xcframework/ios-arm64-simulator/mavsdk_server.framework/mavsdk_server
Expand Down

0 comments on commit 3bb3fdc

Please sign in to comment.