简体   繁体   English

使用PhoneGap Build为iPhone(而不是iPad)制作.ipa

[英]Make .ipa for iPhone, not iPad using PhoneGap Build

I'm trying to submit an iPhone-only app to the store. 我正在尝试向商店提交仅iPhone的应用。 I'm building using PhoneGap Build. 我正在使用PhoneGap Build进行构建。

I found this SO question (from 2013): Phonegap targeting only iPhone (not iPad)? 我发现了这样一个问题(从2013年开始): Phonegap仅针对iPhone(而非iPad)吗? saying to use <preference name="target-device" value="handset" /> but it's not working. 说要使用<preference name="target-device" value="handset" />但是它不起作用。 The .ipa file continues to declare support for iPad .ipa文件继续声明支持iPad

It appears to be a known issue: https://github.com/phonegap/build/issues/504 它似乎是一个已知问题: https : //github.com/phonegap/build/issues/504

I'm wondering if anyone else has had to deal with this recently? 我想知道最近是否有人要处理这个问题? And if there are any workarounds. 以及是否有任何解决方法。 Any tricks? 有什么花招吗?

I've started the submission process anyway, but have had the app rejected a couple of times so far for iPad related style/sizing issues. 无论如何,我已经开始了提交过程,但是到目前为止,该应用因iPad相关的样式/大小问题而被拒绝了两次。 I'm going to try and pick through the issues as a back up plan, but I don't need to support iPad so I'd like to just submit a iPhone only version 我将尝试解决这些问题作为备份计划,但是我不需要支持iPad,因此我只想提交iPhone版本

Note: I can't build without PhoneGap build at the moment. 注意:目前无法没有PhoneGap构建。 I need to upgrade my Mac OS to get the newer xcode to compile using Cordova on my machine. 我需要升级Mac OS才能使用计算机上的Cordova编译较新的xcode。 I'm in Vietnam right now, with terrible internet, and can't do it at the moment. 我现在在越南,互联网很糟糕,目前无法做到。

Fixed in GitHub issue 504 https://github.com/phonegap/build/issues/504 已在GitHub问题504中修复:https://github.com/phonegap/build/issues/504

I've tested this and it's good. 我已经测试过了,这很好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM