Cannot install iOS Debug build on real iOS device

26 views
Skip to first unread message

P5music

unread,
Apr 18, 2021, 10:15:07 AM4/18/21
to CodenameOne Discussions
I sent a successful iOS Debug build
but installation on real iOS device is not successfull as well.
iPad 2 (2011)
Model MC769TY/A
iOS Version 9.3.5
is this device supported?
It happens both with link or .ipa file.
In the attached images you can see the error:
"Impossible to download the app
At present time it is impossible to download the app"
It is translated, so I do not know what the error is like in english language.
The provisioning certificate includes the ID of the device.
Thanks

image2.PNG
image1.PNG
Message has been deleted

Shai Almog

unread,
Apr 18, 2021, 9:49:02 PM4/18/21
to CodenameOne Discussions
You need to explicitly set 32 bit mode for this device to work using ios.debug.archs=armv7
The device UDID needs to be in your provisioning profile for this to work as well.
It might still not work since the newer version of xcode we have on the server might block older devices. This is outside of our hands.
Message has been deleted

P5music

unread,
Apr 19, 2021, 2:10:35 AM4/19/21
to CodenameOne Discussions

I see on this page
that
"The Xcode 12 release supports on-device debugging for iOS 9 and later"
Maybe it is true for the version of XCode you have on the server too.

1) if I set  ios.debug.archs=armv7 will it include the 32 bit version or it will compile only 32 bit version?
2) ok
3) I watched this video
and it seems that it is possible to a certain amount to override the minimum targeted version in new XCode. Is that true for you too?
4) Are those old devices also prevented from downloading my app from the AppStore?
Regards

Shai Almog

unread,
Apr 19, 2021, 9:34:05 PM4/19/21
to CodenameOne Discussions
1. Just 32 bit
3. I think our default includes 9.x. You can override it via build hint but it probably isn't necessary
4. Not sure.
Reply all
Reply to author
Forward
0 new messages