0
1
00:00:00,470 --> 00:00:03,590
We're now ready to download and install Xcode 12.
1

2
00:00:03,950 --> 00:00:09,110
This is the application that we'll be using to write our code and build our iOS apps.
2

3
00:00:09,120 --> 00:00:11,960
It's developed by Apple and it's free to download
3

4
00:00:11,960 --> 00:00:16,000
so you don't have to worry about paying for it or paying for upgrades or any of that.
4

5
00:00:16,310 --> 00:00:20,480
But before we start, there's a couple of things that you need to check to ensure that your download
5

6
00:00:20,480 --> 00:00:22,190
and installation go smoothly.
6

7
00:00:22,580 --> 00:00:26,570
First thing is to make sure that you have enough space on your hard drive.
7

8
00:00:26,810 --> 00:00:29,180
Xcode is a large piece of software.
8

9
00:00:29,510 --> 00:00:33,530
At the time of recording, Xcode alone takes up about 12 gigabytes.
9

10
00:00:33,860 --> 00:00:39,100
But you also have to make an allowance for the iPhone simulators that you'll probably download afterward.
10

11
00:00:39,590 --> 00:00:42,720
The simulators can easily take up an additional two gigabytes.
11

12
00:00:42,800 --> 00:00:48,500
So overall, I recommend you have at least 25 to 30 gigabytes free on your hard drive.
12

13
00:00:49,040 --> 00:00:51,770
Why 25 to 30 instead of just 14?
13

14
00:00:52,310 --> 00:00:57,620
Well, if you are to use up every last bit of the space on your disc, your computer will slow down
14

15
00:00:57,620 --> 00:01:01,230
massively and will be hugely frustrating to actually use.
15

16
00:01:01,460 --> 00:01:08,090
So have some free space in addition to what you need for the download and make sure that it's over 25
16

17
00:01:08,090 --> 00:01:08,700
gigabytes.
17

18
00:01:09,260 --> 00:01:11,960
So first check to make sure that you have enough space.
18

19
00:01:11,960 --> 00:01:13,730
And to do that, it's pretty simple.
19

20
00:01:13,880 --> 00:01:18,470
Just head over to the Apple icon at the top of your menu bar and go to about this Mac.
20

21
00:01:18,710 --> 00:01:23,270
And when you're here, you can click on the storage tab to see how much free space you have to play
21

22
00:01:23,270 --> 00:01:23,540
with.
22

23
00:01:24,410 --> 00:01:30,470
So the next thing that you need to check is to make sure that your macOS, your operating system, is
23

24
00:01:30,470 --> 00:01:32,630
updated to the latest version.
24

25
00:01:32,810 --> 00:01:37,460
So to make sure that you've got the right operating system, it's as simple as going to the Apple icon
25

26
00:01:37,700 --> 00:01:39,770
and going to again about this Mac
26

27
00:01:40,010 --> 00:01:47,000
and you can see here which version you've got. And ideally, you'll be on Mac OS Big Sur, but at minimum
27

28
00:01:47,000 --> 00:01:51,320
you should be running Mac OS Catalina 10.15.4 or above.
28

29
00:01:51,830 --> 00:01:57,080
And depending on the age of your laptop, you might be limited to a previous version of macOS, something
29

30
00:01:57,080 --> 00:01:58,700
like macOS High Sierra or Mojave.
30

31
00:01:58,970 --> 00:02:03,820
In these cases, you won't be able to install the latest version of Xcode, which is Xcode 12.
31

32
00:02:04,370 --> 00:02:10,280
In that case, you can follow one of my previous courses, such as the iOS 11 or iOS 12 courses.
32

33
00:02:11,760 --> 00:02:17,490
So once you've done those two things, the last thing that you need to make sure is that don't download
33

34
00:02:17,490 --> 00:02:22,710
a beta version of Xcode. It's actually not that easy to download it by accident, because as long as
34

35
00:02:22,710 --> 00:02:27,060
you're going through this video and following along with what we're doing, you can be downloading the
35

36
00:02:27,060 --> 00:02:30,520
official release version of Xcode and you won't have any problems.
36

37
00:02:30,660 --> 00:02:35,820
The reason why we don't like our students to be working with Betas is because beta software is meant for
37

38
00:02:35,820 --> 00:02:41,090
testing so it can contain bugs and it might end up giving you more headaches than it's worth.
38

39
00:02:41,370 --> 00:02:46,830
So no betas, stick with what we're going to do and you'll have a much, much better experience developing
39

40
00:02:46,830 --> 00:02:47,430
for iOS.
40

41
00:02:47,680 --> 00:02:48,020
All right.
41

42
00:02:48,030 --> 00:02:50,010
So let's go ahead and do it together.
42

43
00:02:50,010 --> 00:02:51,950
So head over to the App Store.
43

44
00:02:52,710 --> 00:02:58,710
You can either use a spotlight by holding down command and spacebar to bring it up using the shortcut,
44

45
00:02:58,950 --> 00:03:02,850
or you can head over to the spotlight icon over here.
45

46
00:03:03,000 --> 00:03:06,570
Or if you want to be really fancy, you can even get Siri to do it for you.
46

47
00:03:07,530 --> 00:03:09,240
Siri, open the App Store.
47

48
00:03:12,190 --> 00:03:18,910
There we go. So head over to the search bar here and just type in Xcode, and then hit enter and you
48

49
00:03:18,910 --> 00:03:20,760
can see it come up over here.
49

50
00:03:21,130 --> 00:03:26,050
And if you just click on this button here, you'll be able to install it onto your system.
50

51
00:03:26,590 --> 00:03:33,200
Now, this can take a little while and sometimes you'll see it just hanging and it refuses to do anything.
51

52
00:03:33,400 --> 00:03:37,240
So have a look and see if some of those things I mentioned earlier might be the problem.
52

53
00:03:38,230 --> 00:03:45,480
So downloading Xcode can take anywhere between 30 minutes to two hours depending on your network connection.
53

54
00:03:45,790 --> 00:03:51,130
You have to make sure that you have a good, strong, stable network connection so that it doesn't fail
54

55
00:03:51,130 --> 00:03:52,720
in the middle of downloading.
55

56
00:03:53,230 --> 00:03:58,870
Now, while you're waiting, it might be worth heading over to a bonus video that I've included which
56

57
00:03:58,870 --> 00:04:05,410
is a talk that I often give to companies as well as students on how to make an app from beginning to
57

58
00:04:05,410 --> 00:04:05,620
end.
58

59
00:04:05,920 --> 00:04:11,290
But once you're done with downloading Xcode, then feel free to head over to the next lesson where we're
59

60
00:04:11,290 --> 00:04:16,510
going to get started by looking at Xcode and walking through all of the important parts.
