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

Lightning Talk: Ruby Toolbox For iOS developer

Lightning Talk: Ruby Toolbox For iOS developer

運用Ruby-based的工具加速iOS行動應用開發

Hsien Chun Lin

December 08, 2012
Tweet

Other Decks in Programming

Transcript

  1. Used to try to learn Ruby to build game using

    RPGMaker & RGSS...not went well though. When I was little... http://zh.wikipedia.org/wiki/RGSS
  2. $ git submodule ? Basically OK, yet sometimes it’s like

    some people’s Facebook relationship status: It’s complicated.
  3. Install it $ gem install cocoapods Edit the Podfile to

    add whatever you want to use $ subl Podfile For first time usage $ pod setup Install it $ pod install open the xcodeworkspace $ open thisisatest.xcworkspace
  4. Install it $ gem install cupertino Login to the Apple

    dev center $ ios login After that you can do something like $ ios devices:list To get current device list. Or $ ios devices:add "iPad 2"=def456 "iPad 3"=ghi789 ... To add new devices. Or you can do other things.
  5. Install it $ gem install shenzhen Build ipa for your

    project $ ipa build Ship it! $ ipa distribute or $ ipa distribute:hockeyapp $ ipa distribute:testflight
  6. Notice this: you still need type the API Token and

    the Team Token while you are using shenzhen.