Localize an iPhone App

In doing localization work, I found several useful links, but this is the most concise: Localization Guide for iPhone Applications, built with Apple Xcode The main points are: Extract strings from your xib files: [sourcecode lang=”cpp”]ibtool –generate-strings-file Example.strings en.lpoj/Example.xib[/sourcecode] Extract strings from your code: [sourcecode lang=”cpp”]genstrings -o en.lproj *.m[/sourcecode] Get those translated (or translate them Read more about Localize an iPhone App[…]

JSON Framework Codesign – “object file format invalid or unsuitable” « Matt Galloway’s iPhone Apps

JSON Framework Codesign – “object file format invalid or unsuitable” « Matt Galloway’s iPhone Apps (reposted here for archival) I started using the lovely json-framework for the iPhone but then suddenly found that if I compiled for anything greater than 2.1 for a device, that it would pop up with: > Codesign error: “object file Read more about JSON Framework Codesign – “object file format invalid or unsuitable” « Matt Galloway’s iPhone Apps[…]

Conditional Linking to System Frameworks – CoreServices – iPhone Dev SDK Forum

Conditional Linking to System Frameworks – CoreServices – iPhone Dev SDK Forum For 2.2.x… There may be occasions when you need to configure your application target so that it links against one framework to run on the iPhone Simulator and another framework to run on a device. For example, the CFNetwork API is a stand-alone Read more about Conditional Linking to System Frameworks – CoreServices – iPhone Dev SDK Forum[…]

Adding phonenumbers to ABPerson

Adding phonenumbers to ABPerson Also, email addresses are similar… [sourcecode lang=”cpp”] // Where email is the string and kABOtherLabel cd also be kABHomeLabel or kABWorkLabel. ABMutableMultiValueRef emailMultiValue = ABMultiValueCreateMutable(kABPersonEmailProperty); ABMultiValueAddValueAndLabel(emailMultiValue, email, kABOtherLabel, NULL); ABRecordSetValue(person, kABPersonEmailProperty, emailMultiValue, nil); [/sourcecode] Update: Here’s code to fetch phone numbers… [sourcecode lang=”cpp”] ABMutableMultiValueRef phoneNumberMultiValue =  ABRecordCopyValue(record, kABPersonPhoneProperty);   for (CFIndex Read more about Adding phonenumbers to ABPerson[…]

Build error after upgrading to iPhone SDK 2.2

I went back to an old project I hadn’t worked on in a while and got this error… ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-1148/pbxcore/Target.subproj/XCCodeSignContext.m:458 Details:  Error: failed to locate ResourceRules.plist in… Stepcase » Blog Archive » Build error after upgrading to iPhone SDK 2.2 $SDKROOT/ResourceRules.plist

iPhone on Rails and ObjectiveResource

iPhone on Rails and ObjectiveResource I can’t say it better than their site does: “Making communication between the iPhone and a Rails web-service pain-free.” “love at first site” – I’ll second that! Their screencast shows how pain-free it really is. Great job!