- Xcode10.0项目两个库互相引用报错问题
- That command depends on command
- ld: library not found for -lstdc
- Xcode10.0 Multiple commands pro
- library not found for -libstdc++
- Xcode 报错 library not found for -
- library not found for -libstdc++
- library not found for -libstdc++
- library not found for -libstdc++
- 升级xcode10.1 报错,library not found
在组件化的项目中可能出现:“A组件->B组件->...->C组件->A组件”的情况,这个情况在Xcode10.0之前版本运行时没有任何问题的,但是Xcode版本升级到10.0之后项目会报错。
错误提示:
Cycle in dependencies between targets 'A组件' and 'B组件'; building could produce unreliable results.
错误如图

解决方法:如图

1.Xcode左上角File选项卡下选择Workspace Settings选项

2.在弹出框中的第二个选项框中选择最后一个“Legacy Build System”
之后在运行项目就OK了
网友评论