适用于iOS 9的xcode 7.1缺少Objective C领域静态框架所需的libc ++.dylib [英] xcode 7.1 for iOS 9 missing libc++.dylib required for Objective C Realm Static Framework

查看:228
本文介绍了适用于iOS 9的xcode 7.1缺少Objective C领域静态框架所需的libc ++.dylib的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在关注此文档,以将领域集成到我的iOS应用中.

I am following this doc for integrating realm in my iOS app.

iOS的领域静态框架

我的问题在步骤3中.我找不到libc ++.dylib.我发现了其他一些.tbd文件,但都不是libc ++.

My problem is in step 3. I am unable to find libc++.dylib. I find a few other .tbd ones but none of them are libc++.

我还关注了其他几篇关于使用添加其他"选项并执行command + shift + G的文章,然后找到了该库,但该库也不在该列表中.

I followed a few other SO posts on using the "add other" option and doing command+shift+G and find that library but it's not in that list either.

有人知道任何解决方法吗?

Does anyone know any workarounds?

推荐答案

我遇到了同样的问题.我找到了解决方法.

I had the same problem. I found some kind of way around.

  1. 转到构建阶段>与库链接二进制文件> +>添加其他
  2. 在文件选择窗口中执行"CMD" + Shift + G(转到文件夹),然后键入/usr/lib/
  3. 在/usr/lib中,您可以添加:libc ++.dylib等. 编译并享受乐趣
  1. Go to Build Phases > Link Binary with Librairies > + > Add other
  2. Once in the file selection window do "CMD"+Shift+G (Go to folder) and type /usr/lib/
  3. From /usr/lib you can add : libc++.dylib and more... Compile and have fun

这篇关于适用于iOS 9的xcode 7.1缺少Objective C领域静态框架所需的libc ++.dylib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆