Xcode 4.3 error message: NSAutoreleasePool is unavailable in main.m

April 26, 2012 by Alex · Leave a Comment
Filed under: Apple, HTML, XHTML, iPad, iPhone, Objective-c, Xcode 

Question: I am trying to create and run a PhoneGap HTML 5 application for iOS 5 but I am getting error message of ‘NSAutoreleasePool is unavailable: not available in automatic reference counting mode’ while building main.m. SDK: Xcode 4.3 Machine: iMAC with Lion.
Read more

HP 2820/2840 Print and Scan on Mac OS X Lion

April 25, 2012 by Mike D. · Leave a Comment
Filed under: Apple, iMac, MacBook 

Question: I upgraded my iMac from Snow Leopard to Lion. My HP Color Laserjet 2840 prints but I can’t scan from the device any longer. The HP Director is grayed out. I found your post about HP 2820 scanning with Snow Leopard. Do you have an update?
Read more

Xcode 4.2 with iOS 5 to test location services in simulator

November 2, 2011 by Misa · Leave a Comment
Filed under: iPad, iPhone, Objective-c, Programming, Xcode 

Question: I’m an iPhone programmer and have a problem. I should test and debug my iPhone/iPad application with location services for different GPS positions and routes. Do you have a static library or module that produces GPS coordinates in the preset range?
Read more

Trace EXC_BAD_ACCESS exception in iPhone app with Xcode 4

September 1, 2011 by Alex · Leave a Comment
Filed under: Apple, iPad, iPhone, Objective-c, Xcode 

Question: Recently I upgraded my universal iPhone project to Xcode 4 and ran immediately into an EXC_BAD_ACCESS exception in my application when running on an iPad. My code runs without errors on iPhone. I don’t know where it has come from and how to find the source code line in error. My app quits without saying anything and the debugger jumps to the main.m module. Console messages do not help either.
Read more

Upgraded Xcode 4 constantly crashes when opening XIB file

June 22, 2011 by Mike D. · Leave a Comment
Filed under: iPad, iPhone, Objective-c, Programming, Xcode 

Question: I have some “old” iPhone projects. Since I upgraded from Xcode 3.2 to Xcode 4 it constantly crashes when I open an XIB file. The same project builds without errors in Xcode 3. The error log message is: “Encountered multiple assertions. First assertion was: ASSERTION FAILURE…” and a long list of stack info.
Read more

Xcode 4 build gcc-4.2 error, execvp: No such file or directory error

June 21, 2011 by Mike D. · Leave a Comment
Filed under: iPad, iPhone, Objective-c, Programming, Xcode 

Question: After downgrading from Xcode 4.2 beta to Xcode SDK 4.02 I am facing new error messages:

- “gcc-4.2: error trying to exec ‘/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1′: execvp: No such file or directory”, and

– “Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 255″.

What’s is this for and what to do now?
Read more

Next Page »