Windows 和 Mac mini 再一起了 開發環境建置
OUTLINE• 環境建置前• 開發流程• 建置步驟• Mac • Windows
• 專案編譯• Demo• iOS Icon web• 補充
2016/3/8
環境建置前1. Windows 2. Mac device
(iPhone, iPad, Mini/MBA/MBP/Pro/iMac) 3. 一張信用卡
2016/3/8
開發流程
• VS2015• 要求遠端編譯
Windows
• 編譯專案• 封裝專案
Mac• 經由 iTunes 安裝至
Device
Windows / Mac
2016/3/8
建置步驟• 申請 Apple Developer Account• 產生憑證- search ” Option 1: Use an Apple Developer account”
• Install NodeJS• Install RemoteBuild
2016/3/8
建置步驟• sudo npm install -g remotebuild• remotebuild ,先問是否參加協助改進 — >Y ,• 是否要安裝 HOMEbrew—>Y
2016/3/8
建置步驟
2016/3/8
• TIPS• 每次要編譯專案前,要記得在 mac 端,執行 remotebuild 。• 如果密碼產生時間已經超過 10 分鐘,記得執行 remotebuild certificates
generate 。
建置步驟• Windows• VS2015 plugin Apache Cordova tool• install TortoiseSVN• Clone SourceCode• VS2015 Debug setting
2016/3/8
建置步驟• Clone SourceCode• SVN Server (Windows)
https://140.124.39.133/svn/Health_App/Bluetooth_Test/• 沒帳號,請找阿德學長。
2016/3/8
建置步驟• 工具 ->• 選項 ->• Apache Cordova 工具 -
>• iOS 設定• Host 主機 : IP Address• 安全性 PIN 碼 :
remoteBuild 的六碼• 安裝模式 : true• 啟用遠端 iOS 處理 : true• 連接 port : 3000
2016/3/8
iOS Icon web• https://icons8.com/free-ios-7-icons-in-vector/• http://www.iconbeast.com/free/• http://www.flaticon.com/search?word=ios%207
2016/3/8
補充• 使用Parallels 建置適用於iOS 的Cordova 應用程式 - MSDN
2016/3/8