Pregunta

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.

¿Fue útil?

Solución

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.

Otros consejos

I had this problem compiling an open source project on iPhone 6 simulator. Built it for earlier devices and it worked fine

There is an up-to-date solution. The problem is still the same, the 64-bit arch support for some third party library. Add this at the bottom of your Podfile:

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |configuration|
      target.build_settings(configuration.name)['ARCHS'] = '$(ARCHS_STANDARD_32_BIT)'
    end
  end
end

It's a bit different (updated) from the indicated in one of the post above.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top