xcode 7.1 for iOS 9 missing libc++.dylib required for Objective C Realm Static Framework

sudoExclaimationExclaimation picture sudoExclaimationExclaimation · Oct 2, 2015 · Viewed 14.2k times · Source

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

Realm static framework for iOS

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++.

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?

Answer

gandhi Mena picture gandhi Mena · May 25, 2016

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

  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