Repository: flutter
Issue: The 'Pods-Runner' target has transitive dependencies
Labels: platform-ios,tool,platform-mac,t: xcode,P3,team-ios,triaged-ios

## Steps to Reproduce

Install my [appcenter plugin](https://pub.dartlang.org/packages/appcenter) and add initialisation code in your app :

```dart
  @override
  initState() {
    super.initState();
    initPlatformState();
  }

  Future initPlatformState() async {
    await AppCenter.start("<_app_secret>");
  }
```

The code works well with the local example generated with the plugin project template, but when installing with the dart package its doesn't work : I get the following error.

```
The 'Pods-Runner' target has transitive dependencies that include static binaries:  ...
```
I first saw that in the local example project, the Podfile doesn't have the `use_frameworks!` command, so I removed it. But it fails too and the library doesn't seem to be present.

## Logs

Before removing `use_framework!` from Podfile :

```
      - Running pre install hooks
    [!] The 'Pods-Runner' target has transitive dependencies that include static binaries: (/Users/alois/flutter_orange/src/ios/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework, /Users/alois/flutter_orange/src/ios/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework, and /Users/alois/flutter_orange/src/ios/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework)
    
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/installer/xcode/target_validator.rb:81:in `block (2 levels) in verify_no_static_framework_transitive_dependencies'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/installer/xcode/target_validator.rb:73:in `each'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/installer/xcode/target_validator.rb:73:in `block in verify_no_static_framework_transitive_dependencies'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/installer/xcode/target_validator.rb:70:in `each'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/installer/xcode/target_validator.rb:70:in `verify_no_static_framework_transitive_dependencies'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/installer/xcode/target_validator.rb:36:in `validate!'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/installer.rb:405:in `validate_targets'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/installer.rb:118:in `install!'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/command/install.rb:41:in `run'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/command.rb:52:in `run'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/bin/pod:55:in `<top (required)>'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/bin/pod:22:in `load'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/bin/pod:22:in `<main>'
Error running pod install
```

After removing `use_framework!` from Podfile :

```
	0   CoreFoundation                      0x000000010c27812b __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x000000010b90cf41 objc_exception_throw + 48
	2   CoreFoundation                      0x000000010c2f9024 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
	3   CoreFoundation                      0x000000010c1faf78 ___forwarding___ + 1432
	4   CoreFoundation                      0x000000010c1fa958 _CF_forwarding_prep_0 + 120
	5   Runner                              0x000000010744d972 -[MSAppCenter configure:] + 208
	6   Runner                              0x000000010744dc84 -[MSAppCenter start:withServices:] + 108
	7   Runner                              0x000000010744d1e7 +[MSAppCenter start:withServices:] + 95
	8   Runner                              0x000000010744a0df -[AppcenterPlugin<…>
```