Amrutha Desai
Amrutha Desai

Reputation: 101

ld: framework not found ,Flutter error on Xcode

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

  1. pod deintegrate and pod install/pod update

  2. Changing Run script in Build Phases to /bin/sh "$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" build

Upvotes: 1

Views: 2359

Answers (1)

hungafl
hungafl

Reputation: 21

  1. Go to Build Setting and search "Other linker flag".

Delete 2 lines:

"-framework"

""the pub name which is not found""

Upvotes: 2

Related Questions