iPhone	
  Developer	
  University	
  Program	
  

                Jussi	
  Pohjolainen	
  
    Tampere	
  University	
  of...
iPhone	
  Licensing	
  
•  SDK	
  is	
  free	
  download	
  from	
  Apple	
  
•  If	
  you	
  want	
  to	
  release	
  soA...
Developer	
  Programs	
  
University	
  Program	
  
•  To	
  qualified,	
  degree	
  granFng,	
  higher	
  educaFon	
  
   insFtuFons.	
  
    –  App...
GeQng	
  Started,	
  Se#ng	
  up	
  the	
  Team	
  
•  Login	
  to	
  Program	
  Portal	
  	
  
•  Set	
  up	
  your	
  te...
Program	
  Portal,	
  SeQng	
  the	
  Team	
  
iPhone	
  Development	
  CerFficate	
  
•  All	
  iPhone	
  apps	
  must	
  be	
  signed	
  by	
  a	
  valid	
  
   cerFfica...
Obtaining	
  the	
  CerFficate	
  
•  You	
  must	
  request	
  the	
  
   cer*ficate	
  
    1.  Generate	
  CerFficate	
  
...
1.	
  GeneraFng	
  CSR	
  
1.	
  GeneraFng	
  CSR	
  
1.	
  GeneraFng	
  CSR	
  
1.	
  GeneraFng	
  CRS:	
  Done!	
  
2.	
  Submit	
  CSR	
  for	
  Approval	
  




                                     Upload	
  the	
  
                    ...
Approving	
  CSR	
  
•  Team	
  Member	
  (student)	
  
   requests	
  cerFficate	
  
•  Team	
  Admin	
  (teacher)	
  
   ...
Approving	
  the	
  CSR	
  
•  Team	
  Admin	
  (teacher)	
  approves	
  the	
  CSR	
  	
  
Approving	
  CSRs	
  	
  
•  Team	
  agent/admin	
  is	
  responsible	
  for	
  approving	
  team	
  
   members	
  reques...
3.	
  Downloading	
  and	
  Installing	
  
                     CerFficate	
  
•  Team	
  member	
  has	
  now	
  
    –  G...
.cer	
  

                                          The	
  cerFficaFon	
  
The	
  csr	
  -­‐	
  file	
  
                   ...
Install	
  by	
  Double-­‐Clicking	
  the	
  File	
  
InstallaFon	
  to	
  Keychain	
  Access	
  
Developing	
  on	
  MulFple	
  Computers?	
  
•  Not	
  developing	
  is	
  possible	
  on	
  your	
  computer	
  
•  If	
...
How	
  to	
  Export?	
  
1.  Open	
  Keychain	
  Access	
  app	
  
2.  Select	
  Keys	
  –	
  category	
  
3.  Control-­‐c...
ExporFng	
  
.p12	
  
                                             The	
  cerFficaFon	
  
   The	
  csr	
  -­‐	
  file	
  
              ...
Assigning	
  Apple	
  Devices	
  
•  What	
  devices	
  are	
  used	
  for	
  development?	
  
•  Team	
  agent/admin	
  (...
UDID	
  

            Team	
  member	
  
           should	
  send	
  this	
  
Team	
  Admin	
  Approves	
  the	
  Device	
  
•  When	
  team	
  member	
  (student)	
  has	
  sent	
  the	
  
   UDID,	
...
CreaFng	
  App	
  ID	
  
•  Development	
  CerFficate:	
  done	
  
•  Device	
  ID:	
  done	
  
•  App	
  ID?	
  
   –  Uni...
App	
  ID?	
  
•  App	
  ID	
  consists	
  of	
  two	
  parts	
  
    1.  Bundle	
  Seed	
  ID,	
  generated	
  by	
  Appl...
CreaFng	
  Wild	
  Card	
  App	
  ID	
  




                     Bundle	
  IdenFfier	
  
                     Wild	
  Card...
Provision	
  Profile	
  
•  Provision	
  profile	
  containt	
  a	
  set	
  of	
  cerFficates,	
  
   unique	
  device	
  ide...
CreaFng	
  the	
  Profile	
  
Downloading	
  the	
  Profile	
  


                         Download	
  Link	
  
Installing	
  the	
  Profile	
  
•  Open	
  the	
  profile	
  file	
  with	
  iTunes	
  
•  iTunes	
  stores	
  the	
  profile...
Installing	
  Provision	
  Profile	
  on	
  the	
  
                       Device	
  
•  Connect	
  your	
  Device	
  
•  L...
Installing	
  Profile	
  to	
  Device	
  
Deploying	
  App	
  
•  You	
  have	
  now	
  
    –  Approved	
  CerFficate	
  
    –  Assigned	
  Apple	
  Device	
  
   ...
Deploying	
  App	
  
•  Change	
  AcFve	
  SDK	
  to	
  Device	
  
Deploying	
  App	
  
•  Highlight	
  project	
  target	
  and	
  select	
  info	
  
Deploying	
  App	
  
•  Select	
  the	
  cerFficaFon	
  /	
  profile	
  pair	
  in	
  the	
  
   build	
  /	
  code	
  signi...
Deploying	
  App	
  
                                               Change	
  this	
  
•  Select	
  ProperFes	
  and	
  
 ...
Build	
  and	
  Go!	
  
•  Click	
  Build	
  and	
  Go	
  
•  The	
  app	
  should	
  be	
  
   compiled	
  and	
  install...
Upcoming SlideShare
Loading in …5
×

iPhone University Developer Program

3,103 views

Published on

Managing teams and deploying apps in iPhone University Developer program

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,103
On SlideShare
0
From Embeds
0
Number of Embeds
24
Actions
Shares
0
Downloads
57
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

iPhone University Developer Program

  1. 1. iPhone  Developer  University  Program   Jussi  Pohjolainen   Tampere  University  of  Applied  Sciences  
  2. 2. iPhone  Licensing   •  SDK  is  free  download  from  Apple   •  If  you  want  to  release  soAware,  you  must  enroll   to  iPhone  Developer  Program   •  Programs   –  Standard  Program,  $99  per  year   •  DistribuFng  apps  into  app  store   –  Enterprise  Program,  $299  per  year   •  DistribuFng  apps  inside  the  company   –  University  Program,  free   •  DistribuFng  apps  between  students  and  teachers   •  App  Store  distribuFon  not  available    
  3. 3. Developer  Programs  
  4. 4. University  Program   •  To  qualified,  degree  granFng,  higher  educaFon   insFtuFons.   –  Apple  reserves  the  right  to  determine  eligibility   •  No  beta  versions  of  the  SDK  (new  SDKs,  iPad..)   •  iPhone  SDK  can  be  installed  on  Apple   computers  in  computer  classes   •  200  iPhones  can  be  registered  on  one   semester  
  5. 5. GeQng  Started,  Se#ng  up  the  Team   •  Login  to  Program  Portal     •  Set  up  your  team   –  Team  member:  students   –  Team  admins:  teachers   –  Team  agent:  original  enrollee  accepted  into   iPhone  Developer  Program   •  Send  InvitaFons  one  by  one  or  using  a  texTile   containing  e-­‐mail  addresses  
  6. 6. Program  Portal,  SeQng  the  Team  
  7. 7. iPhone  Development  CerFficate   •  All  iPhone  apps  must  be  signed  by  a  valid   cerFficate  before  they  can  run  on  a  Apple   Device   •  To  sign  an  app  for  tesFng  purposes,  team   member  (student)  need  to  to  obtain   development  cer9ficate   •  CerFficaFon  is  restricted  to  app  development   only  and  is  valid  for  a  limited  amount  of  Fme.  
  8. 8. Obtaining  the  CerFficate   •  You  must  request  the   cer*ficate   1.  Generate  CerFficate   Signing  Request  (CSR)   •  The  CSR  file  is  generated   using  Keychain  Access   ApplicaFon   2.  AAer  creaFng  the  file,   you  submit  the  file  for   approval   3.  When  request  is   approved,  you  download   and  install  the  cerFficate  
  9. 9. 1.  GeneraFng  CSR  
  10. 10. 1.  GeneraFng  CSR  
  11. 11. 1.  GeneraFng  CSR  
  12. 12. 1.  GeneraFng  CRS:  Done!  
  13. 13. 2.  Submit  CSR  for  Approval   Upload  the   generated  CSR  
  14. 14. Approving  CSR   •  Team  Member  (student)   requests  cerFficate   •  Team  Admin  (teacher)   approves  the  cerFficate  
  15. 15. Approving  the  CSR   •  Team  Admin  (teacher)  approves  the  CSR    
  16. 16. Approving  CSRs     •  Team  agent/admin  is  responsible  for  approving  team   members  requests.   •  But  before  doing  this,  team  admin  must  first  submit  theiry   own  CSR  for  approval!   •  Once  the  CSR  is  approved,  the  member  can  download  the   cerFficate.  
  17. 17. 3.  Downloading  and  Installing   CerFficate   •  Team  member  has  now   –  Generated  the  request  (CSR)   –  Uploaded  the  request   –  Goaen  approved   •  Now  team  member  must  download  and  install   the  cerFficate   •  Click  download  in  the  cerFficates  secFon  and   save  the  .cer  –  file.   •  Install  the  .cer  file  by  double  clicking  it.    
  18. 18. .cer   The  cerFficaFon   The  csr  -­‐  file   file  
  19. 19. Install  by  Double-­‐Clicking  the  File  
  20. 20. InstallaFon  to  Keychain  Access  
  21. 21. Developing  on  MulFple  Computers?   •  Not  developing  is  possible  on  your  computer   •  If  you  want  to  develope  on  mulFple   computers  (laptop,  computer  class),  you  must   save  your  private  key  and  transfer  it  to  other   systems.   •  Private  key  was  generated  when  you  created   the  CSR  and  the  private  keys  is  Fed  to  your   user  account  
  22. 22. How  to  Export?   1.  Open  Keychain  Access  app   2.  Select  Keys  –  category   3.  Control-­‐click  the  private  key  and  select  export  
  23. 23. ExporFng  
  24. 24. .p12   The  cerFficaFon   The  csr  -­‐  file   file   Transfer  this  file   between  systems!   Double-­‐click  it  to   install  it  on  a   system.  
  25. 25. Assigning  Apple  Devices   •  What  devices  are  used  for  development?   •  Team  agent/admin  (teacher)  must  assign  them   •  Team  agent/admin  must  enter  Unique  Device   IdenFfiers  (UDID)  for  each  iPhone  into  the   program  portal   •  UDID?  Connect  iPhone  to  Mac  and  open   Xcode  or  iTunes   –  Xcode:  Navigate  to  Window/Organizer  
  26. 26. UDID   Team  member   should  send  this  
  27. 27. Team  Admin  Approves  the  Device   •  When  team  member  (student)  has  sent  the   UDID,  then  team  admin  (teacher)  can  add  the   device  into  the  program  portal  
  28. 28. CreaFng  App  ID   •  Development  CerFficate:  done   •  Device  ID:  done   •  App  ID?   –  Unique  idenFfier  for  your  applicaFon   –  Enable  users  to  take  advantage  of  Push   NoFficaFon    
  29. 29. App  ID?   •  App  ID  consists  of  two  parts   1.  Bundle  Seed  ID,  generated  by  Apple   2.  Bundle  idenFfier:  generated  by  Team  Agent  /  Admin   (Teacher)   •  Is  entered  in  the  program  portal   •  Two  types  of  App  IDs   –  Wild  card:  one  App  ID  for  all  your  apps   –  Explicit:  one  App  ID  for  one  App  (Push  NoFficaFon)  
  30. 30. CreaFng  Wild  Card  App  ID   Bundle  IdenFfier   Wild  Card   Bundle  IdenFfier   with  wild  card  
  31. 31. Provision  Profile   •  Provision  profile  containt  a  set  of  cerFficates,   unique  device  idenFfiers  and  App  ID  and  is   valid  for  90  days   •  Profile  is  installed  on  the  device   •  Create  profile  using  Program  Portal.  Apple  says   that  it  takes  up  to  one  minute  to  create  the   profile.   –  for  me,  it  took  one  day  
  32. 32. CreaFng  the  Profile  
  33. 33. Downloading  the  Profile   Download  Link  
  34. 34. Installing  the  Profile   •  Open  the  profile  file  with  iTunes   •  iTunes  stores  the  profile  file  to  ~/Library/ MobileDevice/Provisioning Profiles
  35. 35. Installing  Provision  Profile  on  the   Device   •  Connect  your  Device   •  Launch  Xcode   •  Navigate  to  Organizer  –  window  and  select   your  device   •  Click  '+'  and  select  your  provision  profile  to  be   installed  on  the  device  
  36. 36. Installing  Profile  to  Device  
  37. 37. Deploying  App   •  You  have  now   –  Approved  CerFficate   –  Assigned  Apple  Device   –  Installed  Development  Provision  Profile   •  Now  launch  Xcode   •  Create  new  Project  
  38. 38. Deploying  App   •  Change  AcFve  SDK  to  Device  
  39. 39. Deploying  App   •  Highlight  project  target  and  select  info  
  40. 40. Deploying  App   •  Select  the  cerFficaFon  /  profile  pair  in  the   build  /  code  signing  idenFty  
  41. 41. Deploying  App   Change  this   •  Select  ProperFes  and   change  the  idenFfier   •  If  wildcard  was  used   this  can  be  anything  
  42. 42. Build  and  Go!   •  Click  Build  and  Go   •  The  app  should  be   compiled  and  installed   on  the  device  

×