Hello,
My app update to App Store is rejected with a note that the application start and stuck with a white blank screen.
I did the test in physical iPhone4 (iOS 7.1.2), it is running correctly but I got the same error when I have tried with the simulators. The simulators have iOS 8.1, 9.1 and 9.2
I have just see the following errors in console during runtime with simulator,
But they do not give me any clue regarding the problem.
2015-12-20 00:58:38.601 petek iOS[20167:1200442] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found. Did find:
/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
2015-12-20 00:58:38.601 petek iOS[20167:1200442] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x7fc998e9ebd0 (bundle, not loaded)
[gideros] starting render thread.
[gideros] ending render thread.
[gideros] starting render thread.
2015-12-20 00:58:39.639 petek iOS[20167:1200442] -canOpenURL: failed for URL: "itms-books://" - error: "This app is not allowed to query for scheme itms-books"
2015-12-20 00:58:39.640 petek iOS[20167:1200442] -canOpenURL: failed for URL: "kindle://home" - error: "This app is not allowed to query for scheme kindle"
2015-12-20 00:58:39.686 petek iOS[20167:1200442] -canOpenURL: failed for URL: "itms-books://" - error: "This app is not allowed to query for scheme itms-books"
2015-12-20 00:58:39.687 petek iOS[20167:1200442] -canOpenURL: failed for URL: "kindle://home" - error: "This app is not allowed to query for scheme kindle"
Comments
unfortunately this does not give us much, because it seems to be a known Apple bug on simulators:
http://stackoverflow.com/a/33970257
Do you have any crash reports from apple during their app runs?
Also do you try to open all those URIs?
What Gideros version do you use?
What plugins do you use?
Unfortunately a crash report does not exists since the application does not crash, it seems running but it only displays a white blank screen.
I use Ads plugin (admob), And Ads are displayed at the bottom of the white screen correctly,
the openUrl() errors are disappeared after updating admob SDK.
I have tried the app on an iOS 9.1 installed physical device and it indeed shows only a white blank screen.
By the way the IOHIDLibFactory error is not exists when running on physical device (This is only simulator relevant error)
I am using 10.2015 version of Gideros
So currently, there is no clue about the error on the console but it is still exists.
In summary:
The app run correctly on physical device with iOS 7.1 installed physical device,
The app show a white screen on iOS 9.1 (both simulator and physical device)
No clue at console output.
Is there a way to debug this issue?
https://itunes.apple.com/en/developer/unal-zubari/id953453674
Likes: uzubari
it turned out that a dialog which is issued at the very beginning of the game is not displayed (could not find the reason) and since the program waits the input from that dialog to continue it has been blocked.
https://itunes.apple.com/en/developer/unal-zubari/id953453674
I have performed some test and I have found that,
textInputDialog:show() behaves differently on the player and on real device(and simulator).
It works as expected on the player but the dialog will not be shown on real device or simulator at first several calls.
The test done by Bird Animation example.
(iOS 8.1+, Xcode 7.2, gideros 10.2015)
https://itunes.apple.com/en/developer/unal-zubari/id953453674
https://itunes.apple.com/en/developer/unal-zubari/id953453674
https://github.com/gideros/gideros/commit/a9e24cc71de1500a23f61224aae72524060930bd
As a part of this PR:
https://github.com/gideros/gideros/pull/157
"Rewritten UIAlertView by using the new UIAlertController since UIAlertView is deprecated on iOS8 and it it nos available on iOS9 and appletvos SDK."
And it was released in Gideros 2015.10
Can anyone confirm if dialogs work properly in Gideros versions prior to 2015.10?