Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug report] iOS Failed to save image #22

Open
SkyOfFeather opened this issue Oct 21, 2024 · 1 comment
Open

[Bug report] iOS Failed to save image #22

SkyOfFeather opened this issue Oct 21, 2024 · 1 comment

Comments

@SkyOfFeather
Copy link

Version

3.0.9

Platforms

iOS

Device Model

iPhone 12Mini (iOS 17.6.1)

flutter info

[✓] Flutter (Channel stable, 3.24.3, on macOS 14.2.1 23C71 darwin-arm64
    (Rosetta), locale zh-Hans-US)
    • Flutter version 3.24.3 on channel stable at /Users/baiyi/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (6 周前), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/baiyi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.90.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (5 available)            
    • Dangbei的iPhone (mobile)         • 00008101-001E58DE0A60001E • ios
      • iOS 17.6.1 21G93
    • 测试机 (mobile)                    • 00008030-0006558E369B402E • ios
      • iOS 17.5.1 21F90
    • macOS (desktop)                 • macos                     • darwin-arm64
      • macOS 14.2.1 23C71 darwin-arm64 (Rosetta)
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin
      • macOS 14.2.1 23C71 darwin-arm64 (Rosetta)
    • Chrome (web)                    • chrome                    •
      web-javascript • Google Chrome 129.0.6668.101
    ! Error: Browsing on the local area network for iPhone. Ensure the device is
      unlocked and attached with a cable or associated with the same local area
      network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code
      -27)
    ! Error: Browsing on the local area network for 时光机的iPhone15. Ensure the
      device is unlocked and attached with a cable or associated with the same
      local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code
      -27)

[!] Network resources
    ✗ An HTTP error occurred while checking "https://github.com/": Connection
      closed before full header was received

How to reproduce?

Store any JPG image

Logs

errorMessage: flutter: type 'String' is not a subtype of type 'Map<dynamic, dynamic>?' in type cast

Example code (optional)

No response

Contact

No response

@zhangruiyu
Copy link
Collaborator

没有复现,不过倒是修复了ios 保存file失败的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants