I am engaged on a Flutter challenge focusing on iOS and utilizing Xcode on an M1 MacBook. When I attempt to construct for the iOS simulator, I encounter a number of errors and warnings, together with:
Xcode’s output:
↳
Writing outcome bundle at path:
/var/folders/pd/4ycqd2p92n58d9v15xbskvrr0000gn/T/flutter_tools.qENE0r/flutter_ios_build_temp_dirlVcfgs/temporary_xcresult_bundle
/Customers/rensithudaragonalagoda/Desktop/my_app/selfcare/ios/Pods/Goal Assist Information/share/share-umbrella.h:13:9: error: double-quoted embody "FLTSharePlugin.h" in
framework header, anticipated angle-bracketed as a substitute
/Customers/rensithudaragonalagoda/.pub-cache/hosted/pub.dev/share-2.0.4/ios/Lessons/FLTSharePlugin.h:5:9: error: 'Flutter/Flutter.h' file not discovered
/Customers/rensithudaragonalagoda/Library/Developer/Xcode/DerivedData/Runner-djiegoorzmfpjvddtdkaltbzwtts/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/share.construct/VerifyModul
e/share_objective-c_x86_64-apple-ios12.0-simulator_gnu11/Take a look at/Take a look at.framework/Headers/Take a look at.h:1:9: error: (deadly) couldn't construct module 'share'
/Customers/rensithudaragonalagoda/Library/Developer/Xcode/DerivedData/Runner-djiegoorzmfpjvddtdkaltbzwtts/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/share.construct/VerifyModul
e/share_objective-c_x86_64-apple-ios12.0-simulator_gnu11/Take a look at/Take a look at.m:1:9: error: (deadly) couldn't construct module 'Take a look at'
be aware: Run script construct section 'Run Script' can be run throughout each construct as a result of the choice to run the script section "Primarily based on dependency evaluation" is unchecked. (in goal 'Runner' from
challenge 'Runner')
warning: sudden C compiler invocation with specified outputs:
'/Customers/rensithudaragonalagoda/Desktop/my_app/selfcare/construct/ios/Debug-iphonesimulator/Runner.app/GeneratedPluginRegistrant.m' (for enter:
'/Customers/rensithudaragonalagoda/Desktop/my_app/selfcare/ios/Runner/GeneratedPluginRegistrant.m') (in goal 'Runner' from challenge 'Runner')
be aware: Run script construct section 'Skinny Binary' can be run throughout each construct as a result of the choice to run the script section "Primarily based on dependency evaluation" is unchecked. (in goal 'Runner' from
challenge 'Runner')
warning: The Swift file "/Customers/rensithudaragonalagoda/Desktop/my_app/selfcare/ios/Runner/AppDelegate.swift" can't be processed by a Copy Bundle Sources construct section
(in goal 'Runner' from challenge 'Runner')
warning: no rule to course of file '/Customers/rensithudaragonalagoda/Desktop/my_app/selfcare/ios/Pods/payHereSDK/payHereSDK/Sources/Sources/HPay.ttf' of sort 'file' for
structure 'x86_64' (in goal 'payHereSDK' from challenge 'Pods')
warning: no rule to course of file '/Customers/rensithudaragonalagoda/Desktop/my_app/selfcare/ios/Pods/payHereSDK/payHereSDK/Sources/Sources/HPayBold.ttf' of sort 'file'
for structure 'x86_64' (in goal 'payHereSDK' from challenge 'Pods')
warning: no rule to course of file
'/Customers/rensithudaragonalagoda/Desktop/my_app/selfcare/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Sources/PrivacyInfo.xcprivacy' of sort 'textual content.xml' for
structure 'x86_64' (in goal 'FirebaseMessaging' from challenge 'Pods')
I’ve tried the next steps:
Cleaned the construct utilizing flutter clear.
Reinstalled CocoaPods with pod set up after deleting the Pods folder.
Verified that my Flutter and Xcode environments are updated.
Anticipated:
I anticipated the construct to finish efficiently and run the app on the iOS simulator with out errors or warnings.