0

I have 1 error in realm library when i tryed to import project made with Swift 2.3

ld: library not found for -lrealm-ios

clang: error: linker command failed with exit code 1 (use -v to see invocation)

15
  • Images and screenshots can be a nice addition to a post, but please make sure the post is still clear and useful without them. Don't post images of code or error messages. Instead copy and paste or type the actual code/message into the post directly. Commented Aug 6, 2018 at 4:33
  • Have you tried clearing your derived data? Commented Aug 6, 2018 at 4:40
  • i just clean the project and build again, its the same error. Commented Aug 6, 2018 at 4:40
  • and how to clean derived data. Commented Aug 6, 2018 at 4:40
  • Are you using Dependency manager like cocoapods / carthage for adding the realm library. Commented Aug 6, 2018 at 4:52

1 Answer 1

3

Go to Preferences > Locations > Derived Data, Then go to the mentioned derived data folder by clicking the arrow icon. Clear the data and try again.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.