diff --git a/packages/connectivity/CHANGELOG.md b/packages/connectivity/CHANGELOG.md index e28fcd744805..b52e629fd516 100644 --- a/packages/connectivity/CHANGELOG.md +++ b/packages/connectivity/CHANGELOG.md @@ -1,6 +1,7 @@ ## 0.4.4+1 * Update and migrate iOS example project. +* Define clang module for iOS. ## 0.4.4 diff --git a/packages/connectivity/ios/connectivity.podspec b/packages/connectivity/ios/connectivity.podspec index e973c94f7a1e..b3d299c18de6 100644 --- a/packages/connectivity/ios/connectivity.podspec +++ b/packages/connectivity/ios/connectivity.podspec @@ -16,6 +16,6 @@ A new flutter plugin project. s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' s.dependency 'Reachability' - - 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 c3771bb744ab..619cd15a1f14 100755 --- a/script/lint_darwin_plugins.sh +++ b/script/lint_darwin_plugins.sh @@ -48,7 +48,6 @@ function lint_packages() { 'android_alarm_manager' 'android_intent' 'battery' - 'connectivity' 'google_maps_flutter' 'google_sign_in' 'instrumentation_adapter'