开发者

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

开发者 https://www.devze.com 2023-01-16 09:19 出处:网络
I am trying to make static lib butno success. I followedhimhttp://blog.stormyprods.com/2008/11/using-static-libraries-with-iphone-sdk.html

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

精彩评论

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