title: Flutter flavor for iOS gives SharedPreference error on run
body: <p>Issue faced while trying to run flavors for iOS using Build Schemas</p>
  
  <pre><code> /Labs/Workspace/Flutter/camp-flutter/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error:
      'shared_preferences/SharedPreferencesPlugin.h' file not found
      #import &lt;shared_preferences/SharedPreferencesPlugin.h&gt;
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      1 error generated.
  </code></pre>
  
  <h2>Flutter Doctor output</h2>
  
  <pre><code>Doctor summary (to see all details, run flutter doctor -v):
  [✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.14.5 18F132, locale en-IN)
  
  [✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
  [✓] Xcode - develop for iOS and macOS (Xcode 10.3)
  [✓] iOS tools - develop for iOS devices
  [✓] Android Studio (version 3.4)
  [✓] VS Code (version 1.36.1)
  [✓] Connected device (1 available)
  
  • No issues found!
  </code></pre>
  
  <h2>Additional Information</h2>
  
  <p>We are using flavors and schemes for iOS build and using below command to run applications</p>
  
  <pre><code>flutter run --flavor abcd --target lib/main/abcd_main.dart
  </code></pre>