From bb240457095bd4c5aee2e6aea828c3712365d988 Mon Sep 17 00:00:00 2001 From: niuhuan Date: Wed, 15 Dec 2021 11:56:31 +0800 Subject: [PATCH] layout archs --- android/app/build.gradle | 3 --- go/mobile/bind-ios-debug.sh | 1 + go/mobile/bind-ios.sh | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 go/mobile/bind-ios-debug.sh diff --git a/android/app/build.gradle b/android/app/build.gradle index 21eeee5..cae3b59 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -46,9 +46,6 @@ android { // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. signingConfig signingConfigs.debug - ndk { - abiFilters 'armeabi-v7a' - } } } } diff --git a/go/mobile/bind-ios-debug.sh b/go/mobile/bind-ios-debug.sh new file mode 100644 index 0000000..d6c1c5c --- /dev/null +++ b/go/mobile/bind-ios-debug.sh @@ -0,0 +1 @@ +gomobile bind -target=ios -o lib/Mobile.xcframework ./ diff --git a/go/mobile/bind-ios.sh b/go/mobile/bind-ios.sh index d6c1c5c..f4e00bd 100644 --- a/go/mobile/bind-ios.sh +++ b/go/mobile/bind-ios.sh @@ -1 +1 @@ -gomobile bind -target=ios -o lib/Mobile.xcframework ./ +gomobile bind -target=ios/arm64 -o lib/Mobile.xcframework ./