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
flutter run fails: the path does not exist, target file not found #52075
Comments
Getting a similar issue. Tried stable, master and beta channels. |
works fine on Android emulator |
I'm having the same issue. The issue seemingly popped up out of nowhere. I had just built to my device a couple hours prior. I've tried stable and beta flutter channels as well as restarting my computer. |
Same here – “all of a sudden” it stopped compiling.
The strange thing is that if I start a new project, it works!
Going to port my existing project to a fresh one ☹
…-- Lucas
From: Dylan Moore <notifications@github.com>
Reply-To: flutter/flutter <reply@reply.github.com>
Date: Friday, March 6, 2020 at 9:05 AM
To: flutter/flutter <flutter@noreply.github.com>
Cc: Lucas Longo <lucaslongo@gmail.com>, Author <author@noreply.github.com>
Subject: Re: [flutter/flutter] Xcode updated now my iOS app won't build (#52075)
I'm having the same issue. The issue seemingly popped up out of nowhere. I had just built to my device a couple hours prior. I've tried stable and beta flutter channels as well as restarting my computer.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#52075?email_source=notifications&email_token=AAAXNS7LTZ5FVROPARFMZNLRGEUMPA5CNFSM4LCYIGQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOCC7UY#issuecomment-595865555>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAAXNS26NYEZKD2QWSM6CA3RGEUMPANCNFSM4LCYIGQA>.
|
I just noticed that you tried running on an iPhone 11 Pro Max. I normally do debugging on an iPhone 11 Pro, but I needed larger screenshots so for the first time, I selected iPhone 11 Pro Max as the Simulator to build to. I believe this is when I first encountered the issue. Have you built to this device before? |
Yes – was building on this device all along – but went ahead and tested on another device – same problem
…-- Lucas
From: Dylan Moore <notifications@github.com>
Reply-To: flutter/flutter <reply@reply.github.com>
Date: Friday, March 6, 2020 at 9:55 AM
To: flutter/flutter <flutter@noreply.github.com>
Cc: Lucas Longo <lucaslongo@gmail.com>, Author <author@noreply.github.com>
Subject: Re: [flutter/flutter] Xcode updated now my iOS app won't build (#52075)
I just noticed that you tried running on an iPhone 11 Pro Max. I normally do debugging on an iPhone 11 Pro, but I needed larger screenshots so for the first time, I selected iPhone 11 Pro Max as the Simulator to build to. I believe this is when I first encountered the issue.
Have you built to this device before?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#52075?email_source=notifications&email_token=AAAXNSZLJLKA57KYIASDDSLRGE2IRA5CNFSM4LCYIGQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOCIBYI#issuecomment-595886305>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAAXNSY5GJMSOXWLMIS4CUTRGE2IRANCNFSM4LCYIGQA>.
|
|
@dpedrinha @dylanmoo I don't have your run commands so I can't guess if it's the same issue. |
UPDATE: I've created the project from scratch and as soon as I add firebase database, I can no longer compile to iOS. Android works perfectly. I did a "flutter clean" before running "flutter run -d 'iPhone 11' --verbose" <--
[ +41 ms] Building Runner.app for 4B327349-275A-4C18-B183-6DA31B927C9F.
[ +23 ms] Found plugin firebase_auth at /Users/llongo/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.4/
in repo
[ +61 ms] Fingerprint write error: FileSystemException: Cannot open file, path = 'build/ios/pod_inputs.fingerprint' (OS Error: No such file or --> |
This comment has been minimized.
This comment has been minimized.
Just to report back, I found out my issue was related to my pods being messed up. I followed this solution and my project is now building again: CocoaPods/CocoaPods#8377 (comment) |
The firebase plugin issue looks like a different one than the device naming not being parsable because it contained spaces. How did you work around that?
|
The quotes were not the issue – I’m running through Visual Studio code – tried both ways – through the IDE and through the command line using the quotes
…-- Lucas
From: Jenn Magder <notifications@github.com>
Reply-To: flutter/flutter <reply@reply.github.com>
Date: Monday, March 9, 2020 at 11:20 AM
To: flutter/flutter <flutter@noreply.github.com>
Cc: Lucas Longo <lucaslongo@gmail.com>, Mention <mention@noreply.github.com>
Subject: Re: [flutter/flutter] flutter run fails: the path does not exist, target file not found (#52075)
The firebase plugin issue looks like a different one than the device naming not being parsable because it contained spaces. How did you work around that?
@longol<https://github.com/longol> can you try with those quotes? Or use the device identifier from flutter devices? Or are you running from an IDE?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#52075?email_source=notifications&email_token=AAAXNSZ34EGRRYCVWCSLAV3RGU6RJA5CNFSM4LCYIGQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOIOEZA#issuecomment-596697700>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAAXNS5PVYEZ5TAUMFPLL7LRGU6RJANCNFSM4LCYIGQA>.
|
That's weird, the original error message sure seems to be complaining about the space in the device name, and the second word being parsed as the target path:
I'm not quite sure what issue this is tracking if that's not the error you're referencing. |
Sorry - here's a fresh new output <-- /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/AppDelegate.o
/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/AppDelegate~partial.swiftmo -I/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Runner-own-target-headers.hmap -Xcc -I/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Runner-all-non-framework-target-headers.hmap /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner.swiftdoc /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner-Swift.h /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner.swiftmodule
/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources/Runner-Swift.h /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner-Swift.h (in target /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner-Swift.h
/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner.swiftdoc (in target /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner.swiftdoc
/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner.swiftmodule (in target /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner.swiftmodule
/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner.swiftdoc (in target /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner.swiftdoc
/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner.swiftmodule (in target /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner.swiftmodule
/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner_vers.o -I/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Runner-own-target-headers.hmap -I/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Runner-all-non-framework-target-headers.hmap /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner_vers.d /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner_vers.dia -c /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner_vers.o
/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/GeneratedPluginRegistrant.o -I/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Runner-own-target-headers.hmap -I/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Runner-all-non-framework-target-headers.hmap /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/GeneratedPluginRegistrant.d /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/GeneratedPluginRegistrant.di /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/GeneratedPluginRegistrant.o
-F/Users/llongo/Desktop/APPS/sendo_magro/build/ios/Debug-iphonesimulator/GoogleDataTransportCCTSupport /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner.LinkFileList -Xlinker /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner_lto.o -Xlinker /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner.swiftmodule -ObjC /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner_dependency_info.dat
(in target 'Runner'
project 'Runner') /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/assetcatalog_generated_info.plist --app-icon
target 'Runner'
/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Base.lproj/LaunchScreen-SBPartialInfo.plist
/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Base.lproj/Main-SBPartialInfo.plist
--output-format /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Base.lproj/LaunchScreen.storyboardc
from project /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Base.lproj/LaunchScreen-SBPartialInfo.plist /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Base.lproj/Main-SBPartialInfo.plist /Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/assetcatalog_generated_info.plist -o
/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-3B06AD1E1E4923F5004D2608.sh
(in target 'Runner' LD_DEPENDENCY_INFO_FILE=/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/undefined_a LD_ENTITLEMENTS_SECTION=/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Runner.app-Simulated.xcent LD_MAP_FILE_PATH=/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Runner-LinkMap-normal-undefined_a LINK_FILE_LIST_normal_x86_64=/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64 PATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Con tents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSim ulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Develope r/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/export/content/granular/bin:/usr/local/lin PER_ARCH_OBJECT_FILE_DIR=/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/undefined_ REZ_OBJECTS_DIR=/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/ResourceManagerResources/Objects SWIFT_RESPONSE_FILE_PATH_normal_x86_64=/Users/llongo/Library/Developer/Xcode/DerivedData/Runner-ddzbupeaudxbtzhjhdvsltrlckfq/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-nor [+8876 ms] Could not build the application for the simulator. #0 throwToolExit (package:flutter_tools/src/base/common.dart:14:3) llongo@llongo-mn2 sendo_magro % |
Did you try to run your app directly from xcode? |
Yes but it did not compile.
I get “Module 'firebase_core' not found”
…-- Lucas
From: Iulian <notifications@github.com>
Reply-To: flutter/flutter <reply@reply.github.com>
Date: Tuesday, March 10, 2020 at 2:19 PM
To: flutter/flutter <flutter@noreply.github.com>
Cc: Lucas Longo <lucaslongo@gmail.com>, Mention <mention@noreply.github.com>
Subject: Re: [flutter/flutter] flutter run fails: the path does not exist, target file not found (#52075)
Did you try to run your app directly from xcode?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#52075?email_source=notifications&email_token=AAAXNS32UKFQLTNJW5UTL6LRG2VGTA5CNFSM4LCYIGQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEONG2RY#issuecomment-597323079>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAAXNS5L4MSOKZBCSMRI2C3RG2VGTANCNFSM4LCYIGQA>.
|
@longol In my situation I can compile my app in Xcode but not using flutter. My error is :
|
This code has been re-written in the last few years. If anyone is still seeing some form of this, please file a new issue and completely fill out the template. Thank you! |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to Reproduce
The text was updated successfully, but these errors were encountered: