💡 核心信息 适用版本: Flutter 3.x+ | Xcode 15+ | macOS 13.0+ 最后更新: 2026-03-07架构目标: arm64(Universal)适用系统: macOS (M1/M2/M3 芯片推荐)
| 组件 | 推荐版本 | 说明 |
|---|---|---|
| Xcode | 15.0 + | App Store 下载 |
| Command Line Tools | 15.0 + | xcode-select --install |
| Flutter SDK | 3.24.0 + | 官方下载链接 |
| CocoaPods | 1.14.0 + | sudo gem install cocoapods |
Preferences → Accountsmacos/Runner/Info.plist,确认以下配置:<key>CFBundleIdentifier</key>
<string>com.yixin.im.mac</string> <!-- 必须唯一,建议使用反向域名格式 -->💡 提示: 需在 Apple Developer 中注册该 Bundle ID
macos/Runner/Info.plist,确认版本号:<key>CFBundleShortVersionString</key>
<string>1.0.0</string> <!-- 语义化版本号 -->
<key>CFBundleVersion</key>
<string>1</string>macos/Runner.xcworkspace (Xcode 项目)⚠️ 重要提醒: 首次运行需要信任开发证书(Xcode 会提示)
build_macos.sh:壹信IM.dmgbuild/macos/Build/Products/Release/壹信IM.app💡 生成 DMG 文件:
README.md 或联系技术团队。