Apple-utvikling

From Robin

Revision as of 09:16, 3 October 2016 by Charlepm (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Nyttig info om Xcode og utvikling for macOS og iOS

  • You need to have XCode installed to compile and distribute iOS and macOS software - just install it from the Mac App Store. (If you just need the command line tools, you can install them separately by running xcode-select --install)
  • IFI has an organisation account that you can be added to - send an email to thoh@ifi.uio.no
  • Under "preferences > accounts" i Xcode finner du en oversikt over hvilke utviklerlag din Apple ID er knyttet til.

Fil: ios_accounts.png

  • Når du har opprettet et Xcode-prosjekt, kan du se og velge hvilket team prosjektet skal være knyttet til under "general" for det aktuelle prosjektet.

Fil: ios_general.png

  • Dersom du skal utvikle en app for en iOS-enhet (iPod, iPhone...) må denne også knyttes til teamet du er en del av. Denne enheten må også legges til av en agent/admin for teamet du tilhører. I «Organizer - Devices» i Xcode kan man finne informasjonen som admin for teamet trenger for å legge enheten til.

Fil: ios_organizer_slad.png

Other Apple Development Tips

  • Use Homebrew to install development tools and packages (http://brew.sh/index.html) - it's the missing package manager for macOS.
  • Use CocoaPods to install libraries for your Xcode projects (https://cocoapods.org/) - It's a ruby program that manages and downloads libraries for you and wraps your Xcode project file so that they are linked automatically.
Personal tools
Front page