I'm using three20 in a universal (iPhone/iPad app). It was working
fine until I updated three20 today.
I'm getting the following error:
Undefined symbols:
"___restore_vfp_d8_d15_regs", referenced from:
+[TTEntityTables(TTSingleton) allocWithZone:] in
libThree20.a(TTEntityTables.o)
+[TTEntityTables(TTSingleton) releaseSharedInstance] in
libThree20.a(TTEntityTables.o)
+[TTEntityTables(TTSingleton) sharedInstance] in
libThree20.a(TTEntityTables.o)
"___save_vfp_d8_d15_regs", referenced from:
+[TTEntityTables(TTSingleton) allocWithZone:] in
libThree20.a(TTEntityTables.o)
+[TTEntityTables(TTSingleton) releaseSharedInstance] in
libThree20.a(TTEntityTables.o)
+[TTEntityTables(TTSingleton) sharedInstance] in
libThree20.a(TTEntityTables.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
I've reproduced this problem with the TTCatalog app.
Convert it to a universal iPhone/iPad app and try the Release build.
And make sur armv7 is the active architecture.
What I don't understand is that the the debug build is working.
I've tried changing different project settings and so far no luck.
I've haven't yet identified what difference makes the Debug build
succeeds.
Googling this issue didn't bring a clear answer.
I'll let you know once I figure out what's wrong.
In the meantime, let me know if you have an idea or have come accross
this problem yourself.
Jean
Here is a small patch for #2: http://gist.github.com/422115
Hope it will help someone else,
Jean