Skip to content

flutter build ios-framework --xcframework is creating App.framework instead of App.xcframework #44492

@jmagman

Description

@jmagman

Steps to Reproduce

$ flutter build ios-framework --no-universal --xcframework
...
$ ls -la  /Users/m/Projects/test_add2app/flutterapp/build/ios/framework/Debug
total 0
drwxr-xr-x  7 m  primarygroup  224 Nov  8 17:16 .
drwxr-xr-x  5 m  primarygroup  160 Nov  8 17:16 ..
drwxr-xr-x  5 m  primarygroup  160 Nov  8 17:16 App.framework
drwxr-xr-x  5 m  primarygroup  160 Nov  8 17:16 Flutter.xcframework
drwxr-xr-x  5 m  primarygroup  160 Nov  8 17:16 FlutterPluginRegistrant.xcframework
drwxr-xr-x  5 m  primarygroup  160 Nov  8 17:16 device_info.xcframework
drwxr-xr-x  5 m  primarygroup  160 Nov  8 17:16 path_provider.xcframework

Note App.framework instead of App.xcframework

[✓] Flutter (Channel unknown, v1.10.16-pre.101, on Mac OS X 10.14.6 18G87, locale en-US)
    • Flutter version 1.10.16-pre.101 at /Users/m/Projects/flutter
    • Framework revision d36cd26242 (4 weeks ago), 2019-10-09 18:13:23 -0700
    • Engine revision 5f5713e339
    • Dart version 2.7.0

 
[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/m/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • 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)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 11.2)
    • Xcode at /Users/m/Applications/Xcode-11_2.app/Contents/Developer
    • Xcode 11.2, Build version 11B41
    • CocoaPods version 1.8.3

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

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

[✓] Connected device (2 available)
    • Flutter iOS Device • d83d5bc53967baa0ee18626ba87b6254b2ab5418 • ios • iOS 13.1.3
    • iPod touch         • 9fbe53ba4d06927398644c5bd520d2aa18053017 • ios • iOS 11.3.1

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: existing-appsIntegration with existing apps via the add-to-app flowtoolAffects 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