Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Makefile in iOS

Makefile in iOS

あるあるLT〜 クリスマスだよ!Android & iOS合同 大LT大会 〜 Vol.9 ( https://andfactory.connpass.com/event/159128/ ) にて発表された LT 資料です。
Makefileを利用してiOS開発を賢く便利に運用しよう🎉 ( https://qiita.com/YutoMizutani/items/6eea2ffac577ff481039 ) により詳しい内容が記載されています。

Ab5e75d761edf0f93cd6517d9305b39d?s=128

Yuto Mizutani

December 24, 2019
Tweet

More Decks by Yuto Mizutani

Other Decks in Programming

Transcript

  1. Makefile in iOS ͋Δ͋ΔLTʙ ΫϦεϚεͩΑʂAndroid & iOS߹ಉ େLTେձ ʙ Vol.9@And

    factory גࣜձࣾ
  2. ͔ͨͶ •גࣜձࣾ VALU •ݸਓͰ৺ཧֶΞϓϦ։ൃ •try! Swift 2019 LT

  3. None
  4. Highlights •Xcode ͸ෳࡶͳઃఆΛӅṭ͍ͯ͠Δ •Make ͸ ShellScript ݺͼग़͚ͩ͠Ͱ࢖͑Δ •iOS ͸ Makefile

    ͰίϚϯυΛ࡞Ζ͏
  5. Other Languages • Kotlin: build.gradle • JavaScript: package.json • Ruby:

    Rakefile
  6. Update in Other Languages • ./gradlew build >?refreshA dependencies •

    npm update • -
  7. Build in Other Languages • ./gradlew build • npm run

    build • rails s
  8. ͋Δ͋Δ! (iOS ʹ͸ͳ͍)

  9. None
  10. Build Settings

  11. Build Phases

  12. None
  13. None
  14. Build Phases

  15. npm run all ./gradlew build rake db:reset

  16. None
  17. None
  18. None
  19. None
  20. None
  21. None
  22. Make ʹ͸ ShellScript ͕࢖͑Δ

  23. install: Makefile pod install

  24. install: Makefile bundle exec pod install

  25. install: Makefile sh ./scripts/install.sh

  26. build: Makefile xcodebuild \ Aworkspace Foo.xcworkspace \ Aconfiguration Release \

    Averbose \ Ascheme "Foo macOS" \ | xcpretty
  27. rails s

  28. make install make build make deploy make release

  29. make install make build make deploy make release

  30. None
  31. None
  32. Highlights •Xcode ͸ෳࡶͳઃఆΛӅṭ͍ͯ͠Δ •Make ͸ ShellScript ݺͼग़͚ͩ͠Ͱ࢖͑Δ •iOS ͸ Makefile

    ͰίϚϯυΛ࡞Ζ͏
  33. None
  34. References • GNU make ೔ຊޠ༁(Coopฤ) - ໨࣍ - ecoop.net •

    mozilla-mobile/firefox-ios - GitHub • kickstarter/ios-oss - GitHub • MakefileΛར༻ͯ͠iOS։ൃΛݡ͘ศརʹӡ༻͠Α͏ - Qiita