<h2 dir="auto">Steps to Reproduce</h2>
<ol dir="auto">
<li>Enter command: <code class="notranslate">flutter create -i swift hello</code></li>
<li>Enter command: <code class="notranslate">cd hello</code></li>
<li>Add <code class="notranslate">shared_preferences ^0.4.1</code> to <code class="notranslate">pubspec.yaml</code></li>
<li>Enter command: <code class="notranslate">flutter packages get</code></li>
<li>Enter command: <code class="notranslate">flutter run</code></li>
</ol>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Launching lib/main.dart on iPhone X in debug mode...
Running pod install...                                       0.9s
Running Xcode clean...                                       0.8s
Starting Xcode build...
Xcode build done                                             0.9s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    === BUILD TARGET shared_preferences OF PROJECT Pods WITH CONFIGURATION Debug ===
    In file included from /Users/jvanderen11/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.1/ios/Classes/SharedPreferencesPlugin.m:5:
    /Users/jvanderen11/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.1/ios/Classes/SharedPreferencesPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
    #import &lt;Flutter/Flutter.h&gt;
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
Could not build the application for the simulator.
Error launching application on iPhone X."><pre class="notranslate"><code class="notranslate">Launching lib/main.dart on iPhone X in debug mode...
Running pod install...                                       0.9s
Running Xcode clean...                                       0.8s
Starting Xcode build...
Xcode build done                                             0.9s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    === BUILD TARGET shared_preferences OF PROJECT Pods WITH CONFIGURATION Debug ===
    In file included from /Users/jvanderen11/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.1/ios/Classes/SharedPreferencesPlugin.m:5:
    /Users/jvanderen11/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.1/ios/Classes/SharedPreferencesPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
    #import &lt;Flutter/Flutter.h&gt;
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
Could not build the application for the simulator.
Error launching application on iPhone X.
</code></pre></div>
<p dir="auto">Note: In an attempt to resolve the issue, I followed up with issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="301970381" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/15099" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/15099/hovercard" href="https://github.com/flutter/flutter/issues/15099">#15099</a>, however, <code class="notranslate">SharedPreferencesPlugin.h</code> has the correct <code class="notranslate">Target Membership</code>:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22926257/38698363-9fe95898-3e49-11e8-869f-8c3a65f54f48.png"><img src="https://user-images.githubusercontent.com/22926257/38698363-9fe95898-3e49-11e8-869f-8c3a65f54f48.png" alt="screen shot" style="max-width: 100%;"></a></p>
<h2 dir="auto">Flutter Doctor</h2>
<p dir="auto">[✓] Flutter (Channel beta, v0.2.8, on Mac OS X 10.13.4 17E199, locale en-US)<br>
• Flutter version 0.2.8 at /Users/jvanderen11/flutter<br>
• Framework revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/b397406561f5e7a9c94e28f58d9e49fca0dd58b7/hovercard" href="https://github.com/flutter/flutter/commit/b397406561f5e7a9c94e28f58d9e49fca0dd58b7"><tt>b397406</tt></a> (10 days ago), 2018-04-02 13:53:20 -0700<br>
• Engine revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/c903c217a1a8206cdebdab1703b52ec6180edf37/hovercard" href="https://github.com/flutter/flutter/commit/c903c217a1a8206cdebdab1703b52ec6180edf37"><tt>c903c21</tt></a><br>
• Dart version 2.0.0-dev.43.0.flutter-52afcba357</p>
<p dir="auto">[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)<br>
• Android SDK at /Users/jvanderen11/Library/Android/sdk<br>
• Android NDK location not configured (optional; useful for native profiling support)<br>
• Platform android-27, build-tools 27.0.3<br>
• Java binary at: /Applications/Developer Tools/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java<br>
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)<br>
• All Android licenses accepted.</p>
<p dir="auto">[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)<br>
• Xcode at /Applications/Xcode.app/Contents/Developer<br>
• Xcode 9.3, Build version 9E145<br>
• ios-deploy 1.9.2<br>
• CocoaPods version 1.5.0</p>
<p dir="auto">[✓] Android Studio (version 3.1)<br>
• Android Studio at /Applications/Developer Tools/Android Studio.app/Contents<br>
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)</p>
<p dir="auto">[✓] IntelliJ IDEA Ultimate Edition (version 2018.1.1)<br>
• IntelliJ at /Users/jvanderen11/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app<br>
• Flutter plugin version 23.1.3<br>
• Dart plugin version 181.4203.498</p>
<p dir="auto">[✓] Connected devices (1 available)<br>
• iPhone X • 8098B98C-0E07-4441-9F17-50A738A52A85 • ios • iOS 11.3 (simulator)</p>
<p dir="auto">• No issues found!</p>
<h2 dir="auto">Steps to Reproduce</h2>
<ol dir="auto">
<li>Enter command: <code class="notranslate">flutter create -i swift hello</code></li>
<li>Enter command: <code class="notranslate">cd hello</code></li>
<li>Add <code class="notranslate">shared_preferences ^0.4.1</code> to <code class="notranslate">pubspec.yaml</code></li>
<li>Enter command: <code class="notranslate">flutter packages get</code></li>
<li>Enter command: <code class="notranslate">flutter run</code></li>
</ol>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Launching lib/main.dart on iPhone X in debug mode...
Running pod install...                                       0.9s
Running Xcode clean...                                       0.8s
Starting Xcode build...
Xcode build done                                             0.9s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    === BUILD TARGET shared_preferences OF PROJECT Pods WITH CONFIGURATION Debug ===
    In file included from /Users/jvanderen11/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.1/ios/Classes/SharedPreferencesPlugin.m:5:
    /Users/jvanderen11/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.1/ios/Classes/SharedPreferencesPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
    #import &lt;Flutter/Flutter.h&gt;
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
Could not build the application for the simulator.
Error launching application on iPhone X."><pre class="notranslate"><code class="notranslate">Launching lib/main.dart on iPhone X in debug mode...
Running pod install...                                       0.9s
Running Xcode clean...                                       0.8s
Starting Xcode build...
Xcode build done                                             0.9s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    === BUILD TARGET shared_preferences OF PROJECT Pods WITH CONFIGURATION Debug ===
    In file included from /Users/jvanderen11/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.1/ios/Classes/SharedPreferencesPlugin.m:5:
    /Users/jvanderen11/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.1/ios/Classes/SharedPreferencesPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
    #import &lt;Flutter/Flutter.h&gt;
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
Could not build the application for the simulator.
Error launching application on iPhone X.
</code></pre></div>
<p dir="auto">Note: In an attempt to resolve the issue, I followed up with issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="301970381" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/15099" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/15099/hovercard" href="https://github.com/flutter/flutter/issues/15099">#15099</a>, however, <code class="notranslate">SharedPreferencesPlugin.h</code> has the correct <code class="notranslate">Target Membership</code>:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22926257/38698363-9fe95898-3e49-11e8-869f-8c3a65f54f48.png"><img src="https://user-images.githubusercontent.com/22926257/38698363-9fe95898-3e49-11e8-869f-8c3a65f54f48.png" alt="screen shot" style="max-width: 100%;"></a></p>
<h2 dir="auto">Flutter Doctor</h2>
<p dir="auto">[✓] Flutter (Channel beta, v0.2.8, on Mac OS X 10.13.4 17E199, locale en-US)<br>
• Flutter version 0.2.8 at /Users/jvanderen11/flutter<br>
• Framework revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/b397406561f5e7a9c94e28f58d9e49fca0dd58b7/hovercard" href="https://github.com/flutter/flutter/commit/b397406561f5e7a9c94e28f58d9e49fca0dd58b7"><tt>b397406</tt></a> (10 days ago), 2018-04-02 13:53:20 -0700<br>
• Engine revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/c903c217a1a8206cdebdab1703b52ec6180edf37/hovercard" href="https://github.com/flutter/flutter/commit/c903c217a1a8206cdebdab1703b52ec6180edf37"><tt>c903c21</tt></a><br>
• Dart version 2.0.0-dev.43.0.flutter-52afcba357</p>
<p dir="auto">[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)<br>
• Android SDK at /Users/jvanderen11/Library/Android/sdk<br>
• Android NDK location not configured (optional; useful for native profiling support)<br>
• Platform android-27, build-tools 27.0.3<br>
• Java binary at: /Applications/Developer Tools/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java<br>
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)<br>
• All Android licenses accepted.</p>
<p dir="auto">[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)<br>
• Xcode at /Applications/Xcode.app/Contents/Developer<br>
• Xcode 9.3, Build version 9E145<br>
• ios-deploy 1.9.2<br>
• CocoaPods version 1.5.0</p>
<p dir="auto">[✓] Android Studio (version 3.1)<br>
• Android Studio at /Applications/Developer Tools/Android Studio.app/Contents<br>
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)</p>
<p dir="auto">[✓] IntelliJ IDEA Ultimate Edition (version 2018.1.1)<br>
• IntelliJ at /Users/jvanderen11/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app<br>
• Flutter plugin version 23.1.3<br>
• Dart plugin version 181.4203.498</p>
<p dir="auto">[✓] Connected devices (1 available)<br>
• iPhone X • 8098B98C-0E07-4441-9F17-50A738A52A85 • ios • iOS 11.3 (simulator)</p>
<p dir="auto">• No issues found!</p>