'my flutter IOS project showing error "clang: error: no such file or directory: 'UserNotifications' Command Ld failed with a nonzero exit code"

Showing Recent Messages Ld /Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/Runner.app/Runner normal (in target 'Runner' from project 'Runner') cd /Users/shibi/Desktop/grand_ecom/ios /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios12.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk -L/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/usr/lib/swift -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/FMDB -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/FirebaseCore -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/FirebaseCoreDiagnostics -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/FirebaseInstallations -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/FirebaseMessaging -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/GoogleDataTransport -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/GoogleUtilities -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/PromisesObjC -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/ReachabilitySwift -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/Toast -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/app_settings -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/app_tracking_transparency -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/connectivity_plus -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/firebase_analytics -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/firebase_core -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/firebase_messaging -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/flutter_downloader -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/flutter_email_sender -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/flutter_local_notifications -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/fluttertoast -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/geocoding -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/google_maps_flutter -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/location -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/maps_launcher -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/nanopb -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/package_info_plus -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/path_provider_ios -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/permission_handler_apple -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/shared_preferences_ios -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/sqflite -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/url_launcher_ios -F/Users/shibi/Desktop/grand_ecom/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/shibi/Desktop/grand_ecom/ios/Pods/GoogleAppMeasurement/Frameworks -F/Users/shibi/Desktop/grand_ecom/ios/Pods/GoogleMaps/Base/Frameworks -F/Users/shibi/Desktop/grand_ecom/ios/Pods/GoogleMaps/Maps/Frameworks -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/FirebaseAnalytics/WithoutAdIdSupport -F/Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleAppMeasurement/WithoutAdIdSupport -filelist /Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner.swiftmodule -ObjC -lc++ -lsqlite3 -lz -framework Accelerate -framework CoreData -framework CoreGraphics -framework CoreImage -framework CoreLocation -framework CoreTelephony -framework CoreText -framework FBLPromises -framework FMDB -framework FirebaseAnalytics -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseInstallations -framework FirebaseMessaging -framework Foundation -framework GLKit -framework GoogleAppMeasurement -framework GoogleDataTransport -framework GoogleMaps -framework GoogleMapsBase -framework GoogleMapsCore -framework GoogleUtilities -framework ImageIO -framework Metal -framework OpenGLES -framework QuartzCore -framework Reachability -framework Security -framework StoreKit -framework SystemConfiguration -framework Toast -framework UIKit -framework app_settings -framework app_tracking_transparency -framework connectivity_plus -framework firebase_analytics -framework firebase_core -framework firebase_messaging -framework flutter_downloader -framework flutter_email_sender -framework flutter_local_notifications -framework fluttertoast -framework geocoding -framework google_maps_flutter -framework location -framework maps_launcher -framework nanopb -framework package_info_plus -framework path_provider_ios -framework permission_handler_apple -framework shared_preferences_ios -framework sqflite -framework url_launcher_ios -weak_framework UserNotifications -ObjC -lc++ -lsqlite3 -lz -framework Accelerate -framework CoreData -framework CoreGraphics -framework CoreImage -framework CoreLocation -framework CoreTelephony -framework CoreText -framework FBLPromises -framework FMDB -framework FirebaseAnalytics -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseInstallations -framework FirebaseMessaging -framework Foundation -framework GLKit -framework GoogleAppMeasurement -framework GoogleAppMeasurementIdentitySupport -framework GoogleDataTransport -framework GoogleMaps -framework GoogleMapsBase -framework GoogleMapsCore -framework GoogleUtilities -framework ImageIO -framework Metal -framework OpenGLES -framework QuartzCore -framework Reachability -framework Security -framework StoreKit -framework SystemConfiguration -framework Toast -framework UIKit -framework app_settings -framework app_tracking_transparency -framework connectivity_plus -framework firebase_analytics -framework firebase_core -framework firebase_messaging -framework flutter_downloader -framework flutter_email_sender -framework flutter_local_notifications -framework fluttertoast -framework geocoding -framework google_maps_flutter -framework image_downloader -framework location -framework maps_launcher -framework nanopb -framework package_info_plus -framework path_provider_ios -framework permission_handler_apple -framework shared_preferences_ios -framework sqflite -framework -weak_framework UserNotifications -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Runner.app-Simulated.xcent -lsqlite3 -framework Pods_Runner -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner_dependency_info.dat -o /Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/Runner.app/Runner

clang: error: no such file or directory: 'UserNotifications' Command Ld failed with a nonzero exit code



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source