I'm trying to submit an iPhone-only app to the store. I'm building using PhoneGap Build.
I found this SO question (from 2013): Phonegap targeting only iPhone (not iPad)? saying to use <preference name="target-device" value="handset" /> but it's not working. The .ipa file continues to declare support for iPad
It appears to be a known issue: 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. 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
Note: I can't build without PhoneGap build at the moment. I need to upgrade my Mac OS to get the newer xcode to compile using Cordova on my machine. 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
I've tested this and it's good.
Related
This is a high-level question so some general guidance will be helpful here.
I am developing an app using react native and firebase. I have a web version, and am developing a react native app and testing it using iOS simulator.
From yesterday, iOS simulator won't show any image for my app, while the images all show up properly on my web/mobile web versions.
Any potential reasons why this might be happening? New to app development and am very confused, especially because until yesterday all the images were loaded on iOS simulator as well without any problem.
Any idea? Thanks!
is the simulator iOS 14 and your RN version is below 63? if yes this is a known issue you can use a patch package in RN issues in GitHub that fixes this or use react-native-fast-image. I personally use fastImage because it has a lot of benefits.
When submitting an app to the app store I get the following error from Apple:
The app previews and screenshots for the iPhone 5.8-Inch display won’t appear on the App Store because your binary wasn’t built with the iOS 11 SDK.
It's a normal app compiled with PhoneGap Build. Anyone know why this is happening? Is it because PhoneGap Build does not use iOS 11?
PhoneGap Build does support iOS 11 (I just had an app approved a week ago). I'm not sure exactly what would cause this, but here's a few things to check that I recently updated to:
Use the latest version of PG Build, which will support iOS 11 (my best guess for the cause of your issue):
< preference name="phonegap-version" value="cli-7.0.1" />
If that doesn't fix it, switch over to the CLI project structure format.
I'm trying to create a Cordova app for learning purposes to deploy to my iPhone 5 for personal testing.
For the life of me however I can't seem to understand what I have to do. I have Xcode installed as all the tutorials have mentioned. How do I create a provisioning profile (with a free developer account)? How do I sign my device?
Nothing I've found online seems to explain in clearly, or for beginners such as myself.
Also, is there a way to create all of this but not use Xcode as my IDE for developing my app?
You don't need to use XCode to develop your Cordova app, as the app is just CSS, JavaScript, and HTML. I like to use WebStorm, but you can use whatever suits you. However, in order to deploy your app to a device, you do need XCode. Here's a link to an answer for a similar question. This is in regards to XCode 7 and I'm not sure what version you have, or if this still holds for XCode 8.
You only deploy after you do a build for iOS with Cordova, by running $ cordova build. Here is a link to Cordova's docs.
I recently developed a phonegap HTML5 app and it is working fine on my iPad 2's and android devices. When I install the app onto my iPad 1's the app installs, the icon disappears, then after rebooting the icon is back and looks as if it is installed.
I can launch the app, and the splash screen is displayed, then the app just closes.
Here are my deployment settings - I'm quite new to this, so if there are any relevant settings you need to know about, let me know and I'll update my post.
Phonegap version: 3.6.0-0.21.19
iPad 1 running iOS 5.1.1
I create project and build via phonegap commandline, but package with xcode then use diawi to distribute to my iPads.
Cordova, which Phonegap is based on dropped iOS 5 support with version 3.5.0
You can read the blog post here: http://cordova.apache.org/announcements/2014/05/23/cordova-350.html
So it's likely that the code is reaching some iOS 6 commands and then crashing. I'm afraid, you'll either have to revert to an older version of Phonegap or buy a newer test device.
I would not recommend rolling back to an older version of Phonegap because, from February, Apple will require all apps submitted to include 64-bit support (See here: https://developer.apple.com/news/?id=10202014a), I believe this something that Cordova 3.5.0 introduced.
As for the disappearing/reappearing of the App icon. I used to see that if the bundle identifier given in the .plist file associated with the download was different to the one in the actual app info.plist. I've not used diawi though, so I can't help you beyond that I'm afraid.
I had trouble with installing -deployed adhoc- development app before upgrading to iOS 7.1 and XCode 5.1
XCode 5.0 wasn't recognizing iPhones with iOS 7.1.
We upgraded and everything seems fine until we deployed as adhoc distribution.
I followed solution at Enterprise app deployment doesnt work on ios 7.1 and it greatly worked for installing the app in iphones with ios 7.1
But, now iphones with ios 7.0x can't install the app.
Results that some of our boss' bosses hadn't upgraded and don't want to, and desires backwards compatibility.
The app starts downloading but stops in the middle, the icon is completely grayed out and the app doesn't open.
Looking for alternatives, we are trying to acquire another macbook with previous system but it had been very hard to obtain our current resources.
We started implementing in the html page a script for recognizing the device, using user-agent variable, we plan to use this script to choose different plist files for iOS version 7.1 or previous. We expect it works as soon as we obtain the ipa in the newer macbook, as soon as we get it...
I wish for an easier solution that allows compatibility with newer versions and let us avoid project 'branch'ification.
Thanks a lot!