Skip to content

Commit 1f53888

Browse files
authored
Merge pull request #993 from Krizai/xcode_readme_fix
Fix Xcode build readme
2 parents 5e61f55 + 354a0bc commit 1f53888

1 file changed

Lines changed: 2 additions & 17 deletions

File tree

README.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -77,24 +77,9 @@ line with `cmake --build . --config Release`.
7777
Building the program using Xcode on Mac OS X
7878
---------------------------------------------
7979

80-
You can of course just open the Xcode project and build uncrustify using the
81-
default 'Debug' configuration but if you want to install it the 'Install'
82-
configuration will not work from within Xcode.
83-
84-
For that you will have to use the Xcode command line tool 'xcodebuild'.
85-
86-
To do that, cd into the uncrustify project folder where uncrustify.xcodeproj
87-
resides and enter the following command:
88-
89-
```
90-
$ sudo xcodebuild -configuration 'Install'
91-
```
92-
93-
You will be prompted for the root level password. By doing this you will install
94-
uncrustify into /usr/local/bin. The install location can be changed by editing
95-
the Build Settings for the uncrustify target. The setting you need to change is
96-
called, surprisingly enough, 'Installation Directory'.
80+
Use cmake with `Xcode` generator to generate Xcode project.
9781

82+
`cmake -G Xcode ..`
9883

9984
Configuring the program
10085
-----------------------

0 commit comments

Comments
 (0)