Skip to content

Instantly share code, notes, and snippets.

@rcfrias
Last active August 29, 2015 14:08
Show Gist options
  • Save rcfrias/99b00dcfdeef41d90b23 to your computer and use it in GitHub Desktop.
Save rcfrias/99b00dcfdeef41d90b23 to your computer and use it in GitHub Desktop.
How to import libraries with cocoa pods and fix the "Apple Mach-O Linker error, Undefined symbols for architecture"
All you have to do is run the "pod install" on terminal go to the main project build settings, search for "Other linker flags" and replace the old "-ObjC -all_load" with the following:
$(inherited)
*IMPORTANT NOTE!!! For some strange reason, you need to be using Ruby 2.0.0. just download it and run following command:
rvm use ruby-2.0.0-p576
1, 2, 3, Bamm! like magic ;)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment