diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index 5567190d9c..3d029acd60 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -35,7 +35,7 @@ dev_dependencies: sdk: flutter mockito: ^5.1.0 yaml: ^3.1.0 # needed for version match (code and pubspec) - flutter_lints: ^5.0.0 + flutter_lints: '>=4.0.0' collection: ^1.16.0 remove_from_coverage: ^2.0.0 flutter_localizations: diff --git a/flutter/scripts/generate-cocoa-bindings.sh b/flutter/scripts/generate-cocoa-bindings.sh index 3415ee3f62..bda43beda2 100755 --- a/flutter/scripts/generate-cocoa-bindings.sh +++ b/flutter/scripts/generate-cocoa-bindings.sh @@ -19,7 +19,7 @@ temp="temp" rm -rf $temp mkdir -p $temp curl -Lv --fail-with-body https://github.com/getsentry/sentry-cocoa/releases/download/$cocoa_version/Sentry.xcframework.zip -o $temp/Sentry.xcframework.zip -subdir="Sentry.xcframework/macos-arm64_x86_64/Sentry.framework" +subdir="Sentry.xcframework/macos-arm64_arm64e_x86_64/Sentry.framework" unzip -q $temp/Sentry.xcframework.zip "$subdir/*" -d $temp mv "$temp/$subdir" $temp/Sentry.framework