iOS 下安装 titanium . ( install titanium dependencies on bare mac)
访问量: 2624
refer to: and: http://siwei.me/blog/posts/setup-titanium-command-line-interface
1. 安装 npm , 使用nvm来安装.
2. $ npm install -g titanium tishadow grunt-cli grunt
3. $ ti login , 然后安装 $ ti sdk install ,就会安装最新的sdk.
4. $ ti setup
然后 设置登陆用户(需要事先到 appcelerate 注册)
对于IOS开发
──────────────────┤ Check Environment ├─────────────────── Node.js ★ node new version v0.12.2 available! (currently v0.10.37) ★ npm new version v2.8.4 available! (currently v1.4.28) Titanium CLI ✓ cli bleeding edge (v3.4.2) Titanium CLI Dependencies ✓ async up-to-date (v0.2.10) ✓ colors up-to-date (v0.6.2) ✓ fields up-to-date (v0.1.23) ✓ humanize up-to-date (v0.0.9) ✓ jade up-to-date (v0.35.0) ✓ longjohn up-to-date (v0.2.4) ✓ moment up-to-date (v2.4.0) ✓ node-appc up-to-date (v0.2.25) ✓ optimist up-to-date (v0.6.1) ✓ request up-to-date (v2.27.0) ✓ semver up-to-date (v2.2.1) ✓ sprintf up-to-date (v0.1.5) ✓ temp up-to-date (v0.6.0) ✓ winston up-to-date (v0.6.2) ✓ wrench up-to-date (v1.5.8) Titanium SDK ✕ latest sdk no Titanium SDKs found ✕ selected sdk no Titanium SDKs found Mac OS X Environment ✓ CLI Tools installed iOS Environment ✓ Xcode installed (6.0, 6.0.1) ✓ iOS SDK installed (8.0) ✓ WWDR cert installed ! developer cert not found ! distribution cert not found ! dev provisioning not found ! dist provisioning not found Android Environment ! sdk Android SDK not found ! targets no targets found ! avds no avds found ! ndk Android NDK not found Java Development Kit ✕ jdk JDK not found!
然后,需要你去申请各种证书。。。
参考:http://siwei.me/blog/posts/ios-2-ios-certificate-provisionining,
http://siwei.me/blog/posts/ios-3-team-provisioning
and : http://siwei.me/blog/posts/ios-4-app-certificate
对于安卓开发
参考之前的文章。。