error image I am trying to build my Flutter iOS app using Xcode, but I am getting the following error:
ld: framework 'Flutter' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have already tried the following steps:
Ran pod install --repo-update in the ios directory Cleared Derived Data (rm -rf ~/Library/Developer/Xcode/DerivedData) Ran flutter clean and flutter pub get
error image I am trying to build my Flutter iOS app using Xcode, but I am getting the following error:
ld: framework 'Flutter' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have already tried the following steps:
Ran pod install --repo-update in the ios directory Cleared Derived Data (rm -rf ~/Library/Developer/Xcode/DerivedData) Ran flutter clean and flutter pub get
Share Improve this question edited Mar 20 at 12:41 Rajendra Suthar asked Mar 20 at 12:36 Rajendra SutharRajendra Suthar 12 bronze badges 1 |1 Answer
Reset to default 0You can try below solutions:
Check Flutter Setup: Run
flutter doctor -v
to ensure no issues.Open Correct Workspace: because you are running your app through Xcode, please make sure to open Runner.xcworkspace instead of Runner.xcodeproj.
Reset iOS build:
rm -rf ios/Pods ios/.symlinks ios/Flutter ios/Podfile.lock cd ios && pod install --repo-update && cd .. flutter clean && flutter pub get
flutter create --platforms=ios .
Maybe this can fix the issue – Tijl Ivens Commented Mar 20 at 14:21