views:

162

answers:

3

I downloaded from git a copy of the latest three20, and I keep running into errors when I try to compile the sample code in the folder.

Undefined symbols:
  "_UIApplicationDidEnterBackgroundNotification", referenced from:
      _UIApplicationDidEnterBackgroundNotification$non_lazy_ptr in libThree20UINavigator.a(TTBaseNavigator.o)
     (maybe you meant: _UIApplicationDidEnterBackgroundNotification$non_lazy_ptr)
ld: symbol(s) not found
collect2: ld returned 1 exit status

I'm running Xcode 3.2.3, compiling to Debug simulator 4.0

Any ideas on what to do?

I've compiled once before a while ago, before I forgot about it. Can't seem to recompile anymore.

Thanks.

A: 

Try the usual suspects of Clean All Targets and XCode/Empty Caches, and/or restart XCode.

Mike
hmm, I tried all of those, to no avail. Do you know if anything changed in three20 since now and July 2010?
Jon
I downloaded a different copy, and I get this different error now:
Jon
ld: duplicate symbol _TTCreateNonRetainingArray in /Users/jonguan/facebook-ios-sdk/three20/Build/Products/Debug-iphonesimulator/libThree20Core.a(TTGlobalCore.o) and /Users/jonguan/facebook-ios-sdk/three20/Build/Products/Debug-iphonesimulator/libThree20.a(TTGlobalCore.o)
Jon
OK! Solved the problem by downloading ANOTHER copy of three20.
Jon
A: 

I'm facing the same issue. Can u plz provide the link to "ANOTHER copy of three20"

rosh
http://github.com/facebook/three20
Jon
A: 

tried with downloading and nothing same error help please!!!

agfa555