Skip to content

Plugins with iOS native code included as dev_dependencies are being embedded in Release version of the app #49101

Closed

Description

@jmagman

Steps to Reproduce

  1. pubspec.yaml
dev_dependencies:
  flutter_test:
    sdk: flutter
  camera:
  1. flutter build ios --release

Expected results:

$ ls build/ios/Release-iphoneos/Runner.app/Frameworks/camera.framework/
ls: build/ios/Release-iphoneos/Runner.app/Frameworks/camera.framework: No such file or directory

Actual results:

$ ls build/ios/Release-iphoneos/Runner.app/Frameworks/camera.framework 
Info.plist     _CodeSignature camera
Details
[✓] Flutter (Channel master, v1.14.2-pre.49, on Mac OS X 10.15.2 19C57, locale en-US)
    • Flutter version 1.14.2-pre.49 at /Users/m/Projects/flutter
    • Framework revision 9301a86a86 (3 hours ago), 2020-01-17 15:28:01 -0800
    • Engine revision 6f37b7357e
    • Dart version 2.8.0 (build 2.8.0-dev.3.0 f96c48307d)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/m/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Users/m/Applications/Xcode_11-3.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.41.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.7.1

[✓] Connected device (1 available)
    • iPhone • d83d5bc53967baa0ee18626ba87b6254b2ab5418 • ios • iOS 13.3

• No issues found!

Activity

  1. added
    platform-iosiOS applications specifically
    toolAffects the "flutter" command-line tool. See also t: labels.
    t: xcode"xcodebuild" on iOS and general Xcode project management
    on Jan 18, 2020
  2. jmagman commented on Jan 18, 2020

    @jmagman
    MemberAuthor

    Reported at #23154.

  3. jmagman commented on Jan 18, 2020

    @jmagman
    MemberAuthor
  4. Ayoubdesigner101 commented on Jan 18, 2020

    @Ayoubdesigner101

    see also #49111

  5. added
    P3Issues that are less important to the Flutter project
    on Aug 11, 2020
  6. jmagman commented on Dec 8, 2020

    @jmagman
    MemberAuthor

    We can track with #45714.

  7. github-actions commented on Aug 9, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectplatform-iosiOS applications specificallyt: xcode"xcodebuild" on iOS and general Xcode project managementtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions