Apple-utvikling
From Robin
(Difference between revisions)
(→Nyttig info om Xcode og utvikling for Mac OS og iOS) |
|||
Line 1: | Line 1: | ||
- | == Nyttig info om Xcode og utvikling for | + | == 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 <code>xcode-select --install</code>) |
- | * | + | * If you're developing for iOS, you need to enrol in the Apple Developer program (https://developer.apple.com). With a free account you can test your apps on your own devices, but to publish in the store or send out beta builds, you need to have a paid account (https://developer.apple.com/support/compare-memberships/) or add your Apple ID to the IFI organisation account. (https://developer.apple.com/support/compare-memberships/) |
+ | |||
+ | * 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. | * Under "preferences > accounts" i Xcode finner du en oversikt over hvilke utviklerlag din Apple ID er knyttet til. | ||
[[Fil: ios_accounts.png]] | [[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. | * 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]] | [[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. | * 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]] | [[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. |
Current revision as of 09:16, 3 October 2016
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
)
- If you're developing for iOS, you need to enrol in the Apple Developer program (https://developer.apple.com). With a free account you can test your apps on your own devices, but to publish in the store or send out beta builds, you need to have a paid account (https://developer.apple.com/support/compare-memberships/) or add your Apple ID to the IFI organisation account. (https://developer.apple.com/support/compare-memberships/)
- 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.
- 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.
- 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.
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.