KiviLabs - Documentation

Framework not found & Linker command failed with exit code 1

If you encounter error given below

  • framework not found flutter
  • Linker command failed with exit code 1 (use -v to see invocation)

Before start please check your iOS deployment target in Xcode.

Step 1 – In Mac check flutter version in your global terminal and in Android studio’s terminal.

If not same then set Flutter SDK path for Global environment –

Setting up Flutter SDK Path Globally on macOS

1. Open Terminal: Launch the Terminal application. You can find it in the Applications folder or search for it using Spotlight (Cmd + Space, then type “Terminal”).

2. Edit Your Shell Profile:

  • For Bash:
nano ~/.bash_profile
  • For Zsh:
nano ~/.zshrc

3. Add Flutter SDK Path: Add the following line at the end of the file:

   export PATH="$PATH:/path/to/flutter/bin"

Replace /path/to/flutter with the actual path where Flutter is installed on your system.

4. Save Changes: Press Ctrl + O to save the file, then press Enter. Press Ctrl + X to exit the editor.

5. Apply Changes: In the Terminal, run:

  • For Bash:
source ~/.bash_profile
  • For Zsh: