ajeet sharma
ajeet sharma

Reputation: 843

linker command failed with exit code 1 (use -v to see invocation) issues in my app

I have created a static library to perform some mathematical operations libICodeMathUtils.a and add this static library with a .h file MathFunctions.h . But when I run my project then I am having this issue. You can see in this screen shot.

enter image description here

Upvotes: 1

Views: 623

Answers (1)

Anupam
Anupam

Reputation: 556

I think your static library file is not compatible with simulator because simulator supports i386 so you have to create universal library (static fat library) check this Build fat static library (device + simulator) using Xcode and SDK 4+

Upvotes: 1

Related Questions