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

Error saving log: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied" #270

Open
adminKKi opened this issue Jun 2, 2023 · 0 comments

Comments

@adminKKi
Copy link

adminKKi commented Jun 2, 2023

An error occurred when I ran the plugin to macOS:
Error saving log: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied" UserInfo={NSFilePath=../build/macos/Logs/Build/D3BF9E93-BCB0-41D7-8C3C-51B31C4CE6FD.xcactivitylog, NSLocalizedDescription=Permission denied} | User info: {
NSFilePath = "../build/macos/Logs/Build/D3BF9E93-BCB0-41D7-8C3C-51B31C4CE6FD.xcactivitylog";
NSLocalizedDescription = "Permission denied";
}

flutter-message:

[!] Flutter (Channel stable, 3.10.0, on macOS 13.0 22A380 darwin-arm64 (Rosetta), locale zh-Hans-CN)
    • Flutter version 3.10.0 on channel stable at /Users/kai/documents/installation/flutter
    ! Warning: `flutter` on your path resolves to /Users/kai/Documents/installation/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at /Users/kai/documents/installation/flutter. Consider adding
      /Users/kai/documents/installation/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/kai/Documents/installation/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/kai/documents/installation/flutter. Consider adding
      /Users/kai/documents/installation/flutter/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 84a1e904f4 (3 weeks ago), 2023-05-09 07:41:44 -0700
    • Engine revision d44b5a94c9
    • Dart version 3.0.0
    • DevTools version 2.23.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to
      perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/kai/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/kai/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

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

[✓] Android Studio (version 2021.2)
    • 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 11.0.12+0-b1504.28-7817840)

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

[✓] Connected device (3 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 12 (API 31) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64   • macOS 13.0 22A380 darwin-arm64 (Rosetta)
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 113.0.5672.126
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

1 participant