kkbox wwdc17 xcode ide - hardy

49
WWDC 2017 #Xcode IDE

Upload: liyao-chen

Post on 22-Jan-2018

2.157 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: KKBOX WWDC17  Xcode IDE - Hardy

WWDC 2017 #Xcode IDE

Page 2: KKBOX WWDC17  Xcode IDE - Hardy

Topics

GitHub and the New Source Control Workflows in Xcode 9

What's New in Signing for Xcode and Xcode Server

Localizing with Xcode 9

GitHub and the New Source Control Workflows in Xcode 9 Session 405

What's New in Signing for Xcode and Xcode Server Session 403

Localizing with Xcode 9 Session 401

Page 3: KKBOX WWDC17  Xcode IDE - Hardy

GitHub and the New Source Control Workflows in Xcode 9

Page 4: KKBOX WWDC17  Xcode IDE - Hardy
Page 5: KKBOX WWDC17  Xcode IDE - Hardy

Clone

Page 6: KKBOX WWDC17  Xcode IDE - Hardy

Clone

Page 7: KKBOX WWDC17  Xcode IDE - Hardy

Clone

Page 8: KKBOX WWDC17  Xcode IDE - Hardy

Commit

Page 9: KKBOX WWDC17  Xcode IDE - Hardy

Commit

Page 10: KKBOX WWDC17  Xcode IDE - Hardy

Commit

Page 11: KKBOX WWDC17  Xcode IDE - Hardy

Branching

Page 12: KKBOX WWDC17  Xcode IDE - Hardy

Tags

Page 13: KKBOX WWDC17  Xcode IDE - Hardy

Tags

Page 14: KKBOX WWDC17  Xcode IDE - Hardy

What's New in Signing for Xcode and Xcode Server

Page 15: KKBOX WWDC17  Xcode IDE - Hardy
Page 16: KKBOX WWDC17  Xcode IDE - Hardy

Xcode Server

Continuous integration powered by Xcode

Built into Xcode

Runs your tests on simulators and devices

Page 17: KKBOX WWDC17  Xcode IDE - Hardy
Page 18: KKBOX WWDC17  Xcode IDE - Hardy
Page 19: KKBOX WWDC17  Xcode IDE - Hardy

Xcode Server

Automatic or manual signing

Xcode Server joins your team for development signing

Supports two-factor authentication

Development signing

Page 20: KKBOX WWDC17  Xcode IDE - Hardy

xcodebuildDevelopment signing

xcodebuild -allowProvisioningUpdates

xcodebuild -allowProvisioningDeviceRegistration

Page 21: KKBOX WWDC17  Xcode IDE - Hardy

Manual SingingXcode Improvement

Page 22: KKBOX WWDC17  Xcode IDE - Hardy

Manual SingingXcode Improvement

Page 23: KKBOX WWDC17  Xcode IDE - Hardy

DEVELOPMENT_TEAM to set your team identifier

PROVISIONING_PROFILE_SPECIFIER to set your profile name

CODE_SIGN_IDENTITY to set your certificate

Build Settings

CODE_SIGN_STYLE to set automatic or manual

Page 24: KKBOX WWDC17  Xcode IDE - Hardy

Distributing

Development signed (recommended)

Distribution Signed

Page 25: KKBOX WWDC17  Xcode IDE - Hardy

Distributing

Page 26: KKBOX WWDC17  Xcode IDE - Hardy

DistributingDistributing Improvement

Page 27: KKBOX WWDC17  Xcode IDE - Hardy

DistributingEnhanced export

.ipa

DistributionSummary.plist

Packaging.log

ExportOptions.plist

Page 28: KKBOX WWDC17  Xcode IDE - Hardy

DistributingEnhanced export

xcodebuild -exportArchive

-archivePath your.xcarchive

-exportOptionsPlist ExportOptions.plist

-allowProvisioningUpdates

Page 29: KKBOX WWDC17  Xcode IDE - Hardy

DistributingManual

Page 30: KKBOX WWDC17  Xcode IDE - Hardy

Distribution Signing with Xcode Server

Page 31: KKBOX WWDC17  Xcode IDE - Hardy

Distribution Signing with Xcode Server

Copy distribution certificates to server

Automatic signing creates and updates distribution

profilesUpload ExportOptions.plist

Page 32: KKBOX WWDC17  Xcode IDE - Hardy

Localizing with Xcode 9

Page 33: KKBOX WWDC17  Xcode IDE - Hardy

Internationalization

String management

Formatting

User Interface

Page 34: KKBOX WWDC17  Xcode IDE - Hardy

String management

Prepare your strings for translation

Use NSLocalizedString

Use NSLocalizedStringWithFormat

Page 35: KKBOX WWDC17  Xcode IDE - Hardy
Page 36: KKBOX WWDC17  Xcode IDE - Hardy

String management

Page 37: KKBOX WWDC17  Xcode IDE - Hardy

Formatters

English(Philippines) UnitedStates

Page 38: KKBOX WWDC17  Xcode IDE - Hardy

User Interface

Page 39: KKBOX WWDC17  Xcode IDE - Hardy

User Interface

Page 40: KKBOX WWDC17  Xcode IDE - Hardy

User Interface

Page 41: KKBOX WWDC17  Xcode IDE - Hardy

User Interface

Page 42: KKBOX WWDC17  Xcode IDE - Hardy

Localization Process

Page 43: KKBOX WWDC17  Xcode IDE - Hardy

StringsdictHandling Plurals

Page 44: KKBOX WWDC17  Xcode IDE - Hardy

StringsdictHandling Plurals

Page 45: KKBOX WWDC17  Xcode IDE - Hardy

StringsdictAdaptive String

Page 46: KKBOX WWDC17  Xcode IDE - Hardy

StringsdictAdaptive String

Page 47: KKBOX WWDC17  Xcode IDE - Hardy

Testing

Page 48: KKBOX WWDC17  Xcode IDE - Hardy

Testing

Page 49: KKBOX WWDC17  Xcode IDE - Hardy

ThanksQ&A