You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/setup_xcode.md
+8-32Lines changed: 8 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -121,16 +121,14 @@ You should see your new file in the sidebar.
121
121
122
122
<imgsrc="images/xcode119.png"width="768px" />
123
123
124
-
### Add starter files
125
-
This example is from [EECS 280 Project 1](https://eecs280staff.github.io/stats/), but this tutorial doesn't require understanding the files. Your URL or files might be different.
**Pitfall:** Don’t just drag starter files downloaded with your browser directly into Xcode. This may not place them in the correct project folder. If you want to use those files, skip to the [next section](#move-existing-files) for the correct steps. Otherwise, keep following this section without using any previously downloaded files.
129
-
</div>
124
+
### Add existing files
125
+
If you have starter files, add them to your project directory. This example is from [EECS 280 Project 1](https://eecs280staff.github.io/stats/), but this tutorial doesn't require understanding the files. Your URL or files might be different.
**Pitfall:** Make sure you're in the directory containing your source code.
133
129
```console
130
+
$ pwd
131
+
/Users/awdeorio/eecs280/p1-stats
134
132
$ ls
135
133
main.cpp p1-stats.xcodeproj
136
134
```
@@ -169,35 +167,13 @@ Right-click `p1-stats` in the sidebar. Select "Add Files".
169
167
170
168
<imgsrc="images/xcode080.png"width="256px" />
171
169
172
-
Select all the starter files (<kbd>Command</kbd> + <kbd>a</kbd>). Your specific files may not match the image below. Do *not* select "Copy items if needed". Do *not* select any targets. Click "Add".
173
-
174
-
<imgsrc="images/xcode100.png"width="384px" />
175
-
176
-
You will now see your files in the sidebar.
177
-
178
-
<imgsrc="images/xcode110.png"width="256px" />
179
-
180
-
#### Rename files
181
-
If you need to rename any files, use Xcode, not the command line or Finder. In EECS 280, you'll need to rename any files that end in `.starter`.
182
-
183
-
Select a file and press <kbd>Enter</kbd>. Change the file name. In EECS 280, you'll do this to any file that ends in `.starter`.
If you already have existing files elsewhere on your computer, you can also add them to your project. For example, if you want to use any files downloaded with your browser, they were likely saved to your Downloads folder and you'll need to move them into your project folder.
189
-
190
-
Use the menu and select: File > Add Files to "p1-stats"... (this will vary depending on your project's name).
191
-
192
-
<imgsrc="images/xcode340.png"width="384px" />
193
-
194
-
Navigate to the directory with your existing files and select the ones you want to move. To select multiple files at once, you can hold down <kbd>Command</kbd> while clicking. You can also press <kbd>Command</kbd> + <kbd>a</kbd> to select all files. Once you've made your selection, click "Add".
170
+
Select all the starter files (<kbd>Command</kbd> + <kbd>a</kbd>). Your specific files may not match the image below. Click "Add".
195
171
196
-
<imgsrc="images/xcode350.png"width="768px" />
172
+
<imgsrc="images/xcode340.png"width="512px" />
197
173
198
-
Select "Move files to destination" as the action. You may also select "Copy files to destination" if you wish to leave the original files untouched, but do *not* select "Reference files in place". Do *not* select any targets. Click "Finish".
174
+
Select "Move files to destination" as the action. Do *not* select any targets. Click "Finish".
0 commit comments