developing on devices
TRANSCRIPT
-
7/28/2019 Developing on Devices
1/34
DevelopingoniOS5DevicesStanfordUniversity
-
7/28/2019 Developing on Devices
2/34
RunningappsonaDevice
Applehasstrictsecurityregardingwhocandistributeapps
Eachappthatiscompiledtorunonadevicemustbecode-signed
-
7/28/2019 Developing on Devices
3/34
2ThingsYouNeed
Twoprerequisitestorunanapponadevice:1) ObtainDeveloperCer*ficatetosigntheapp2) ObtainProvisioningProfilewhichidenJfiesyour
cerJficate,device,andapponthatdevice
-
7/28/2019 Developing on Devices
4/34
2ThingsYouNeed
Twoprerequisitestorunanapponadevice:1) ObtainDeveloperCer*ficatetosigntheapp2) ObtainProvisioningProfilewhichidenJfiesyour
cerJficate,device,andapponthatdevice
-
7/28/2019 Developing on Devices
5/34
1stThing-DeveloperCerJficate
Threesteps
1) CreateacerJficaterequest2) Submitit(toApple)viadeveloper.apple.com3)Download/InstallcerJficateonyourmachine
-
7/28/2019 Developing on Devices
6/34
1)CreateaCerJficateRequest
OpenKeychainAccessApplicaJon Selectthefollowingfromthemenubar:
-
7/28/2019 Developing on Devices
7/34
-
7/28/2019 Developing on Devices
8/34
-
7/28/2019 Developing on Devices
9/34
2)Submititviadeveloper.apple.com
hp://developer.apple.com-UseSafari ClickiOSDevCenter Loginusingthedeveloperaccountyoumade ClickiOSProvisioningProfileonrightmenu
-
7/28/2019 Developing on Devices
10/34
-
7/28/2019 Developing on Devices
11/34
SubmittheKeychainAccessfileyoucreated.
-
7/28/2019 Developing on Devices
12/34
IfusingtheUniversityProgram
IMPORTANT:forthebelowlinetoappear,you
mayneedtorefreshyourbrowseraZeruploadingyourcerJficate(andusesafari!)
-
7/28/2019 Developing on Devices
13/34
-
7/28/2019 Developing on Devices
14/34
3)InstallcerJficateonyourmachine
OnceyourcerJficatehaschangedstatustoIssued,youcanclickdownload
FirstdoubleclicktheWWDRcerJficatetoinstallthatitwillopenKeychainAccess OnceyouhavesavedyourcerJficate,double
clickititwillbringupKeychainAccess
-
7/28/2019 Developing on Devices
15/34
-
7/28/2019 Developing on Devices
16/34
2ThingsYouNeed
Twoprerequisitestorunanapponadevice:1) ObtainDeveloperCer*ficatetosigntheapp2) ObtainProvisioningProfilewhichidenJfiesyour
cerJficate,device,andapponthatdevice
-
7/28/2019 Developing on Devices
17/34
2ndThingProvisioningProfile
1) OpenXCodesOrganizer2) DownloaditfromiOSProvisioningPortal3) PlaceitwithinXCodesorganizer
-
7/28/2019 Developing on Devices
18/34
XcodesOrganizer
-
7/28/2019 Developing on Devices
19/34
2)ClickontheProvisioningProfilesTab
1)ClickonDevicestab
-
7/28/2019 Developing on Devices
20/34
DownloadProvisioningProfile
1) ClickiOSDevCenterondeveloper.apple.com2) GotoiOSProvisioningPortal(rightmenu)3) ClickProvisioning(leZmenu)4) DownloadtheCS193pFall2011Profile
(NOTE:YoumusthavesubmiedyourUDIDtousviathestaffe-mail,andwemusthave
approvedit.Otherwiseitwontwork.)
-
7/28/2019 Developing on Devices
21/34
Problemifyoudontseethis
-
7/28/2019 Developing on Devices
22/34
2ThingsYouNeed
Twoprerequisitestorunanapponadevice:1) ObtainDeveloperCer*ficatetosigntheapp2) ObtainProvisioningProfilewhichidenJfiesyour
cerJficate,device,andapponthatdevice
-
7/28/2019 Developing on Devices
23/34
RunninganApponyourDevice
-
7/28/2019 Developing on Devices
24/34
RunninganApponyourDevice
1) SetbuildsengstocodesignApp2) Editthe.plistfileofyourApp3) Runitonyourdevice(NOTE:Steps1-2causetheapptobecode-signed.XCodemayhandlethesestepsforyouautomaJcallyinversion4.2withiOS5,butwere
includingthestepsherefordouble-checking.IfyoucantautomaJcallydostep3,ensurethatsteps1and2areworkingfirst.)
-
7/28/2019 Developing on Devices
25/34
1)SetbuildsengstocodesignApp
-
7/28/2019 Developing on Devices
26/34
1)SetbuildsengstocodesignApp
-
7/28/2019 Developing on Devices
27/34
1)SetbuildsengstocodesignApp
-
7/28/2019 Developing on Devices
28/34
2)Editthe.plistfileofyourApp
-
7/28/2019 Developing on Devices
29/34
2)Editthe.plistfileofyourApp
-
7/28/2019 Developing on Devices
30/34
2)Editthe.plistfileofyourApp
EditBundleIdenJfiertobeyourprovisioningprofile(XCode4.2shouldhavefilledthisfor
youautomaJcally)
-
7/28/2019 Developing on Devices
31/34
3)Runitonyourdevice
YoumayhavetogototheOrganizerwindowofXCode,selectyourphoneontheleZmenu,
andclickUseforDevelopment
-
7/28/2019 Developing on Devices
32/34
Youknowyourdeviceisreadyif
-
7/28/2019 Developing on Devices
33/34
3)Runitonyourdevice
Selectyourdevicefromthedropdown-menunexttotheRunandStopbuons
-
7/28/2019 Developing on Devices
34/34
Thatsit!