Your SlideShare is downloading. ×
WatchApp開発の複数開発環境対応とTIPS
WatchApp開発の複数開発環境対応とTIPS
WatchApp開発の複数開発環境対応とTIPS
WatchApp開発の複数開発環境対応とTIPS
WatchApp開発の複数開発環境対応とTIPS
WatchApp開発の複数開発環境対応とTIPS
WatchApp開発の複数開発環境対応とTIPS
WatchApp開発の複数開発環境対応とTIPS
WatchApp開発の複数開発環境対応とTIPS
WatchApp開発の複数開発環境対応とTIPS
WatchApp開発の複数開発環境対応とTIPS
WatchApp開発の複数開発環境対応とTIPS
WatchApp開発の複数開発環境対応とTIPS
WatchApp開発の複数開発環境対応とTIPS
WatchApp開発の複数開発環境対応とTIPS
WatchApp開発の複数開発環境対応とTIPS
WatchApp開発の複数開発環境対応とTIPS
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

WatchApp開発の複数開発環境対応とTIPS

335

Published on

2015/05/27 …

2015/05/27
Apple Watch meetup @ HillsGarage
About Scheme, Build Configuration, xcconfig TIPS

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
335
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. WatchApp開発の
 複数開発環境対応とTIPS Apple Watch meetup @ HillsGarage 2015/05/27 Retty 株式会社 櫻井 洋一郎
  • 2. 自己紹介 • 櫻井 洋一郎(@saku2saku) • iOSアプリ開発 兼 日本酒担当 • PHP, Objective-C, Java, 等々 • 漫画, 料理, 等々
  • 3. • RettyのWatch対応の取組 • WatchApp開発の複数開発環境対応と TIPS • まとめ 今日の内容 https://github.com/saku/SchemeConfigSample
  • 4. RettyのWatch対応の取組
  • 5. どんなことができる? • 散歩してたらいいお店見つけたので今度 友達と行こう! • ふらっと立ち寄ったお店が美味しかった ので今度友達とこよう!
  • 6. 是非使ってみてね!
  • 7. WatchApp開発の
 複数開発環境対応とTIPS
  • 8. Rettyのプロジェクト構成 Production Staging Production RDS Network VPN w/Proxy
 or Staging WiFi Development RDS Dev-noripiDev-kosako Retty Retty Retty-kosako Retty-noripi Network
  • 9. xcconfig による共通化について • setup_xcconfig_project を参照 • xcconfig は Build Configuration 毎 に設定可能 • xcconfig の値は変数として Info.plist や project setting の中で利用可能
  • 10. AppleWatch Extension/App • add_watch_extension タグを参照 • ターゲットとして追加される • ビルド番号とバージョン番号を一致
 させる必要がある • そこでさっきの共通化がいきてくる だが、しかし・・・
  • 11. Development側の対応 • 原因は大きく2つ • BundleIdentifier の接頭辞が一致して いること • 対応する本体アプリと WatchApp の BundleIdentifier の指定が必要 • watch_dynamic_setting タグを参照
  • 12. Developmentをそれぞれで設定する • 複数開発者で Development.xcconfig を編集するもgit の変更に出てウザい • git update-index ̶skip-worktree • Podfile に書いておけば自動で無視設定 も行えて便利! • ignore_dev_xcconfig タグを参照
  • 13. TIPS
  • 14. GoogleMapSDK for iOSでエラー
  • 15. Crashlytics Betaでエラー • Enterprise 用の Provisioning で何故か OTA配布時にエラーが • 原因は対象の Bundle Identifier がまだ Beta に登録されてないこと • 一度対象の Identifier で実行すればOK crashlytics beta Unable to add testers: Project enterprise is inactive
  • 16. • xcconfig はとても便利 • 設定をカスケードすることでより便利 • Enterprise Program だと
 複数 Bundle Identifier の対応は必須 • bundle ファイルの重複に気をつけよう • Pod ってやっぱ便利! まとめ https://github.com/saku/SchemeConfigSample
  • 17. WE RE HIRING Engineers!!

×