Wednesday, December 28, 2011

Converting Mac sound files using command line


This can be used for lots of sound types:

    afconvert -f caff -d LEI16 slide.mp3 slide.caf

For more info: Good article, Apple Docs

Saturday, December 17, 2011

Aborting commit: '...' remains in conflict


svn remove --force filenameOrDir
svn resolve --accept=working  filenameOrDir
svn commit

Thursday, December 1, 2011

Xcode 4.2 and iOS 4.2.1

Been getting reports of users with second generation iPod Touch running iOS 4.2.1 having layout and image issues. An Apple employee posted:

The most recent LLVM Compiler has a bug wherein armv6 code that uses CGPoint and CGRect structs can be optimized incorrectly. As a workaround, try compiling your armv6 code with "Compile for Thumb" set to No (or add -mno-thumb to your Other Compiler Flags).

I think this is how you turn off thumb using project settings:


I'll give this a shot and report back.

Update: I got a hold of an iPod Touch 2g running iOS 4.2.1 and found that the change to the optimization setting does indeed fix the issue. Backing out the change reproduced the errors. Whew.