xcode

x86 Assembly on a mac...

Does anyone know of any good tools (i'm looking for IDEs, primarily) to write assembly on the mac... XCode is a little cumbersome to me. Also, on the Intel Macs, can I use generic x86 asm? or is there a modified instruction set? Any information about post Intel Also: I know that on windows, asm can run in an emulated environment cre...

Any ReSharper equivalent for Xcode?

I'm a complete Xcode/Objective-C/Cocoa newbie but I'm learning fast and really starting to enjoy getting to grips with a new language, platform and paradigm. One thing is though, having been using Visual Studio with R# for so long I've kind of been spoiled with the coding tools such as refactorings and completion etc and as far as I can...

Setting up a large XCode project

Hi I have a large exiting C++ project involving: 4 applications 50+ libraries 20+ third party libraries It all builds fine on Windows using VS8, Linux using QMake (project uses Qt a lot). I also build it on MacOS using QMake but I was wanting to setup an XCode project to handle it in an IDE. I'm struggling to setup proper confi...

Getting QMake to generate a proper .app

Hi I have a large exiting C++ project involving: 4 applications 50+ libraries 20+ third party libraries The project uses QMake (part of Trolltech's Qt) to build the production version on Linux, but I've been playing around at building it on MacOS. I can build in on MacOS using QMake just fine but I'm having trouble producing the fi...

What is the best way to unit test Objective-C code?

What frameworks exist to unit test Objective-C code? I would like a framework that integrates nicely with Xcode. ...

Change templates in XCode

How would I change the initial templates created by XCode when creating a new Cocoa Class. I am referring to the comments and class name created when using XCode's new class wizard. ...

XCode equivalent of ' __asm int 3 / DebugBreak() / Halt ?

What's the instruction to cause a hard-break in XCode? For example under Visual Studio I could do '_asm int 3' or 'DebugBreak()'. Under some GCC implementations it's asm("break 0") or asm("trap"). I've tried various combos under XCode without any luck. (inline assembler works fine so it's not a syntax issue). For reference this is for ...

Is it just the iPhone simulator that is restricted to intel only Mac's?

I have read that the iPhone SDK (part of xcode 3) is restricted to Mac's with the intel chipset. Does this restriction apply to only the simulator part of the SDK or the complete shebang? I have a Powerbook g4 running Leopard and would very much like to do dev on it rather than fork out for a new machine. It is also worth clarifying th...

Error Code Reference for OSX/Cocoa

If I get an error code result from a Cocoa function, is there any easy way to figure out what it means (other than by grepping through all the .h files in the framework bundles)? ...

Unit testing in XCode 3.1 with Objective-C

I read the question on 'The best way to unit text objective-C' and followed the instructions , but no matter what I do, the Unit tests do not run. Actually the entire program does not run, I get the following message. dyld: Library not loaded: @rpath/SenTestingKit.framework/Versions/A/SenTestingKit Referenced from /Users/garethlewis/wo...

Passing switches to Xcode 3.1 user scripts

I have a user script that would be much more useful if it could dynamically change some of its execution dependent on what the user wanted. Passing simple switches would easily solve this problem but I don't see any way to do it. I also tried embedding a keyword in the script name, but Xcode copies the script to a guid-looking filename...

Git ignore file for Xcode projects

Which files should I include in .gitignore when using Git in conjunction with Xcode? ...

Why aren't my breakpoints working in Xcode?

I have breakpoints set but Xcode appears to ignore them. ...

Why is my cocoa program getting EXC_BAD_ACCESS during startup?

During the load of my cocoa application, my program crashes with the messsage EXC_BAD_ACCESS. The stack trace is not helpful. Any clues to how I can find the problem? ...

Other than Xcode, are there any full functioned IDEs for Objective C?

I know and have XCode, but I was wondering if there were any other complete development environments that support Objective C? I'm not looking for solutions with vim or emacs, nor editors like BBEdit that support syntax highlighting, but a full fledged IDE with: code completion compilation debugging refactoring Extra points for being...

What is the best way to integrate TFS version control with XCode?

Working on implementing TFS throughout our organization. It is easy to integrate with .NET projects and any platform that uses Eclipse or a derivative of Eclipse for editing. What's the best way to use TFS version control with XCode (now that I find out we need to write some iPhone applications)? ...

Xcode: Using a custom framework

The error I'm getting: in /Users/robert/Documents/funWithFrameworks/build/Debug-iphonesimulator/funWithFrameworks.framework/funWithFrameworks, can't link with a main executable Cliff notes: trying to include framework doesn't want to link More detail: I'm developing for a mobile device... hint, hint using Xcode and I'm trying to m...

Why am I getting this objective-c error message: invalid conversion from 'objc_object*'

This error message had me stumped for a while: invalid conversion from 'objc_object*' to 'int' the line in question was something like this: int iResult = [MyUtils utilsMemberFunc:param1,param2]; ...

Beginner question about XCode 3.1.1 and static libraries

Hi all, I'm an experienced VS.NET user and trying to get up and running on XCode 3.1.1. Here's what I'm trying to accomplish: I'd like a static library ("Lib") to have its own xcodeproj file. I'd an executable application ("App") that makes use of Lib to reference Lib's xcodeproj file so that changes to Lib cause App to relink. Ideall...

How can you generate a Makefile from an Xcode project?

I want to generate a Makefile from an existing Xcode project on the Mac. Specifically, an existing iPhone, Objective-C program on the Mac. I found PBToMake, but it looks like it is for Xcode 2.1 and when I tried using it, it did not work for an Xcode 3.1 project. ...