Ionic Build iOS和Xcode Build不部署最新的Ionic 2 Beta 10版本 [英] Ionic Build iOS and Xcode Build not deploying most Recent Ionic 2 Beta 10 build

查看:192
本文介绍了Ionic Build iOS和Xcode Build不部署最新的Ionic 2 Beta 10版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



1) git pull 在终端中然后运行 ionic build ios



<2>转到xcode并打开项目将我的iphone连接到计算机并按运行/构建到iPhone上



3)显示在iPhone上,但它似乎不是我最近的版本,我不知道为什么



我的git版本是最新版本。当我在xcode中构建应该是最新的,但似乎更老,主要的新元素和功能不存在。



在离子应用程序 - >平台 - > ios - > app.xcodeproj它有两天前的时间和日期,虽然我只是离子建立ios和运行/内置Xcode。



相同的平台 - >建立 - >设备,它似乎没有几分钟前我最近的版本的时间和日期。



不应该app.xcodeproj和设备内部版本显示最新版本的日期/时间吗?

<

解决方案

我想通了:

>

显然,尽管ionic @ beta已经安装在全球各地,但每次我都要 npm安装-g ionic @ beta 来为它构建iOS的最新版本,否则会说构建成功但向我展示旧版本。

由于它已经在全球范围内安装,所以对我来说没有任何意义。我也希望它不会在我的应用程序中不断地在构建之前反复安装它。但是,它的工作原理。


Ionic 2 beta 10 app, this worked fine in Beta 9.

1) git pull in terminal then run ionic build ios

2) Go to xcode and open the project connect my iphone to the computer and press run/build onto iphone

3) Shows up on iphone but it doesn't appear to be my most recent build and I have no idea why

My git version is the most recent. When I build in xcode should be the most recent, but seems to be older, major new elements and features are not there.

In ionic app -> platforms -> ios -> app.xcodeproj it has the time and date of two days ago although I just ionic build ios and run/built in Xcode.

Same in platforms -> build -> devices, it seems to not have the time and date of my most recent build of a few minutes ago.

Shouldn't the app.xcodeproj and the build in devices show the day/time of the latest build?

Been stuck on this for a awhile so any advice would be really helpful.

解决方案

I figured it out:

Apparently, although ionic@beta is installed globally already, everytime I git pull I need to npm install -g ionic@beta for it to build the most recent build for iOS, otherwise will say build success but show me the older version.

It doesn't make sense to me since it was already installed globally. I also hope it won't mess things up in my app constantly installing it over and over before builds? But, it works.

这篇关于Ionic Build iOS和Xcode Build不部署最新的Ionic 2 Beta 10版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆