From 4d80ea6af48efdebfb1c2712e9c2d9b0ecf0bb77 Mon Sep 17 00:00:00 2001 From: CGQAQ Date: Wed, 11 Feb 2026 22:25:13 +0800 Subject: [PATCH 1/3] chore: ignore macOS dylibs --- webf/.gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webf/.gitignore b/webf/.gitignore index 7055d72bb6..df6a9deef9 100644 --- a/webf/.gitignore +++ b/webf/.gitignore @@ -83,3 +83,7 @@ pubspec.lock *.generated.dart .flutter-plugins-dependencies + +# Dylibs should not be committed +/macos/libquickjs.dylib +/macos/libwebf.dylib From b49795ad95586253baf0a64e30a2c4c371b2d60f Mon Sep 17 00:00:00 2001 From: CGQAQ Date: Wed, 11 Feb 2026 22:25:34 +0800 Subject: [PATCH 2/3] chore: update project.pbxproj --- webf/example/macos/Runner.xcodeproj/project.pbxproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webf/example/macos/Runner.xcodeproj/project.pbxproj b/webf/example/macos/Runner.xcodeproj/project.pbxproj index 7b78510725..f318832704 100644 --- a/webf/example/macos/Runner.xcodeproj/project.pbxproj +++ b/webf/example/macos/Runner.xcodeproj/project.pbxproj @@ -267,6 +267,7 @@ "${BUILT_PRODUCTS_DIR}/file_picker/file_picker.framework", "${BUILT_PRODUCTS_DIR}/file_selector_macos/file_selector_macos.framework", "${BUILT_PRODUCTS_DIR}/flutter_blue_plus_darwin/flutter_blue_plus_darwin.framework", + "${BUILT_PRODUCTS_DIR}/objective_c/objective_c.framework", "${BUILT_PRODUCTS_DIR}/path_provider_foundation/path_provider_foundation.framework", "${BUILT_PRODUCTS_DIR}/share_plus/share_plus.framework", "${BUILT_PRODUCTS_DIR}/shared_preferences_foundation/shared_preferences_foundation.framework", @@ -286,6 +287,7 @@ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/file_picker.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/file_selector_macos.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/flutter_blue_plus_darwin.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/objective_c.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/path_provider_foundation.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/share_plus.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/shared_preferences_foundation.framework", From 78f6fa9e064341a65b10a5c295371baea48fe95b Mon Sep 17 00:00:00 2001 From: CGQAQ Date: Fri, 13 Feb 2026 10:12:26 +0800 Subject: [PATCH 3/3] chore: add .pubignore to include dylibs when publishing The .gitignore excludes dylib files, which also prevents them from being included in pub.dev packages. Adding .pubignore without the dylib exclusions ensures they are published. Co-Authored-By: Claude Opus 4.6 --- webf/.pubignore | 83 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 webf/.pubignore diff --git a/webf/.pubignore b/webf/.pubignore new file mode 100644 index 0000000000..40fcee5bf7 --- /dev/null +++ b/webf/.pubignore @@ -0,0 +1,83 @@ +# Miscellaneous +*.class +*.log +*.pyc +*.swp +.DS_Store +.atom/ +.buildlog/ +.history +.svn/ + +# IntelliJ related +*.iml +*.ipr +*.iws +.idea/ + +# Patch original files +*.orig +*.rej + +# Flutter/Dart/Pub related +**/doc/api/ +.dart_tool/ +.flutter-plugins +.packages +.pub-cache/ +.pub/ +build/ + +# Android related +**/android/**/gradle-wrapper.jar +**/android/.gradle +**/android/captures/ +**/android/gradlew +**/android/gradlew.bat +**/android/local.properties +**/android/**/GeneratedPluginRegistrant.java + +# iOS/XCode related +**/ios/**/*.mode1v3 +**/ios/**/*.mode2v3 +**/ios/**/*.moved-aside +**/ios/**/*.pbxuser +**/ios/**/*.perspectivev3 +**/ios/**/*sync/ +**/ios/**/.sconsign.dblite +**/ios/**/.tags* +**/ios/**/.vagrant/ +**/ios/**/DerivedData/ +**/ios/**/Icon? +**/ios/**/Pods/ +**/ios/**/.symlinks/ +**/ios/**/profile +**/ios/**/xcuserdata +**/ios/.generated/ +**/ios/Flutter/App.framework +**/ios/Flutter/Flutter.framework +**/ios/Flutter/Generated.xcconfig +**/ios/Flutter/app.flx +**/ios/Flutter/app.zip +**/ios/Flutter/flutter_assets/ +**/ios/ServiceDefinitions.json +**/ios/Runner/GeneratedPluginRegistrant.* + +# Exceptions to above rules. +!**/ios/**/default.mode1v3 +!**/ios/**/default.mode2v3 +!**/ios/**/default.pbxuser +!**/ios/**/default.perspectivev3 +!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages + +# Auto generated macos files. +macos/Flutter + +# Dart related +pubspec.lock +*.generated.dart + +.flutter-plugins-dependencies + +# NOTE: dylib files are NOT ignored here (unlike .gitignore) +# so they get included when publishing to pub.dev