-
Notifications
You must be signed in to change notification settings - Fork 268
iOS-更新后js文件仍然是旧版 #164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
附: |
修改js后不应该archive,应该通过pushy bundle |
@sunnylqm 的确如此,问题解决了,非常感谢。 再请教另外一个问题,测试时,我都是Archive-->Export出adhoc的ipa包,上传pushy的,已经测试ok; 现在我要通过App Store发布了,(用来上传pushy的做比对的)Export出ipa包时选哪一种方式了,App Store?(再用adhoc好像不对了) |
选择对应的用途 |
按照正常的发布流程打包.ipa文件(Xcode中运行设备选真机或Generic iOS Device,然后菜单中选择Product-Archive),然后运行如下命令
|
只是用来做版本比较而已,所以哪种方式无所谓 只要ipa的版本号没问题 |
背景:原生与RN混合的工程(原生为主,RN只涉及2个模块),
参照官网的快速指南操作,测试过程如下:
1.Archive后Export出adhoc的ipa包,通过蒲公英(https://www.pgyer.com/)发布一个基础版本;
2.修改js文件后,再Archive-->Export出adhoc的ipa包,上传到pushy,并发布一个热更新版本;
3.从蒲公英上下载并安装基础版本,提示有更新,下载完成后,无论是 现在重启应用以更新,还是 下次启动时,都有“您的应用版本已是最新”的提示,但 实际上js修改的内容并未更新;
不知哪里出了问题,恳请指点/协助,谢谢。
The text was updated successfully, but these errors were encountered: