Xcode 4.2 with iOS 5 to test location services in simulator
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
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
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
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
Xcode building error: should include an armv6 architecture
Question: After upgrading to Xcode 4.2 SDK I ran into trouble of building distribution code including release and ad-hoc applications. I get this warning message: “warning: iPhone apps should include an armv6 architecture (current ARCHS = “armv7″)”. I selected Deployment target to 4.0. I am using Xcode 4.2. What to do?
Read more
Xcode warning: There is no codesign_wrapper executable
Question: I am getting Xcode error message of “warning: There is no codesign_wrapper executable. Please reinstall the Xcode developer tools” while trying to build a release version of my iPhone application. I can’t upload it to iTunes AppStore. SDK: Xcode 4.2 on iMac OSX 10.6.7.
Read more


