tujinqiu
tujinqiu

Reputation: 47

Add static Realm.framework but compile with error: framework not found Realm clang: error: linker command failed with exit code 1

I add the static Realm.framework as the document describe:

1、Download the latest release of Realm and extract the zip. 2、Drag Realm.framework from the ios/static/ directory to the File Navigator of your Xcode project. Make sure Copy items if needed is selected and click Finish. 3、Click on your project in the Xcode File Navigator. Select your app’s target and go to the Build Phases tab. Under Link Binary with Libraries click + and add libc++.tbd. 4、If using Realm with Swift, drag the file at Swift/RLMSupport.swift into the File Navigator of your Xcode project, checking the Copy items if needed checkbox.

Objective-C, Xcode 7.3. Why?

Upvotes: 0

Views: 628

Answers (1)

Suresh.Chandgude
Suresh.Chandgude

Reputation: 306

Can you please check your Framework Search Path. If there is no path defined, try to add path.

Upvotes: 1

Related Questions