1

I opened a project with new Xcode (Version 7.0) and there was some errors connected with CoreText.framework and lnfshared.dylib. All libraries with *.dylib I've changed to *.tbd. Now there is only one error in compilation:

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

Has anybody encountered such a problem?

Lorenzo
  • 3,293
  • 4
  • 29
  • 56
Brown Bee
  • 11
  • 5

2 Answers2

0

I had a similar problem and I solved searching the files in a different path. Look a this link Missing files libresolv.9.dylib and libxml2.dylib

Community
  • 1
  • 1
Lorenzo
  • 3,293
  • 4
  • 29
  • 56
  • In "/Users/yyyyyy/Library/Developer/Xcode/iOS DeviceSupport/" I do not have 9.x, however already have started all simulators on ios 9 with other projects. – Brown Bee Sep 28 '15 at 12:03
  • You should find 9.x or 8.x based on the different iOS. Tell me if you solve the problem. – Lorenzo Sep 28 '15 at 12:10
  • nope( Found it in 8.x folder. added library from there. but it does not help. – Brown Bee Sep 28 '15 at 12:12
  • In my case I have removed the old reference from the project end added the new and all was fine. probably for you there is something else. – Lorenzo Sep 28 '15 at 12:14
  • don't even know what to clean else... rebuilded, close xcode, remove old libraries... nothing. The same problem – Brown Bee Sep 28 '15 at 12:26
0

The problem was in build setting. Deployment target was from 6.0. I've change it to 7.0 and the error disappeared

Brown Bee
  • 11
  • 5