ld: library not found for -lcrt1.3.1.o

简介:

clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of iOS 7 [-Wdeprecated]
ld: library not found for -lcrt1.3.1.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)

解决(Xcode9.4.1):

  1. Build Phases -> Link Binary With Libraries
    添加库:libc++.tbd。
  2. General -> Deployment Info -> Deployment Target
    修改为ios7或者以上版本。
相关文章
|
8月前
|
机器学习/深度学习 算法 算法框架/工具
Library
Library
47 1
Mac M1 报错 ld: library not found for -lSystem
Mac M1 报错 ld: library not found for -lSystem
455 0
|
安全 Ubuntu
LD_LIBRARY_PATH It can compromise security
LD_LIBRARY_PATH It can compromise security
109 1
|
Python
ld: library not found for -lssl
ld: library not found for -lssl
82 0
缺少链接库报错:ld: symbol(s) not found for architecture x86_64
缺少链接库报错:ld: symbol(s) not found for architecture x86_64
251 0
symbol lookup error: /home/quantum6/build_libs/lib/libreadline.so.7: undefined symbol: UP
symbol lookup error: /home/quantum6/build_libs/lib/libreadline.so.7: undefined symbol: UP
130 0
关于问题ld:library not found for -lXXX的错误
关于问题ld:library not found for -lXXX的错误
793 0
Xcode12.x报错: ld: library not found for -lstdc++.6.0.9
错误信息: ld: library not found for -lstdc++.6.0.9 报错原因:Xcode10移除了动态库libstdc
289 0
|
XML 人工智能 SDN