Reachability.m ARC errors?

If you got some weird errors from Reachability.m (my xcode is in version 4.6.3), something like the following: Then just update your reachability files with the new ones. Also, Select your project -> target -> Build Phases -> Compile Sources -> Double click the Reachability.m -> add the flag -fno-objc-arc. Ref: http://stackoverflow.com/questions/7877867/use-reachability-m-in-xcode-4-2

June 22, 2013 · 1 min · birdchan

Code Signing error

This has got to be one of the most frustrating (and desperate?) things while working with xcode. In case you run into the same issue, here are the steps I followed and worked. 1. Close all your stuff except your webpage that should be logged into App Dev center. 2. Open Xcode. Click WINDOW > ORGANIZER. Then click the Devices tab and select “Provisioning Profiles” on the left. That should bring up your provisioning profiles. Highlight and delete all of them. (To have a fresh clean start) ...

March 23, 2013 · 2 min · birdchan

Xcode keeps freezing?

My xcode version is currently 4.6.1. If after a fresh install, you notice the beach ball keeps coming back while xcode is open, it may be because xcode is trying to do indexing. You can turn that off by issuing the following in a terminal. defaults write com.apple.dt.XCode IDEIndexDisable 1 You just need to do it once. The freezing should then stop happening. Ref: http://stackoverflow.com/questions/5392139/how-to-disable-indexing-in-xcode-4

March 22, 2013 · 1 min · birdchan

AdMob error

I got this mysterious runtime error below while trying to integrate AdMob into my xcode project. 2013-03-21 22:02:32.646 my_app[41152:c07] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[GADObjectPrivate changeState:]: unrecognized selector sent to instance 0x95945e0’ \\\ First throw call stack:* (0x19a6012 0x1719e7e 0x1a314bd 0x1995bbc 0x199594e 0x217d2 0x2307e 0x20d87 0x90ce 0x6248c3 0x624323 0x632668 0x621b73 0x172d6b0 0x62d7b3 0x62f264 0x62feb8 0x1e7a53f 0x1e8c014 0x1e7c7d5 0x194caf5 0x194bf44 0x194be1b 0x27ae7e3 0x27ae668 0x66165c 0x2cbd 0x2be5) libc++abi.dylib: terminate called throwing an exception ...

March 22, 2013 · 1 min · birdchan