diff --git a/packages/url_launcher/url_launcher/CHANGELOG.md b/packages/url_launcher/url_launcher/CHANGELOG.md index aefe0dd8cfaf..fcb79409060d 100644 --- a/packages/url_launcher/url_launcher/CHANGELOG.md +++ b/packages/url_launcher/url_launcher/CHANGELOG.md @@ -1,3 +1,7 @@ +## 5.1.7 + +* Define clang module for iOS. + ## 5.1.6 * Fixes bug where androidx app won't build with this plugin by enabling androidx and jetifier in the android `gradle.properties`. diff --git a/packages/url_launcher/url_launcher/ios/url_launcher.podspec b/packages/url_launcher/url_launcher/ios/url_launcher.podspec index d8436c1c1e93..d3be4d12f778 100644 --- a/packages/url_launcher/url_launcher/ios/url_launcher.podspec +++ b/packages/url_launcher/url_launcher/ios/url_launcher.podspec @@ -16,6 +16,7 @@ A Flutter plugin for making the underlying platform (Android or iOS) launch a UR s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' - s.ios.deployment_target = '8.0' + s.platform = :ios, '8.0' + s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } end diff --git a/packages/url_launcher/url_launcher/pubspec.yaml b/packages/url_launcher/url_launcher/pubspec.yaml index d3e5830981a2..6e6924686bc8 100644 --- a/packages/url_launcher/url_launcher/pubspec.yaml +++ b/packages/url_launcher/url_launcher/pubspec.yaml @@ -3,7 +3,7 @@ description: Flutter plugin for launching a URL on Android and iOS. Supports web, phone, SMS, and email schemes. author: Flutter Team homepage: https://github.com/flutter/plugins/tree/master/packages/url_launcher/url_launcher -version: 5.1.6 +version: 5.1.7 flutter: plugin: diff --git a/script/lint_darwin_plugins.sh b/script/lint_darwin_plugins.sh index 602eb976dda6..58f94fe651a0 100755 --- a/script/lint_darwin_plugins.sh +++ b/script/lint_darwin_plugins.sh @@ -13,8 +13,16 @@ function lint_package() { local package_dir="${REPO_DIR}/packages/$package_name/" local failure_count=0 - for podspec in "$(find "${package_dir}" -name '*\.podspec')"; do - echo "Linting $package_name.podspec" + local skipped_podspecs=( + 'url_launcher_web.podspec' + ) + find "${package_dir}" -type f -name '*\.podspec' | while read podspec; do + # These podspecs are temporary multi-platform adoption dummy files. + if [[ "${skipped_podspecs[*]}" =~ "$(basename ${podspec})" ]]; then + continue + fi + + echo "Linting $(basename ${podspec})" # Build as frameworks. # This will also run any tests set up as a test_spec. See https://blog.cocoapods.org/CocoaPods-1.3.0. @@ -54,7 +62,6 @@ function lint_packages() { 'sensors' 'share' 'shared_preferences' - 'url_launcher' 'video_player' 'webview_flutter' )