Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Document flutter run for iOS apps on Apple silicon Macs (Designed for iPad)

Đang mở
#13,998 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
54/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
dart, flutter, ios, macos

Hướng nghiên cứu

Read the existing iOS platform guide and the linked code PR, https://github.com/flutter/flutter/pull/194922, to confirm the feature details and release timing. Document requirements, Xcode permissions, the Debug/Profile/Release workflow, limitations, and how this target differs from the native macOS target. Coordinate publication with the code landing; done when the guide reflects the supported Flutter release and accurately describes the workflow for released SDKs.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Related code pull request or issue

https://github.com/flutter/flutter/pull/194922

Feature summary

Document running a Flutter iOS app directly on an Apple silicon Mac with the Mac Designed for iPad device. The code PR adds normal device discovery and flutter run / IDE launch support to the existing attach-only target.

The implementation is currently in a draft PR, not a released Flutter SDK. Coordinate publication with the code landing and record the first supported Flutter version once known.

Type of documentation needed
  • Update to an existing guide on docs.flutter.dev
  • CLI or tooling documentation
  • Platform support or integration guide
Code snippet or usage example

From the Flutter application directory, using an SDK that includes the feature:

flutter devices
flutter run -d mac-designed-for-ipad
flutter run -d mac-designed-for-ipad --profile
flutter run -d mac-designed-for-ipad --release

For IDEs, select Mac Designed for iPad as the device and launch the iOS application. Explain how this differs from selecting the native macOS desktop target (macos).

Additional context or resources

The documentation should cover:

  • Requirements: an Apple silicon Mac; an existing Flutter iOS app whose Xcode configuration and dependencies support the Designed for iPad destination; a compatible Xcode installation with iOS development tooling and the app's normal code-signing setup. Follow Flutter's supported Xcode requirements rather than treating the validation version as a minimum.
  • Xcode launch and permissions: Flutter builds the iOS app and uses Xcode automation with a temporary launcher workspace. Explain the macOS permission to control Xcode and relevant troubleshooting for local VM service discovery.
  • Development workflow: Debug breakpoints, hot reload, hot restart, and Stop; Profile and Release launch support. Debug attaches LLDB; Profile and Release normally launch without it.
  • Limits of this change: standalone installation/uninstallation, standalone logs, screenshots, and flutter drive are unsupported. Standalone build/export commands are outside this feature. The iOS application's normal platform and plugin limitations still apply.
  • Availability: identify the first Flutter release containing the feature after landing. Until then, retain guidance appropriate to released SDKs.

The code PR was validated on an M4 Mac with macOS 27.0.1 and Xcode 27.1; these are validation versions, not a claimed minimum support matrix.

Related:

Volunteer to help write this documentation
  • Draft the documentation PR on docs.flutter.dev.
Ngôn ngữ chính
Dart
Star
3.1k
Fork
3.5k
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
46

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của flutter/website

Tất cả issue của flutter/website

Issue tương tự

Thêm issue về Dart

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.