iOS/Android ã¢ããªãç°¡åãã¤è¤æ°ã®ç«¯æ«ã«ã¤ã³ã¹ãã¼ã«ã§ãã Mac ã¢ããªãTransporterPad ããªãªã¼ã¹ãã¾ããã
iOS/Android ã¢ããªã®å®æ©è»¢éã¯å ¬å¼ã® TestFlight ãªã©ããDeployGate ã¨ãã£ã OTA é ä¿¡ã®ä»çµã¿ã使ããããã¨ãå¤ããªã£ã¦ãã¾ãããããããã®ãããªç°å¢ãæ§ç¯ã§ããªãå ´åãããã¾ãããã®ã¨ã㯠USB ãã¤ãªãã§ã®è»¢éããããã¨ã«ãªãã¾ããããã®æ¹æ³ã ã¨ã¨ã³ã¸ãã¢ä»¥å¤ã«ã¯ãã¼ãã«ãé«ãããã¶ã¤ãã¼ãããã¼ã¸ã£ã¼ãæ°ãããã«ãã試ãã¥ããç°å¢ã ã¨æãã¾ãã
ã¾ãããã¹ã¿ã¼ãè¤æ°ã®å®æ©ã横ã«ä¸¦ã¹ã¦ãã¹ãããéããã®ã¤ã³ã¹ãã¼ã«ã¯å¤§å¤ãªæéã¨ãªã£ã¦ãã¾ãã¾ãã
TransporterPad ã¯ããããªéã¨ã³ã¸ãã¢ã® USB çµç±ã¢ããªã¤ã³ã¹ãã¼ã«ãå¼·åã«ãµãã¼ããã¾ãã
使ãæ¹
使ãæ¹ã¯ã¨ã£ã¦ãç°¡åãXcodeãAndroid Studioã®ã¤ã³ã¹ãã¼ã«ãä¸è¦ã§ãã
- USB ã§ç«¯æ«ãã¤ãªãã
- iOS ã®å ´å㯠iTunes ãèµ·åãã¦ç«¯æ«å´ããæ¥ç¶è¨±å¯ãAndroid ã®å ´å㯠USB ãããã°ã ON ã«ãã¦ããã¾ãã
- IPA ãã¡ã¤ã« / APK ãã¡ã¤ã«ã TransporterPad ã®ã¦ã£ã³ãã¦ã«ãããããã
- èªè¨¼ãããã£ã¦ããªã URL ã§ããã°ããã©ã¦ã¶ãããªã³ã¯ãç´æ¥ãããããããã¨ãã§ãã¾ãã
Beam UP!
ãã¿ã³ãã¯ãªãã¯ãã
ããã ãã§ãMac ã«ã¤ãªãã£ã¦ãã端æ«ãã¹ã¦ã«ã¢ããªãã¤ã³ã¹ãã¼ã«ããã¾ããUSB ãã㨠USB ã±ã¼ãã«ãããããç¨æããå¿ è¦ãããããããã¾ããããããããããã°è¤æ°å°ã®ã¤ã³ã¹ãã¼ã«ãã¯ã³ã¯ãªãã¯ã§åæã«ãã£ã¦ããã¾ãã
ã©ã¤ã»ã³ã¹
ã¯ãã㦠GPL ãé©ç¨ãã¾ãããã½ã¼ã¹ã³ã¼ã㯠GitHub ã§å ¬éãã¦ãã¾ããPull Request ãªã©ãè±èªã ãããæ¥æ¬èªã ããã大æè¿ã§ãã
ãªã GPL ãªã®ãã¨ããã¨ãå å ãã¦ããå®æ©è»¢éãã¼ã« ios-deploy ã®ãã¤ããªãã®ãã®ãããã¦ããããããã ãã¦ãã Apple ã®ãã©ã¤ãã¼ããã¬ã¼ã ã¯ã¼ã¯ã®ããããã¡ã¤ã«ã GPL ã ãããã¨ãããã¨ã«ãªãã¾ãã*1
ããã¿
- iOS 㯠Unity ã§ä½¿ããã¦ãã ios-deployãAndroid 㯠adb ãã¢ããªã®ä¸ã«å
èµããã¦ãã¦ããããã®ããã³ãã¨ã³ãã¨ãã¦åä½ãã¦ãã¾ãã
- ios-deploy 㯠transporter_chief.rb ã§ä½¿ããã¦ãã fruitstrap ã® Unity ãã©ã¼ã¯ã§ãã
- 端æ«ã®æ¤åºã¯ IOKit ã使ã£ã¦ãã¾ãã詳ããã話ã¯macOS 㧠USBããã¤ã¹ã®æãå·®ããæ¤åºããã§æ¸ããã¨ããã§ãã
- iOS 端æ«ã®å称åå¾ã¯ Apple ã®ãã©ã¤ãã¼ããã¬ã¼ã ã¯ã¼ã¯ MobileDevice.framework ã使ã£ã¦åã£ã¦ãã¾ãããã®é¨å㯠ios-deploy ãæã£ã¦ããããããã¡ã¤ã«ã使ã£ã¦ã¡ã½ãããåç §ãã¦ãã¾ãã
- ããã±ã¼ã¸åã®åå¾ã¯ãiOS㯠Info.plist ããç´æ¥åãã¾ãããAndroid 㯠zipalign ã®ãããã®ã¾ã¾èªããªãããããã³ã¼ããã¦ãã¾ãã
æè¬ã®è¨è
- ãã®ãã¼ã«ã®å ã ã®çæ³ã¯ How to deploy iOS apps to the iPhone via the command line ã¨ãããã¼ã¸ã«æ²è¼ããã¦ãã transporter_chief.rb ãããã¦ãã¦ã社å ã§ä½ã£ã¦ãããã¼ã¸ã§ã³ã¯ãã®ã¹ã¯ãªããã大ããæ¹é ãããã®ãå å ãã¦ãã¾ããã Thanks a lot for Holger!
- ãã¶ã¤ã³å ¨è¬ãå¿«ãå¼ãåãã¦ãããååã®ãã¶ã¤ãã¼ ã¯ããã ããã«æè¬ãã¾ããæåã¯ã¢ã¤ã³ã³ã ãã ã£ãã¯ãããç»é¢ããè¦ãããã¨ãããã¶ã¤ã³ã¹ããã¯ã¾ã§ãããã ãã¾ãã¦ãã¡ããã¨ãã macOS ã¢ããªãä½ã£ããªã¨ããæ°æã¡ã«ãªãã¾ããã
ãã®ä»ã®ææ³
èªèº«åã® Mac ã¢ããªããã㦠6 å¹´ã¶ãã®æ°ä½ã¨ãªãã¾ãã
å ã ãã®ãã¼ã«ã¯ç¤¾å ã§ãã¶ã¤ãã¼ããããã¶ã¤ã³ãã¹ãããéã« Jenkins ãããã¤ããªæ¾ã£ã¦ãã¦ã¤ã³ã¹ãã¼ã«ã§ãããããMonoMac ã§ä½ã£ã¦ãããã®ã§ãããå½æã¯1åãã¨ã«è»¢éãã¿ã³ãæ¼ããªãã¨ãããªãã£ãã®ã§ãããQA ããã大éã«ç«¯æ«æ±ãã¦ãã¹ã¯ã«åãã£ã¦ããã¨ãããè¦ã¦ããã¤ãä¸æ¬è»¢éã§ãããã®ãããããä¸è¬ã«å ¬éãããã¨æã£ã¦ãã¾ããã
å ã 㯠MonoMac ã§æ¸ããã¦ãããã¼ã«ã§ãã®ã§ãXamarin.Mac ã§ãããã¨ãæ¤è¨ãã¾ããããSwift3 ããã£ãã使ã£ã¦ã¿ããã¨ããæ°æã¡ã®æ¹ããã¡ã¾ãããã©ã¡ã¿ã¡ãIOKit ã使ã£ã¦ããæç¹ã§ Xamarin.Mac ã¯è¨ã®éã ã¨ããã®ã¯ä»¥åå¹³éãããã話ãããã¦ããã®ã§ãè¯ãé¸æã ã£ãã¨æã£ã¦ãã¾ãã
Swift ã§ã C ã£ã½ãã¨ããã¯ã¤ããã£ãã®ã§ãObjective-C ã§æ¸ããã¨ã«ããã®ã§ããããã¯ã©ã¤ãã©ãªã«ãã¦ãã¢ããªå´ããã¯ãããåç §ãããã¨ã§ãã¢ããªæ¬ä½ã®ã³ã¼ã㯠Swift ã®ã¿ã«ãªãããã«ãã¾ããã
Storyboard ã使ããããã«ãªã£ã¦ãããããã§ãiOS ã¨å ¨ãåãããã«éçºãããã¨ãã§ãããªã¨æã£ã¦ãã¾ããããé£ãããã¨ãããªããã°ãæ¢åã® iOS éçºã®ç¥èã§ç°¡åã« Mac ã¢ããªãä½ããã¨ããæè¦ããããããªã楽ããéçºã§ãããããããCocoa Binding ã¯ãªããã¾ã§è¾ãã£ãâ¦
ã¾ããä»å¾ã Mac ã¢ããªã¯åãçµãã§ããããã¨ãããã¾ãã