Could not build the application for the simulator. Build failed
methylester opened this issue · 0 comments
methylester commented
Hi,
I tried to clone the git into my directory and build it. Here is what I got:
Xcode's output:
error: Multiple commands produce
'/Users/andreasditler/Savanton/Andi/bitbucket/FlutterWhatsAppClone/build/ios
/Debug-iphonesimulator/Runner.app/Frameworks/Flutter.framework':
1) Target 'Runner' has copy command from
'/Users/andreasditler/Savanton/Andi/bitbucket/FlutterWhatsAppClone/ios/Flutt
er/Flutter.framework' to
'/Users/andreasditler/Savanton/Andi/bitbucket/FlutterWhatsAppClone/build/ios
/Debug-iphonesimulator/Runner.app/Frameworks/Flutter.framework'
2) That command depends on command in Target 'Runner': script phase “[CP]
Embed Pods Frameworks”
warning: ignoring duplicated output file:
'/Users/andreasditler/Savanton/Andi/bitbucket/FlutterWhatsAppClone/build/ios
/Debug-iphonesimulator/Runner.app/Frameworks/Flutter.framework' in shell
script build phase '[CP] Embed Pods Frameworks'. This warning represents an
extremely serious project misconfiguration and will likely cause some shell
scripts in your project to be skipped entirely, leading to other build
failures or missing files in the build directory. This will be a hard error
in the future. (in target 'Runner')
note: Using new build systemnote: Planning buildnote: Constructing build
description
Could not build the application for the simulator.
Error launching application on iPhone Xʀ.
Flutter doctor is inconspicuous:
MyMac:FlutterWhatsAppClone methylester$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G95, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.38.1)
[✓] Connected device (1 available)
• No issues found!