xcode - Can't link fat iOS static library -


i downloaded fat, ios static library popular c library boost. attempts in coaxing xcode link have failed.

things have tried:

  • adding link binary libraries.
  • changing file type mach-o object code using file inspector.
  • renaming file libboost.a , adding -lboost other linker flags.

i using xcode 6.3 latest command line tools.

how link xcode project?

in xcode build settings project: library_search_paths

ofxiosboost/libs/boost/lib/ios  

(set directory static library is)

in target under build phases project

add 'link binary libraries' boost.a found in ofxiosboost/libs/boost/lib/ios directory.

renaming libboost.a may breaking it. ofxiosboost renames file not conflict internal osx libs in linking process if in path / sys, links correctly ios binary.

if still having problem, please open issue here: https://github.com/danoli3/ofxiosboost/issues


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -