From c1e48c515be2e9919a6d7d9b79a0ec68b762fe8f Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Thu, 3 Oct 2019 18:47:29 -0700 Subject: [PATCH] [package_info] Define clang module for iOS --- packages/package_info/CHANGELOG.md | 1 + packages/package_info/ios/package_info.podspec | 5 ++--- script/lint_darwin_plugins.sh | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/package_info/CHANGELOG.md b/packages/package_info/CHANGELOG.md index a041f9115004..fbb076fd181f 100644 --- a/packages/package_info/CHANGELOG.md +++ b/packages/package_info/CHANGELOG.md @@ -1,6 +1,7 @@ ## 0.4.0+7 * Update and migrate iOS example project. +* Define clang module for iOS. ## 0.4.0+6 diff --git a/packages/package_info/ios/package_info.podspec b/packages/package_info/ios/package_info.podspec index 2e39eba10090..f99ee2d19e16 100644 --- a/packages/package_info/ios/package_info.podspec +++ b/packages/package_info/ios/package_info.podspec @@ -15,7 +15,6 @@ A new flutter plugin project. s.source_files = 'Classes/**/*' 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/script/lint_darwin_plugins.sh b/script/lint_darwin_plugins.sh index 6180cdfe3822..bc352b0500b4 100755 --- a/script/lint_darwin_plugins.sh +++ b/script/lint_darwin_plugins.sh @@ -56,7 +56,6 @@ function lint_packages() { 'battery' 'google_maps_flutter' 'google_sign_in' - 'package_info' 'path_provider' 'quick_actions' 'share'