-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Steps to reproduce
Must be on stable or beta flutter branch.
- Create macos flutter app
- Run
flutter build macos-framework --cocoapods --output=some/path/MyApp/Flutter/ - Create macos Xcode SwiftUI app project
- Within the Xcode project, run
pod init - Update podfile to use podspec from macos project
pod 'FlutterMacOS', :podspec => 'some/path/MyApp/Flutter/[build mode]/FlutterMacOS.podspec'
- Run
pod install
Actual results
This will produce error
Installing FlutterMacOS (3.19.100)
[!] /bin/bash -c
set -e
unzip FlutterMacOS.framework -d FlutterMacOS.framework
unzip: cannot find or open FlutterMacOS.framework, FlutterMacOS.framework.zip or FlutterMacOS.framework.ZIP.
Logs
Logs
<!-- Paste your logs here -->
Flutter Doctor output
Doctor output
[!] Flutter (Channel master, 3.20.0-13.0.pre.52, on macOS 13.6.4 22G513 darwin-arm64, locale en)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.86.2)
[✓] Connected device (4 available)
[✓] Network resources
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform teamTriaged by iOS platform team