1
00:00:06,790 --> 00:00:11,920
Hey everybody what's going on this is Caleb with slopes dot com and this video is basically going to

2
00:00:11,920 --> 00:00:18,400
be a review of how to set up an app in iTunes Connect on Apple's developer Web site.

3
00:00:18,400 --> 00:00:24,490
Now this is going to let us connect Apple's servers to our projects so we can download all of our in-app

4
00:00:24,490 --> 00:00:29,050
purchase data and we've already set this up in the previous course.

5
00:00:29,230 --> 00:00:33,550
But what we're going to do is we're going to go ahead and just show you how you can do it if you're

6
00:00:33,550 --> 00:00:35,600
starting this from the very beginning.

7
00:00:35,650 --> 00:00:41,790
So go ahead and pull open your project and you need to pay attention to one thing the bundle identifier.

8
00:00:41,890 --> 00:00:44,210
OK right now it's calm.

9
00:00:44,380 --> 00:00:47,650
Deb slopes dot food Zyla slopes IAP.

10
00:00:47,900 --> 00:00:52,270
K that's a unique identifier that we're going to use to separate our app from all the other ones that

11
00:00:52,270 --> 00:00:53,360
we have saved.

12
00:00:53,410 --> 00:00:57,820
So now I'm going to show you iTunes Connect I'm going to pull it open here.

13
00:00:58,030 --> 00:01:04,600
And what we need to do is to go into my apps so select that and as soon as it loads what we're going

14
00:01:04,600 --> 00:01:08,580
to do is we're going to go ahead and click this plus button here now.

15
00:01:08,610 --> 00:01:09,010
Click.

16
00:01:09,040 --> 00:01:10,440
New app.

17
00:01:10,930 --> 00:01:16,660
And what we're going to do is we're going to go ahead and select the platform which for us is iOS.

18
00:01:16,660 --> 00:01:18,010
The name is going to be.

19
00:01:18,010 --> 00:01:23,390
How about I don't know test application.

20
00:01:23,680 --> 00:01:24,320
One two three.

21
00:01:24,310 --> 00:01:26,110
Let's just give it a random name.

22
00:01:26,110 --> 00:01:27,750
Primary language is English.

23
00:01:27,760 --> 00:01:31,170
Us for myself and the bundle ID.

24
00:01:31,180 --> 00:01:38,110
You're probably thinking wait a minute we didn't set up a bundle ID that is because we are not actually

25
00:01:38,110 --> 00:01:44,500
submitting this to the App Store but we can use the X-C wild card and the bundle IDs suffix says it

26
00:01:44,500 --> 00:01:48,340
must match the one used in your apps Infocom list.

27
00:01:48,520 --> 00:01:55,840
And if you look in info that P list it says the bundle identifier is equal to product bundle identifier.

28
00:01:55,930 --> 00:02:02,140
So all that means is that it's just pulling the one from this from this textfield and it's saving their

29
00:02:02,140 --> 00:02:03,580
info up the list.

30
00:02:03,640 --> 00:02:06,980
So I'm going to copy this and I'm going to paste it over.

31
00:02:07,150 --> 00:02:11,590
But of course I've already set up an app with this same identifier so I'm going to go ahead and just

32
00:02:11,590 --> 00:02:17,000
put one two three at the end simply because I've already done it with another application.

33
00:02:17,020 --> 00:02:18,610
Can't use it twice.

34
00:02:18,670 --> 00:02:23,620
The you is a unique ID for your app that's not visible on the App Store so this is just a way for you

35
00:02:23,620 --> 00:02:27,770
to pay attention and keep track of what app this actually is.

36
00:02:27,910 --> 00:02:30,520
In the instance of you having multiple applications.

37
00:02:30,520 --> 00:02:35,230
So I'm actually just going to copy my bundle idea and paste it and down here at the bottom is limit

38
00:02:35,230 --> 00:02:36,180
user access.

39
00:02:36,170 --> 00:02:40,050
Let's say that you only want a certain member of your team to be able to view this.

40
00:02:40,120 --> 00:02:43,130
You can set those permissions there.

41
00:02:43,150 --> 00:02:48,460
Now when this is done click Create and it's going to go ahead and spin and load and it says the app

42
00:02:48,460 --> 00:02:50,510
name you've entered is already being used.

43
00:02:50,530 --> 00:02:55,660
So that means somebody has already entered this name and that's going to cause us some problems so I'm

44
00:02:55,660 --> 00:02:59,860
going to go ahead and just call this dev slopes test application one two three because I really doubt

45
00:02:59,860 --> 00:03:02,840
someone's already used that and then click Create again.

46
00:03:03,190 --> 00:03:06,040
Now this is an issue that I had a couple of times.

47
00:03:06,040 --> 00:03:07,830
It says your changes couldn't be saved.

48
00:03:07,840 --> 00:03:08,780
Try again.

49
00:03:08,950 --> 00:03:15,520
And if the problem persists contact us the way I've found around this to fix it is actually to just

50
00:03:15,520 --> 00:03:21,000
change the bundle ID online and then also change it in your application.

51
00:03:21,040 --> 00:03:33,340
So let's say that I changed it instead to foods Zilah app Well yeah food Zilah app for monsters cause

52
00:03:33,350 --> 00:03:39,020
food sounds like a monster food Zyla app for monsters and I'll go ahead and copy that and paste it again

53
00:03:39,020 --> 00:03:45,490
for my S-K you click Create and you'll notice as soon as I change that we have no problems.

54
00:03:45,500 --> 00:03:47,120
And here's our application.

55
00:03:47,250 --> 00:03:47,490
OK.

56
00:03:47,510 --> 00:03:48,530
Very very cool.

57
00:03:48,530 --> 00:03:55,700
Now of course I did change the bundle ID suffix so I'm going to go ahead and paste that back into my

58
00:03:55,700 --> 00:04:00,950
project because that's what's actually going to let me you know interact with iTunes Connect here.

59
00:04:01,100 --> 00:04:03,490
Now that is how we're going to set it up.

60
00:04:03,500 --> 00:04:07,130
And now we have access to this application.

61
00:04:07,170 --> 00:04:14,420
Now if we wanted to add functionality like in-app purchases first we're going to have to go to our project

62
00:04:14,420 --> 00:04:18,340
here go to capabilities and then look for in-app purchases.

63
00:04:18,340 --> 00:04:19,850
Now do you see it in here.

64
00:04:20,150 --> 00:04:21,890
Let's look for it in that purchase.

65
00:04:21,900 --> 00:04:27,170
Okay look at that now right now it says that in-app purchases are off.

66
00:04:27,170 --> 00:04:32,570
So what we're going to do is we're going to turn it on like so and it's going to go ahead and do everything

67
00:04:32,570 --> 00:04:35,660
it needs to do it's pretty much automatic which is really cool.

68
00:04:35,660 --> 00:04:41,750
So now that that's done we can go ahead and head back into here into iTunes Connect and click features

69
00:04:42,350 --> 00:04:45,620
and you'll notice in-app purchases appears right there.

70
00:04:45,620 --> 00:04:49,740
Now this plus button this is where we're going to add in our in-app purchases.

71
00:04:49,760 --> 00:04:50,380
Okay.

72
00:04:50,660 --> 00:04:55,940
And that is where we're going to do that so I need to think if there's anything else that's really important

73
00:04:55,940 --> 00:04:57,200
I need to tell you.

74
00:04:57,410 --> 00:04:59,090
We have set up the app.

75
00:04:59,180 --> 00:05:06,830
We've connected it to the same bundle ID from X code if you remember right here we have.

76
00:05:07,050 --> 00:05:09,760
I've shown you the in-app purchases page.

77
00:05:10,100 --> 00:05:13,820
You know I think this is going to work in the next video.

78
00:05:13,970 --> 00:05:19,610
We're going to set up our audio renewing subscription at purchase here right here and now I'm going

79
00:05:19,610 --> 00:05:24,400
to show you with the project I already have which you're going to notice we'll have to separate in that

80
00:05:24,400 --> 00:05:24,840
purchase.

81
00:05:24,840 --> 00:05:29,240
Here's one for consumable in-app purchases and one for non consumable.

82
00:05:29,240 --> 00:05:34,760
Again if you want to set that up you should take our in-app purchase course for consumable and non consumables.

83
00:05:34,980 --> 00:05:40,140
It's like the part 1 to this course not a Perec prerequisite but it is kind of part one.

84
00:05:40,430 --> 00:05:42,560
So anyway we're going to move on to the next video.

85
00:05:42,620 --> 00:05:47,210
We're going to set up our in-app purchase here and we're going to dive right into code very very shortly

86
00:05:47,210 --> 00:05:47,660
after that.

87
00:05:47,660 --> 00:05:50,390
So get excited and I'll see in the next video.
