For mobile 3/14'

287 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
287
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

For mobile 3/14'

  1. 1. Xcode a buildování Jakub Hladík For Mobile Březen 2014 - iOS
  2. 2. Jakub Hladík CTO at FlowKnight s.r.o. "2
  3. 3. Xcode • Target – a single product • Project – repo for files, 1+ targets • Build settings • Workspace – projects and relationships • Scheme
  4. 4. Run!
  5. 5. Archive 1. Product / Archive 2. Organizer / Distribute 3. Pick profile 4. Save 5. Upload to TestFlight/HockeyApp, Enterprise
  6. 6. xcodebuild • build Xcode projects and workspaces
 –workspace (Pexeso.xcworkspace)
 –scheme (Pexeso)
 –configuration (Release)
 –sdk (iphoneos7.1)
 –clean
 –archive • non-default keychain
 OTHER_CODE_SIGN_FLAGS=“––keychain path“ • outputs .app file
  7. 7. DEMO
  8. 8. xctool • xcodebuild replacement, better xcodebuild • https://github.com/facebook/xctool • easier! • available in home-brew ($ brew install xctool)
  9. 9. xctool • similar to xcodebuild
 –workspace
 –scheme
 –sdk
 –configuration

  10. 10. DEMO
  11. 11. xcrun • app signing • .app to .ipa • embed provisioning profile • use absolute paths 💀 (and don’t ask why)
  12. 12. DEMO
  13. 13. BONUS! • build sign and upload script available online
 https://github.com/flowknight/FKT_Build • BEER LICENCED • commands here
 https://gist.github.com/kubbing/9743680
  14. 14. References • https://developer.apple.com/library/ios/ featuredarticles/XcodeConcepts/Concept- Targets.html#//apple_ref/doc/uid/TP40009328-CH4- SW1 • http://nshipster.com/xctool/ • https://github.com/facebook/xctool • http://www.objc.io/issue-6/travis-ci.html • man xcodebuild, man xcrun, xctool —help

×