开发者

how to create static lib and include in other xcode projects as well??

I am trying to make static lib but no success. I followed him http://blog.stormyprods.com/2008/11/using-static-libraries-with-iphone-sdk.html but of no use. According to him drag class file in static lib and then delete so what's the point of dragging??

After my lib is generated I am getting error

ld: library not found for -ltestlib
collect2: ld returned 1 exit status
Command /Developer/xcode3.2/Platforms/iPhoneSimulator.platform/Develo开发者_开发技巧per/usr/bin/gcc-4.2 failed with exit code 1

Please help me from scratch as how to generate and use static library using xcode. Thanks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜