Skip to content

Running flutter project in Onedrive folder causes Error (Xcode): Target debug_unpack_ios failed: Exception: Failed to codesign Flutter.framework/Flutter: resource fork, Finder information, or similar detritus not allowed #123583

@GeylanKalafMohe

Description

@GeylanKalafMohe

Steps to Reproduce

  1. Create a standard flutter project in a ONEDRIVE folder on Mac
  2. Try to run the app on iOS via flutter run or via VSCode
  3. You get exception

This issue does not happen when you directly run the same project via Xcode directly

Expected results:
The project should run normally

Actual results:
Error (Xcode): Target debug_unpack_ios failed: Exception:
[ +21 ms] Failed to build iOS app
[ +2 ms] Could not build the precompiled application for the device.

Logs
flutter doctor -v
[✓] Flutter (Channel stable, 3.7.8, on macOS 13.2.1 22D68 darwin-x64, locale en-SA)
    • Flutter version 3.7.8 on channel stable at /Users/geylankalafmohe/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 90c64ed42b (7 days ago), 2023-03-21 11:27:08 -0500
    • Engine revision 9aa7816315
    • Dart version 2.19.5
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/geylankalafmohe/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2021.3)
    • 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.13+0-b1751.21-8125866)

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

[✓] Connected device (3 available)
    • Dev iPad (mobile) • 00008101-000E40C80183001E • ios            • iOS 16.3.1 20D67
    • macOS (desktop)   • macos                     • darwin-x64     • macOS 13.2.1 22D68 darwin-x64
    • Chrome (web)      • chrome                    • web-javascript • Google Chrome 111.0.5563.146

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: crashStack traces logged to the consolefound in release: 3.7Found to occur in 3.7found in release: 3.9Found to occur in 3.9has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions