0
votes

I get the above error message when trying to built a iOS7 project, I just cloned off BitBucket (sorry, it's private, thus can't link to it).

First off, I have tried all the solutions mentioned in linking against dylib built for MacOSX file '/usr/lib/libSystem.B.dylib' for architecture i386, Build Error - missing required architecture i386 in file, Building for MacOSX, but linking against dylib built for iOS Simulator file, and several more.

My system:

  • Mac OS X Mavericks; 10.9.3
  • XCode 5.1.1

Summary of what I've already tried:

  • reinstall XCode
  • reinstall Command Line Tools
  • remove entires in framework search path
  • remove several entries in Other Linker Flags

The error says its linking against dylib in /opt/local/lib/libsqlite3.dylib, which might indicate that it has something to do with my MacPorts installs, since only MacPort should install programs in /opt/local/, as far as I know.

Any ideas what I could've missed?

1

1 Answers

0
votes

Xcode is more likely defaulting to OSX PATH environment variables to find that missing sqlite library.

Make sure to link it from your project in Xcode, pointing to iOS frameworks.