开发者

xcode problem with importing libraries

开发者 https://www.devze.com 2023-03-08 18:07 出处:网络
I have a project containing cocos2d framework, sharekit, asi & json. I\'ve noticed that for example Reachability.m/h and some other files exists in more 开发者_JS百科than one framework.

I have a project containing cocos2d framework, sharekit, asi & json. I've noticed that for example Reachability.m/h and some other files exists in more 开发者_JS百科than one framework. How do I solve this problem?

Here's the error from transcript


ld: duplicate symbol _OBJC_IVAR_$_Reachability.reachabilityRef in /Users/fredrik/Workspace/********/build/********.build/Debug-iphonesimulator/********.build/Objects-normal/i386/Reachability-89CD930C57F9E55C.o and /Users/fredrik/Workspace/********/build/********.build/Debug-iphonesimulator/********.build/Objects-normal/i386/Reachability-6FEC7F1ECD12144E.o

I'm using Xcode 3.2.4 with iOS 4.2 and OS X 10.6.7


Delete all but one copy. Move that single copy out of the containing library folder (for your sanity's sake).

0

精彩评论

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