Error on building for iPhone device

8 views
Skip to first unread message

Imran

unread,
Jul 22, 2010, 10:32:21 PM7/22/10
to Three20
I'm using latest SDK. It builds fine when I run on simulator. I get
this error when I tries to copy to device. I'm using 3G with iPhone
4.1 OS

Undefined symbols:
"___restore_vfp_d8_d15_regs", referenced from:
+[TTEntityTables(TTSingleton) sharedInstance] in
libThree20Core.a(TTEntityTables.o)
+[TTEntityTables(TTSingleton) releaseSharedInstance] in
libThree20Core.a(TTEntityTables.o)
+[TTEntityTables(TTSingleton) allocWithZone:] in
libThree20Core.a(TTEntityTables.o)
"___save_vfp_d8_d15_regs", referenced from:
+[TTEntityTables(TTSingleton) sharedInstance] in
libThree20Core.a(TTEntityTables.o)
+[TTEntityTables(TTSingleton) releaseSharedInstance] in
libThree20Core.a(TTEntityTables.o)
+[TTEntityTables(TTSingleton) allocWithZone:] in
libThree20Core.a(TTEntityTables.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

Please help.

Eelco Lempsink

unread,
Jul 23, 2010, 4:52:40 AM7/23/10
to thr...@googlegroups.com


Make sure that, in the build settings, you've selected 'Standard' for the architectures and that 'Build Active Architecture Only' is unchecked.

--
Regards,

Eelco Lempsink

Imran

unread,
Jul 23, 2010, 6:41:47 AM7/23/10
to Three20
Thanks Eelco,
It worked. :)
Message has been deleted
Message has been deleted

Sean Clifford

unread,
Jul 30, 2010, 3:34:28 PM7/30/10
to Three20
I'm having similar build errors on iOS 4.0, have Standard set for
architectures and 'Build Active Architecture Only' unchecked, but I'm
still getting build errors. Specifically:

Undefined symbols:
"___restore_vfp_d8_d15_regs", referenced from:
+[TTEntityTables(TTSingleton) sharedInstance] in
libThree20Core.a(TTEntityTables.o)
+[TTEntityTables(TTSingleton) releaseSharedInstance] in
libThree20Core.a(TTEntityTables.o)
+[TTEntityTables(TTSingleton) allocWithZone:] in
libThree20Core.a(TTEntityTables.o)
"___save_vfp_d8_d15_regs", referenced from:
+[TTEntityTables(TTSingleton) sharedInstance] in
libThree20Core.a(TTEntityTables.o)
+[TTEntityTables(TTSingleton) releaseSharedInstance] in
libThree20Core.a(TTEntityTables.o)
+[TTEntityTables(TTSingleton) allocWithZone:] in
libThree20Core.a(TTEntityTables.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

On Jul 23, 3:52 am, Eelco Lempsink <ee...@lempsink.nl> wrote:
> On 23 jul 2010, at 04:32, Imran wrote:
>
>
>
> > I'm using latest SDK. It builds fine when I run on simulator. I get
> > this error when I tries to copy to device. I'm using 3G with iPhone
> > 4.1 OS
>
> > Undefined symbols:
> >  "___restore_vfp_d8_d15_regs", referenced from:
> >      +[TTEntityTables(TTSingleton) sharedInstance] in
> > libThree20Core.a(TTEntityTables.o)
> >      +[TTEntityTables(TTSingleton) releaseSharedInstance] in
> > libThree20Core.a(TTEntityTables.o)
> >      +[TTEntityTables(TTSingleton)allocWithZone:] in
> > libThree20Core.a(TTEntityTables.o)
> >  "___save_vfp_d8_d15_regs", referenced from:
> >      +[TTEntityTables(TTSingleton) sharedInstance] in
> > libThree20Core.a(TTEntityTables.o)
> >      +[TTEntityTables(TTSingleton) releaseSharedInstance] in
> > libThree20Core.a(TTEntityTables.o)
> >      +[TTEntityTables(TTSingleton)allocWithZone:] in

Sean Clifford

unread,
Jul 30, 2010, 3:38:38 PM7/30/10
to Three20
I'll add that I built this project using the handy 'Simple
Application' three20 template from the InstallTemplates.Command

I'm using XCode Version 3.2.3 and iOS 4.0.1 (device)

Anybody have ideas? It works fine in the simulator, but throws these
errors when I try to deploy it to a device.

I'm also using the latest pull of three20 from git and the expected
path is correct

/projects/ers/ (my app)
/projects/three20/

Sean Clifford

unread,
Jul 30, 2010, 3:41:28 PM7/30/10
to Three20
Interestingly it will install to my device (3GS) if I set it to
Release instead of Debug

Brett

unread,
Sep 10, 2010, 8:42:21 PM9/10/10
to Three20
In my case, I had to uncheck 'Build Active Architecture Only'' in each
of the included Three20 projects.

Greg Hill

unread,
Sep 16, 2010, 10:29:54 PM9/16/10
to Three20
I have done absolutely everything outlined both here and on other
googled sites, and nothing's working. I actually ran into this
problem last week, googled it, figured it out, and got it working.
Then, today, I flipped back to the simulator to do some memory
checks. I then tried to go back to device/debug mode, and I'm stone-
cold stopped in my tracks. NOTHING works.

This is so f*cking frustrating I'm about ready to dump it all and find
a regular 9-5 job. As fabulous as Xcode, Objective-C, Cocoa/Cocoa
Touch, and the iPhone are, I've really just about reached the end of
my rope. I can't believe how fundamentally stupid some of this is.

Just to give some parameters: I'm running 4.1 on my iPhone (3GS).
I've got Xcode 3.2.4. I've modified the settings in all of the
three20 libraries to 4.1, turned "Build Active Architecture Only" off
in all of the libraries, and rebuilt everything from scratch after
cleaning the builds.

Nothing.

Any new suggestions?

-greg

Adam Jack

unread,
Sep 16, 2010, 10:41:03 PM9/16/10
to thr...@googlegroups.com, Three20
I hear you, I've had more than one day like that w/ iPhone, too many more!

Tomorrow morning I'll do my best to help you past this.

Adam
--
http://wildobs.com/m
Sent from mobile device.

> --
> You received this message because you are subscribed to the Google Groups "Three20" group.
> To post to this group, send email to thr...@googlegroups.com.
> To unsubscribe from this group, send email to three20+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/three20?hl=en.
>

Greg Hill

unread,
Sep 16, 2010, 10:50:37 PM9/16/10
to Three20
Heh. Right after I vented, I went through each library, and changed
them over to Device 4.1 (vs. Simulator), standard, and "Active Arch"
off. Cleaned, rebuilt ... and it ran.

Wooohoooo! Well, now if I want to run in the simulator, do I have to
reverse this all the way through? Am I going to have to go through
this process every single frickin' time? Yeegads....

-g

On Sep 16, 10:41 pm, Adam Jack <adam.j...@gmail.com> wrote:
> I hear you, I've had more than one day like that w/ iPhone, too many more!
>
> Tomorrow morning I'll do my best to help you past this.
>
> Adam
> --http://wildobs.com/m
> Sent from mobile device.

Robert Mathews

unread,
Sep 17, 2010, 10:49:50 AM9/17/10
to thr...@googlegroups.com
I hear you. Many many times I wish I could visit Apple and show them how the grownups compile code. This crap with a visual environment that saves your project in format that is basically unreadable and hostile to version control isn't how it's done. Not to mention all of the weird invisible places that settings can hide ....

thanksalot

unread,
Sep 28, 2010, 10:03:25 PM9/28/10
to Three20
Thanks! Me too.
Reply all
Reply to author
Forward
0 new messages