iT邦幫忙

2017 iT 邦幫忙鐵人賽
DAY 9
4
Cloud

Xamarin.Forms, ASP.NET Core WEB API搭配AZURE服務與資料庫服務整合應用實例系列 第 9

Day09 - IOS實機部署測試 Part 2

接續上篇, 要先用Xcode做測試, 若Xcode無法實機部署, 那一切就GG了, 先在Xcode選單裡點擊Preference, 如紅框所示
http://ithelp.ithome.com.tw/upload/images/20161210/20103333GgBCR4X0Ds.png

接著輸入Apple開發者帳密
http://ithelp.ithome.com.tw/upload/images/20161210/20103333r21EcaKeKs.png

點選View Details如紅框所示http://ithelp.ithome.com.tw/upload/images/20161210/20103333Os7wx0eboO.png

接著點選Download
http://ithelp.ithome.com.tw/upload/images/20161210/20103333AM4EzwJSbd.png

接著回到Xcode專案裡, 啟用開發者模式
http://ithelp.ithome.com.tw/upload/images/20161210/20103333hG7sIDC8ha.png

然後就可以看見實體IPHONE出現部署清單了, Bundle Identifier輸入之前設定的App ID, 因為實體IPHONE是IOS 8.1所以Deployment Target要選擇8.1, 接著就按下部署按鈕, 如下圖紅框所示
http://ithelp.ithome.com.tw/upload/images/20161210/20103333mrDbwaBzrN.png

接著跳出codesign視窗, 點選Always Allow
http://ithelp.ithome.com.tw/upload/images/20161210/20103333cM3Y4jG9jW.png

接著在IPHONE上, 就可以看到測試的App被成功的部署
http://ithelp.ithome.com.tw/upload/images/20161210/20103333fiBEde2Ryq.png

回到Visual Studio, 也可以看到實體IPHONE出現部署清單裡
http://ithelp.ithome.com.tw/upload/images/20161210/201033333SsyZq4dg0.png

接著設定IOS的專案屬性, 在iOS Application裡輸入底下資訊如紅框所示, 基本上就是跟在Xcode裡設定一樣
http://ithelp.ithome.com.tw/upload/images/20161210/20103333vDaMktlamO.png

接著iOS Bundle Signing設定如下圖
http://ithelp.ithome.com.tw/upload/images/20161210/20103333Ni7Vf7akj7.png

接著在IPHONE上, 就可以看到被成功部署的畫面
http://ithelp.ithome.com.tw/upload/images/20161210/20103333UYdjLJqw1Q.png

後記: 開發環境設定終於破關了, 死了不知道多少腦細胞~


上一篇
Day08 - IOS實機部署測試 Part 1
下一篇
Day10 – What is Xamarin.Forms?
系列文
Xamarin.Forms, ASP.NET Core WEB API搭配AZURE服務與資料庫服務整合應用實例32
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

2 則留言

0
虎虎
iT邦研究生 5 級 ‧ 2016-12-24 03:24:31

Google的帳號居然允許三個字元欸,好強!!!! //劃錯重點
真心覺得厲害…
我之前一直Build不起來就直接收棄了說…QAQ"
看到大大的文想說到時候環境再重新設定一下,會想再重新安裝看看 XD
//不過好久沒寫,開發者帳號好像該繳年費了 XDDDD

arksu iT邦新手 2 級 ‧ 2016-12-24 10:59:34 檢舉

感謝支持, 就怕有人看錯重點, 把email屏蔽了, IT之路貴在堅持啊/images/emoticon/emoticon10.gif

虎虎 iT邦研究生 5 級 ‧ 2016-12-24 11:28:54 檢舉

說的就是我呀哭哭 XDDDDDDD

0
海綿寶寶
iT邦大神 1 級 ‧ 2016-12-24 09:29:21

開發環境設定終於破關了, 死了不知道多少腦細胞

iOS 環境的好處是
等你搞定了iOS之後
再去做Android
會覺得世界真美好
/images/emoticon/emoticon54.gif

arksu iT邦新手 2 級 ‧ 2016-12-24 11:03:28 檢舉

海大一針見血, 其實啊我覺得Windows Phone是最簡單的, 可惜它一直沒做起來/images/emoticon/emoticon20.gif

我要留言

立即登入留言