iPad beta SDK cannot compile iPhone apps for distribution

Cross-posted here.

Learned this the hard way... if you upgrade your Xcode to the iPad beta (iphone_sdk_3.2_beta_with_xcode_3.2.2.dmg), you cannot compile iPhone projects in distribution mode, even if you set the target device to 3.0/3.1.  I'm not 100% certain what build configuration flag is causing this to fail, but it compiles just fine in my other configurations and I can even run the non-distribution mode build on an emulator.  In distro mode the build always craps out with 18 C++ errors (similar to this).  It's possible that the issue is also related to the fact that I recently migrated to a new macbook, but I had already reinstalled Xcode so I can't imagine that being the issue.

I just downgraded my Xcode to the latest non iPad version (iphone_sdk_3.1.3_with_xcode_3.2.1__snow_leopard__10m2003a) to confirm this, and was finally able to submit version 1.0.2 of Cool Curlings.

Filed under  //  ipad   iphone   xcode  
Comments (0)
Posted

Yet Another "WTF Xcode?" Moment

Wtfxcode

From what I can tell it's ROT-29'ed... not that it makes any more sense.

Filed under  //  wtf   xcode  
Comments (0)
Posted

Weird Xcode bug

I'm not even sure if this is an Xcode (well, Interface Builder, really) bug or something in our code, but one of our images titled "menu.png" was showing up weird in Interface Builder.  When you run it in the iPhone simulator, everything looks fine, but whenever we opened up our HighScoresView.xib, it would show some weird menu image instead of menu.png, and in the attributes it would show "menu" (without the file extension).  This would go away once we added the ".png" but if you save and reload, the same thing would happen.  Upon inspection of the xib file, it would appear the file is saving correctly:

<string key="NSResourceName">menu.png</string>

but I guess Interface Builder opens it up wrong.  Although this doesn't affect our end product in anyway, we ended up just renaming the file menuu.png and this problem went away.  Strange!

(download)

Filed under  //  bug   curling   interface builder   iphone   xcode  
Comments (0)
Posted