file too small for architecture i386


#1

When I build helloworld program in mac os,I meet a link error,it says
“ld: in /Users/mc815/Heros/test/HelloWorld/HelloWorld/libs/cocos2dx/platform/third_party/ios/libraries/libcurl.a, file too small for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)”.
I have no idea how to fix it.Is anybody meet the same question?Please help me, thank you!


#2

Finally I found the reason, It’s missing libcurl.a(cocos2dx/platform/third_part/ios/libraries) in my cocos2d dir because of svn setting.