Repository: flutter
Issue: Last plugin pod is still embedded in an iOS app even after it is removed from the pubspec
Labels: platform-ios,tool,platform-mac,P2,a: plugins,team-ios,triaged-ios

I found a problem with release build for iOS. The app is built, but it crashes on launch.
```
[VERBOSE-3:dart_init.cc(560)] Error while initializing the Dart VM: JIT runtime cannot run a precompiled snapshot
```
iOS debug, Android debug/release work well. 
This issue is on master and alpha channels. 
New project (`flutter create ...`) runs without crashes.

## Steps to Reproduce
`flutter run --release -v`

https://gist.github.com/mogol/1702b19068d949f44bdb54f693351b23

## Logs

Run your application with `flutter run` and attach all the log output.
```
flutter run             

Launching lib/main.dart on iPhone 7 GS in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: PWSQ8TH82A
Running Xcode build...                               16.4s
You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
Syncing files to device iPhone 7 GS...                2.8s

🔥  To hot reload your app on the fly, press "r". To restart the app entirely, press "R".
An Observatory debugger and profiler on iPhone 7 GS is available at: http://127.0.0.1:8102/
For a more detailed help message, press "h". To quit, press "q".
```
Run `flutter analyze` and attach any output of that command also.

```
flutter analyze
Analyzing /Users/herman/Projects/fitness/mobileapp...
  lint • Type annotate public APIs at lib/calendar/calendar.dart:45:20 • type_annotate_public_apis
  lint • Type annotate public APIs at lib/main.dart:99:20 • type_annotate_public_apis
  lint • Avoid annotating with dynamic when not required at lib/redux/state.g.dart:46:20 • avoid_annotating_with_dynamic
  lint • Sort constructor declarations before method declarations at lib/redux/state.g.dart:105:3 • sort_constructors_first
  lint • Avoid returning this from methods just to enable a fluent interface at lib/redux/state.g.dart:107:23 • avoid_returning_this
  lint • Avoid using `as` at lib/redux/state.g.dart:122:11 • avoid_as
6 issues found.
(Ran in 11.1s)
```
## Flutter Doctor

```
flutter doctor

[✓] Flutter (on Mac OS X 10.12.6 16G29, locale en-RU, channel master)
    • Flutter at /Users/herman/Projects/github/flutter
    • Framework revision f1a23e263c (3 hours ago), 2017-08-29 14:58:31 +0200
    • Engine revision e5395796cd
    • Tools Dart version 1.25.0-dev.11.0

[✓] Android toolchain - develop for Android devices (Android SDK 26.0.0)
    • Android SDK at /Users/herman/Library/Android/sdk
    • Platform android-26, build-tools 26.0.0
    • ANDROID_HOME = /Users/herman/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] iOS toolchain - develop for iOS devices (Xcode 8.3.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.3.3, Build version 8E3004b
    • ios-deploy 1.9.1
    • CocoaPods version 1.2.1

[✓] Android Studio (version 2.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Ultimate Edition (version 2017.2.2)
    • Flutter plugin version 16.0
    • Dart plugin version 172.3757.55

[✓] Connected devices
    • None

```