星空网 > 软件开发 > ASP.net

Xamarin IOS – hello word

  1. 环境

硬件:Macbook pro Retina 13

系统:10.11.3 EI Capitan

Xamarin IOS – hello word

Xcode:7.0

Ps:配置刚刚够用。

  1. 安装包

官网地址:https://developer.xamarin.com

Xamarin studio: https://developer.xamarin.com/releases/studio/xamarin.studio_6.0/xamarin.studio_6.0/

Xamarin IOS – hello word

建议保持更新,先安装mono 4.3.0 后安装 mac package

Github:请自行搜索吧~~

Xamarin IOS – hello word

  1. 注册

关于注册就不多做说明了,我只能说目前为止有2个做破解的还不错,推酷(建议可以尝试破解,确实可以破解成功本人亲测),吾乐吧也有。

但是我只能说破解过程已经让我很无语了,所以本人已经放弃走破解途径了,购买了商业版本(万能的你懂的)。

Xamarin IOS – hello word

登陆后看到如下画面则代表你成功注册了。

破解成功界面如下图:

Xamarin IOS – hello word

  1. Helloword

怀着无比敬畏的心情开始我的第一个hellowrod吧!

[New solution]

和vs一致无二

Xamarin IOS – hello word

Single view app     -》Next

Xamarin IOS – hello word

App Name –》Next

我去掉了ipad。

Target:ios版本很重要一定要配合xcode可以运行的版本进行选择。

漫长的装入以后看到界面

Xamarin IOS – hello word

和vs差别不大我只能说。

重点来了:

点击运行会运行模拟器进行调试。

Xamarin IOS – hello word

我遇到的错误如下

Xamarin IOS – hello word

请进行登陆,注册or破解

注册后如果还不能运行,则参考此路径进行设置:

https://developer.xamarin.com/guides/ios/getting_started/installation/device_provisioning/free-provisioning/

Fix Issue此步骤尤为重要。

Xamarin IOS – hello word

如果失败则会如下错误

Xcode错误:Xamarin IOS – hello word

Xamarin studio错误:Xamarin IOS – hello word

这时候你需要将你的手机通过usb连接至xcodeXamarin IOS – hello word
重新点击Fix Issue。成功后会如下图所示。

Xamarin IOS – hello word

这时候重新点击运行。结果是我还是报错了~~

Xamarin IOS – hello word

这就是刚才说过的target版本错误

通过修改info.plist 【deployment target】进行解决

Xamarin IOS – hello word

至此运行没有问题了你会看到

Xamarin IOS – hello word

模拟器正常运行,同时你的程序部署成功弹出 helloword项目~。恭喜你,最困难的阶段度过了。




原标题:Xamarin IOS – hello word

关键词:IOS

IOS
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

东营综试区:https://www.goluckyvip.com/tag/30668.html
东正教圣诞节:https://www.goluckyvip.com/tag/30669.html
卖家集体断货:https://www.goluckyvip.com/tag/3067.html
冬奥会:https://www.goluckyvip.com/tag/30670.html
冬海集团:https://www.goluckyvip.com/tag/30671.html
冬季大促:https://www.goluckyvip.com/tag/30672.html
独家丨B站广告位可跳转美团APP B站为电商平台引流再升级 :https://www.kjdsnews.com/a/1836410.html
百崖大峡谷生态旅游景区(探秘中国西南自然风光):https://www.vstour.cn/a/363176.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流