'ld: framework not found Realm - installing for Xcode Version 11.3.1, pod RealmSwift 10.1.4

I am a beginner in iOS development, and my first task is to install Realm using CocoaPods. I followed the guide but got the following error:

ld: framework not found Realm
clang: error: linker command failed with exit code 1 (use -v to see invocation)

My machine:

macOS Catalina 10.15.7 
Xcode: Version 11.3.1 (11C505)

Podfile:

# Uncomment the next line to define a global platform for your project
platform :ios, '12.0'

target 'Notes-App' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for Notes-App
  pod 'RealmSwift', '=10.1.4'

end

In platform :ios, '12.0' I also tried 4.3 and 9.0. Same error. The troubleshooting guide didn't help. Same error

Pod version:

pod --version
1.10.1


Solution 1:[1]

Hy! You should use the white .workspace file after installing the pod file.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ElmHunter