Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Provisioning a device for testing

From: Building Mobile Apps for Multiple Devices with Flash Professional

Video: Provisioning a device for testing

Once you have your certificate created and loaded into Flash, you can then work on your provisioning profile. This will enable you to provision a device for testing as well as load up that information into Flash to be able to publish an app out to that testing device. So that's what we'll focus on, and I'm going to go out to the iOS Developer Portal. Here in the portal, notice that there are certificates that I can create, but really I want to go down to Devices. In this Device tab, I can go ahead and add test devices.

Provisioning a device for testing

Once you have your certificate created and loaded into Flash, you can then work on your provisioning profile. This will enable you to provision a device for testing as well as load up that information into Flash to be able to publish an app out to that testing device. So that's what we'll focus on, and I'm going to go out to the iOS Developer Portal. Here in the portal, notice that there are certificates that I can create, but really I want to go down to Devices. In this Device tab, I can go ahead and add test devices.

I can actually add up to a hundred devices. I already have an iPad loaded up, but I'm going to go ahead and add another one. This one will be called Paul's iPhone, something creative like that, and I need to get this Device ID. That actually comes from my device and I can get that using iTunes. So I'm going to go ahead and launch iTunes. Here I am in iTunes and notice I already have my device connected and really what I want to do is I want to click right here and this will change my serial number to the UDID, the Unique Identifier for this device.

Now you don't need to write down all those letters and numbers. What you can do is just go Edit > Copy and it will copy that UDID as long as it's being shown, and then go back right in here and paste it into the portal just like that. Lastly, just hit Submit, and now that's a registered device. Okay, so I have two registered devices. That looks good. Let's go into the App IDs and this really enables me to give my app a unique string that really identifies my app to the developer that made the app.

So I'm going to create a new App ID and in here I can give it a Description and I'll just say it's MyTestApplication. And I'm just going to use the Team ID, so I'm not going to worry about selecting anything in there. But I'm going to go ahead and put in a Bundle Identifier. So this is my suffix, there's going to be sort of a string of numbers and then followed by a suffix and usually it's a reverse domain lookup. But that's really what I'm going to do. I'm going to do com.lynda., and I could put in the app name, but really if you put in Asterisk, that really frees you up to not having to sort of create a new App ID each time.

This is just a wild card, so this makes it more flexible for me. So com.lynda.*, and remember this has MyTestApplication as the description. Okay, so I'll click Submit and now since I've created a new App ID, I can scroll down and there it is, MyTestApplication. You can see the specific App ID right there with a wild card. So plenty in here, you'll probably only have one or two. Now I need to go ahead and create a new provisioning profile.

So I need to provision my device as a test device, so I need to put a profile on it, a development profile. So I'll select New Profile, I'll give this a profile name. So Paul's, something unique, and this could be my monster match-up test, whatever, but it's really Paul's lynda Test and I'll go ahead and use the Paul Trani certificate that I created earlier. And I can select that App ID, and right down here, here's MyTestApplication, and I'll go ahead and select all of the devices.

Again, there could be up to a hundred in here. I'd say that looks good, I'll click Submit and it will be pending, so you might be need to refresh this page a couple times until the Download button appears. Now keep in mind, if you're curious about any of the other terminology or the how-to, there are these How To sections as well, but I'd say that looks good, I'm just going to keep in mind the com.lynda and then that Asterisk, but really I'm just going to click Download and it's going to download that provisioning profile.

I want to go ahead and show this on my Desktop, so I'm going to right-click in Show in Finder. And here it is, there is my developer identity certificate I made earlier and here's my mobile provision. I need to go ahead and put this on my device. So from here I'm going to go ahead and launch iTunes again. Here's iTunes, my device is still connected, and really what you need to do is take this and click-and-drag it to your Library. All right! It actually copied it in there and you can just even drag it in there again and what will happen is it'll say, hey, it's already there, do you want to replace it.

That's just a way to check to make sure your mobile provision actually gets synced up on your device. So that looks good. In fact, I can go ahead and sync that so it appears on my device. I'll just hit Sync. And while that's going, I'm going to go ahead and jump into Flash and use that same mobile provision in my publish settings for my app. Here I am back in Flash. For the provisioning profile, I'll point to that file. It happens to be in my Downloads folder, there it is, my mobile provision file.

Select Open and look how it adds com.lynda and then Dot. I can go ahead and say MonsterMatchUp if I want to give it a unique ID. But that's the great part about this. I gave it a wild card, so I could put anything there that I want. Now as you develop, which you might want to do, is consider in the General tab, incrementing the Version because you might need to make multiple changes and make sure the file gets updated if you keep publishing it out.

So just think about incrementing the version number so the app gets updated each time on your test device. But with that in place, I'm going to go ahead and publish this out. I'll select OK, and File > Publish. Now it's going to go ahead and make that IPA file. As you can see right down here, I now have this MonsterMatchUp.ipa file. This is really awesome. It's basically taken this content and ultimately really these two files and made this IPA file.

Now I can go ahead and take this app file and drag it, just click-and-drag it right into your Library, just like that. There it appears; notice I haven't attached any icons to it. Yeah, that's fine because I'm just testing this out. But you can see the app is right there. And if I go into my Apps area, I just want to make sure that is synced up. So it will actually appear on my second screen. So that looks good, I will go ahead and click Apply which is going to sync that to my iPhone.

So here's my iPhone and as you can see right there, there is MonsterMatchUp. I'll select that. It will go ahead and launch the app. You can see it right there, and as I tilt the device, you can see that little guy kind of move around on the screen. So that looks pretty good, in fact, I'll just close that back out and again, you can see that I can test it on my iPhone, iPad, iPod. Works great. And keep in mind also my mobile provisioning profile is installed on the device as well.

It's under Settings in the General tab. So with my device set up and Flash Pro set up, I can really start having some fun by testing out apps directly on a physical device.

Show transcript

This video is part of

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Building Mobile Apps for Multiple Devices with Flash Professional.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.