Reputation: 101
I'm trying to build a Flutter App. The app works absolutely fine with Andrioid. But, gives the following error in Xcode build :
ld: framework not found
clang error : linker command failed with exit code 1(use -v to see invocation)
I have also observed that, although i have my Flutter.framework and App.framework in my Flutter folder. It is not shown in Xcode.
I have tried the following solutions :
1. cd ios pod deintegrate flutter clean flutter run
pod deintegrate and pod install/pod update
Changing Run script in Build Phases to /bin/sh "$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" build
Upvotes: 1
Views: 2359
Reputation: 21
Delete 2 lines:
"-framework"
""the pub name which is not found""
Upvotes: 2