Search code examples
iosxcodedebugginglibffi

Build error: "Unknown type name 'ffi_cif'"


When building my XCode project, for one of my cocoapod dependencies, libffi, I get 5 build errors, all along the lines of /Pods/libffi/ios/include/ffi_common.h:77:1: Unknown type name 'ffi_status'

Any ideas what I could try to debug it? I've already tried cleaning the project.


Solution

  • I have the same issue. Xcode 5.1 and Xcode 6.0 GM, both ios device and simulator. This is also worked for me : http://cameronspickert.com/2014/01/20/remove-the-arm64-architecture-from-cocoapods-targets.html.