This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:tutorials:setup_xcode [2018/06/12 04:54 (7 years ago)] – sausage | en:tutorials:setup_xcode [2018/06/12 04:59 (7 years ago)] (current) – This tutorial is now replaced with http://orx-project.org/wiki/en/orx/mac/setting_up_a_project_on_mac Massive thanks to grey for originally supplying it. sausage | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <WRAP center round box 80%> | ||
- | This page is very old and will be removed. A new Xcode 9 document will replace this. | ||
- | </ | ||
- | |||
- | This is simple tutorial for Xcode users. You will learn how to configure Xcode and create basic Skeleton application. Download Mac developer package from [[https:// | ||
- | |||
- | Now, create new Xcode project, | ||
- | |||
- | |||
- | Now enter your project directory and create directories bin (where your executables will be stored), lib (for libraries) and inc (includes). Build is optional, because XCode creates it and we don't need it now. | ||
- | |||
- | {{tutorials: | ||
- | |||
- | Open your extracted ORX archive and copy liborx.dylib (liborxd.dylib for debug is optional) from lib dir into our lib dir and bin dir. Same with include dir into our inc dir. | ||
- | |||
- | Open up Xcode. Now we need to link directories with Xcode project. Right click on blue icon with your projet name and select Add -> Existing files. Select lib folder in your project directory and link it with your project (without copiing files becuase we already have them where we want to) and do the same for inc dir. You should finish up with something like this. | ||
- | |||
- | {{tutorials: | ||
- | |||
- | At last, we need to do some project configuration magic. Select Project -> Edit Project Setting from menu. This will open you project configurator. Config your project as on screenshots. | ||
- | |||
- | {{tutorials: | ||
- | |||
- | You should have your project prepaired for compiling ORX projects. You can now continue to [[en: | ||
- | |||
- | Or if you are too lazy, you can {{tutorials: |