0

using Xcode 4.6.2.
Created an empty cocos2d iOS (ipad selected) project using cocos2d 2.0 rc1 (currently official site calls it unstable)

Exactly followed this step by step tutorial and keep getting this error:

ld: warning: ignoring file /Users/osx1/Desktop/Products/Debug-iphoneos/libcocos2dlib.a, file was built for archive which is not the architecture being linked (armv7s): /Users/osx1/Desktop/Products/Debug-iphoneos/libcocos2dlib.a Undefined symbols for architecture armv7s: "_OBJC_CLASS_$_CCFileUtils", referenced from: objc-class-ref in AppDelegate.o "_OBJC_CLASS_$_CCSprite", referenced from:.......................

What should I do? Is this tutorial given link above some outdated?

Zen Of Kursat
  • 2,672
  • 1
  • 31
  • 47
  • I found answer here.It solved problem.[here](http://stackoverflow.com/questions/5303933/xcode4-linking-problem-file-was-built-for-archive-which-is-not-the-architecture) – Zen Of Kursat Apr 27 '13 at 10:54
  • In the tutorial you followed, it's important to read the first few comments afterword. I too get errors when converting to an ARC project, but usually it's the "Build Active Architecture Only" flag that messes it up. – Clev3r Apr 27 '13 at 14:26

0 Answers0