user762034
user762034

Reputation:

Save/Export Cocoa Project?

How can I save/export my cocoa project so that I can send it over email to other computers that don't have xcode? I know it may not be necessary, but I would like to test my project on multiple computers. I right clicked my application in the dock, displayed it in finder, zipped it, and sent it, but did not open up on the computer that did not have xcode. Any ideas?

Thanks!

Upvotes: 0

Views: 527

Answers (2)

sosborn
sosborn

Reputation: 14694

Read the docs: XCode: Buid and Archive

The section you need is called Share Your Mac OS X Application with Others. Choose "Application" when you archive.

Upvotes: 1

Mike Crawford
Mike Crawford

Reputation: 2278

Are you sending it to someone who has a Mac? Then they can get Xcode for free if they sign up for a free developer account with Apple.

If they don't have a Mac, but you expect your code to be cross-platform to other operating systems, you'll need to write a Makefile. To the best of my knowledge there is no way to do that other than writing it by hand.

The .xcodeproj document is a bundle, that is, a directory that contains a few text files. The only really important one is project.pbxproj. It's a plain text document, so in principle it would be straightforward to write a tool that translates it to a Makefile. But I don't know about any existing tools that do that.

There's a good market opportunity for you. :)

Upvotes: 0

Related Questions