jverkoey / iOS-Framework

How to create, develop, and distribute iOS Static Frameworks quickly and efficiently
2.61k stars 281 forks source link

Undefined symbols for architecture i386/armv7 #84

Closed lobertranin closed 10 years ago

lobertranin commented 10 years ago

Hi,

I keep running into an issue where there is a Undefined symbols for architecture. Regardless of whether I use device or simulator.

My custom framework uses C++ codes in it.

If anyone could help me out, that would be much appreciated.

Thanks, Lobertson Ranin

lobertranin commented 10 years ago

Fixed! Saw the solution on http://stackoverflow.com/questions/2846679/creating-an-objective-c-static-library-in-xcode

Basically, I needed to Set the "-lstdc++" to Other Linker Flags for the app that is using my library which uses c++ codes.