22 Apr 2010, 14:09
Photo_6_pragsmall

Stephen Watson (30 posts)

On page 471 of the P1.0 edition it says:

Now we have an application that does most of what we want. Build and Go, and choose one of your contacts …

The issue is that the linker can’t resolve AddressGeocoder as that code doesn’t get added until several pages later.

Is there anything useful I can do about this or do I just have to complete the remainder of the chapter before building the app?

23 Apr 2010, 15:02
Photo_6_pragsmall

Stephen Watson (30 posts)

Also, if I build the downloaded code I see the following in the GDB output:

warning: UUID mismatch detected with the loaded library – on disk is: /Users/stephenw/Documents/XCodeProjects/Debug-iphoneos/ContactMapper.app/ContactMapper

is this a concern?

Also, the compiler repeats an error compiling localize.c on lines where this function is called with only 4 arguments (though it is declared as taking optional arguments after the 4th):

messageNode( doc, TidyAccess, node, fmt );

Format not a string literal and no formal arguments

I realise that this is not your code so you may not have a clue!

Also, I’ve found that although it runs fine (with obvious limitations) in the simulator it crashes with EXC_BAD_ACCESS on my iPod the moment I touch a contact’s name in the A-Z list :-(

I’m using the 3.1.3 SDK on Xcode 3.2.2 with OS X 10.6.3

Any thoughts would be very welcome and appreciated as always.

22 Apr 2010, 15:05
Photo_6_pragsmall

Stephen Watson (30 posts)

Sorry to post yet again!

This http://code.google.com/p/touchcode/issues/detai… implies that TouchXML cannot be used in any app submitted to Apple – is that correct?

If so, do you know of any changes to Apple’s SDK since iPhone OS 3.0 that support what you’re been using this for or does it mean that I’d need to use the C based version of Apple’s XML library to write such a map app?

23 Apr 2010, 16:25
Photo_6_pragsmall

Stephen Watson (30 posts)

Sigh – another post!

Well, a day later and the app builds and runs on the device as well as the simulator – but I haven’t changed anything and I haven’t restarted my iPod touch either but it all works as hoped. Weird.

However:

the first and third posts are still pertinent

the 6 compiler warnings as mentioned above are still happening

the UUID build warning in the console still appears

I have noticed that there’s an Apple tech note about crashes with the libxml2 library, but it only applies when the build target is iPhone OS 2.x

  You must be logged in to comment