Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
iOS
Swift Package Manager
( ´ ‿ )
Masayuki Ono(@_mono)
potatotips #32 (iOS/Android Tips )
Swift Package Manager
(SwiftPM, SPM)
•
• CocoaPods Carthage
•
•
• Swift 3 👀
SwiftPM
Carthage CocoaPods
Swift - infoQ
Xcode 8 Swift 3
SwiftPM
SwiftPM
swift.org
- https://swift.org/package-manager/
SwiftPM
- https://github.com/apple/swift-package-manager
- https://...
Qiita 😞
JPMartha 👀
👀
Apple 👼
https://github.com/apple/example-package-playingcard/pull/2
Pull Request 🎉
👀
https://apple.github.io/swift-evolution/
Xcode 8 Swift 3
SwiftPM
🤔
Xcode 8 Swift 3
SwiftPM
iOS
Carthage
CocoaPods
Git Submodule(or Subtree)
SwiftPM🆕
👍
👌
😩
😡
🤔
SwiftPM iOS
•
• HomeBrew
• Carthage CocoaPods
https://github.com/apple/swift-package-manager/blob/master/CODE_OWNERS.txt#L...
SwiftPM
- Swift
-
OSS SwiftPM
- Carthage CocoaPods SwiftPM
Apple
- iOS
-
- SwiftPM ( Swift 3 🤔)
SwiftPM
- Xcode 8 beta 6 -
1.
2.
3. ( )
Potatotips
$ swift package init --type=executable
➜ Potatotips swift package init --type=executable
Creating executable package: Pota...
Package.swift
Package
$ swift build
➜ Potatotips swift build
Cloning git@github.com:apple/example-package-playingcard.git
HEAD is now at 6e772a6...
main.swift
$ swift build
➜ Potatotips swift build
Compile Swift Module 'Potatotips' (1 sources)
Linking ./.build/debug/Potatotips
$ ./debug/Potatotips
➜ .build ./debug/Potatotips
card: ♣A
$ swift package generate-xcodeproj
➜ .build swift package generate-xcodeproj
generated: /Users/mono/Desktop/Potatotips/Pot...
- Swift Modules
- SwiftPM
- SwiftPM Packages on GitHub: Statistics
- SwiftPM
- neonichu/schoutedenapus
- PodSpec → Package...
iOSアプリのライブラリ依存管理ツールとして Swift Package Managerを使うのは まだしばらく先かなと思った話
Prochain SlideShare
Chargement dans…5
×

iOSアプリのライブラリ依存管理ツールとして Swift Package Managerを使うのは まだしばらく先かなと思った話

7 276 vues

Publié le

「SwiftPMをiOSアプリ開発で使うのまだつらい」「今後に期待!」

Publié dans : Logiciels
  • Soyez le premier à commenter

iOSアプリのライブラリ依存管理ツールとして Swift Package Managerを使うのは まだしばらく先かなと思った話

  1. 1. iOS Swift Package Manager ( ´ ‿ ) Masayuki Ono(@_mono) potatotips #32 (iOS/Android Tips )
  2. 2. Swift Package Manager (SwiftPM, SPM) • • CocoaPods Carthage • • • Swift 3 👀
  3. 3. SwiftPM Carthage CocoaPods Swift - infoQ
  4. 4. Xcode 8 Swift 3 SwiftPM
  5. 5. SwiftPM swift.org - https://swift.org/package-manager/ SwiftPM - https://github.com/apple/swift-package-manager - https://lists.swift.org/mailman/listinfo/swift-build-dev Slack - https://swift-package-manager.herokuapp.com
  6. 6. Qiita 😞
  7. 7. JPMartha 👀 👀
  8. 8. Apple 👼 https://github.com/apple/example-package-playingcard/pull/2 Pull Request 🎉
  9. 9. 👀 https://apple.github.io/swift-evolution/
  10. 10. Xcode 8 Swift 3 SwiftPM
  11. 11. 🤔 Xcode 8 Swift 3 SwiftPM
  12. 12. iOS Carthage CocoaPods Git Submodule(or Subtree) SwiftPM🆕 👍 👌 😩 😡 🤔
  13. 13. SwiftPM iOS • • HomeBrew • Carthage CocoaPods https://github.com/apple/swift-package-manager/blob/master/CODE_OWNERS.txt#L11
  14. 14. SwiftPM - Swift - OSS SwiftPM - Carthage CocoaPods SwiftPM Apple - iOS - - SwiftPM ( Swift 3 🤔)
  15. 15. SwiftPM - Xcode 8 beta 6 -
  16. 16. 1. 2. 3. ( )
  17. 17. Potatotips
  18. 18. $ swift package init --type=executable ➜ Potatotips swift package init --type=executable Creating executable package: Potatotips Creating Package.swift Creating .gitignore Creating Sources/ Creating Sources/main.swift Creating Tests/
  19. 19. Package.swift Package
  20. 20. $ swift build ➜ Potatotips swift build Cloning git@github.com:apple/example-package-playingcard.git HEAD is now at 6e772a6 Fixing a Linux-specific test failure. Resolved version: 3.0.1 Compile Swift Module 'PlayingCard' (3 sources) Compile Swift Module 'Potatotips' (1 sources) Linking ./.build/debug/Potatotips
  21. 21. main.swift
  22. 22. $ swift build ➜ Potatotips swift build Compile Swift Module 'Potatotips' (1 sources) Linking ./.build/debug/Potatotips
  23. 23. $ ./debug/Potatotips ➜ .build ./debug/Potatotips card: ♣A
  24. 24. $ swift package generate-xcodeproj ➜ .build swift package generate-xcodeproj generated: /Users/mono/Desktop/Potatotips/Potatotips.xcodeproj Xcode IDE 😋 - Xcode - iOS (fastlane ) 
 8 17 : [swift-evolution] Swift Package Manager 3.0 Project Status
  25. 25. - Swift Modules - SwiftPM - SwiftPM Packages on GitHub: Statistics - SwiftPM - neonichu/schoutedenapus - PodSpec → Package.swift - Package.swift - manual - Package.swift ( ) - NSLondon: Swift Package Manager - 6 SwiftPM

×