Simulator won't start with iphone X skin - codenameone

I run the chart demo of codename one in the simulator with netbean 12.6 on windows 10.
It shows error messages.
Retina Scale: 1.0
Failed loading the skin file: /iPhoneX.skin
java.lang.NullPointerException
at com.codename1.impl.javase.JavaSEPort.initializeCoordinates(JavaSEPort.java:2374)
at com.codename1.impl.javase.JavaSEPort.loadSkinFile(JavaSEPort.java:2595)
at com.codename1.impl.javase.JavaSEPort.loadSkinFile(JavaSEPort.java:4574)
at com.codename1.impl.javase.JavaSEPort.init(JavaSEPort.java:4786)
at com.codename1.impl.CodenameOneImplementation.initImpl(CodenameOneImplementation.java:17
The simulator won't start. I have tried to uninstall Netbeans, codename one plug-in. But it didn't work.
Thanks.

We released a fix for this yesterday and located the issue. It was caused due to a problem in the CI scripts that pushed out a bad update of the jar. We didn't notice it in manual testing since we had a downloaded skin selected on that machine.
Steve has added some tests to the CI to address this.

Related

White Screen - App content failed to load after launch released iOS app

I installed my application play store seamlessly. However, when I tried to install the App Store, the application was rejected and I received the following message.
Guideline 2.1 - Performance - App Completeness
We discovered one or more bugs in your app when reviewed on iPad running iOS 12.3.1 on Wi-Fi.
When we launched the app, app displayed a splash screen and no further action occurred in the app during the review.
Next Steps
To resolve this issue, please run your app on a device to identify any issues, then revise and resubmit your app for review.
If we misunderstood the intended behavior of your app, please reply to this message in Resolution Center to provide information on how these features were intended to work.
For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce the issue. For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue.
Resources
For information about testing your app and preparing it for review, please see Technical Note TN2431: App Testing Guide.
For a networking overview, please review About Networking.
Please see attached screenshots for details.
When I write flutter doctor there is no problem.
I tried the application on the real device again no problem.
But the app store made such a turn. Does anyone know the reason or are having the same problem?
i faced same problem with android version of flutter app, when testers install app from google play, the white screen appear, but when test direct apk on device the app not installed appear.
That problem happen after i update android sdk tool to version 30
after long search, i solved the problem with step:
in dependences in android\build.gradle downgrade gradle from 4.0.0 to 3.5.0 as the default value new flutter app determined
in app\build.gradle downgrade compileSdkVersion to 29 and so targetSdkVersion to 29 too
run the flutter clean command
Resolved
https://www.flutterforum.org/d/97-white-screen-app-content-failed-to-load-after-launch-released-ios-app
Thank you!
It took me three days. But solved ...
Make sure you followed the developer guidelines carefully here at this link:
https://flutter.dev/docs/deployment/ios#create-a-build-archive
Steps to generate ipa:
Execute the following command flutter build ios --release
To ensure that Xcode refreshes the release mode configuration, close and re-open your Xcode workspace. For Xcode 8.3 and later, this step is not required. Finally Select Product > Archive to produce a build archive.
Hope this helps :)

Codename one generated.ipa not installed on iPhone devices

After successfully generated .ipa and trying to install in selected UDID devices, it's not being installed
It throws the error -- Unable to Download App "appname" could not be installed at this time.
We are trying install on iPhone 5s devices.
Your issue may be related to this ios-debug-build-install-fails.
In addition to above, ensure that:
You are installing the app through itms:services by clicking Install on device on your iPhone 5s and click install on the new page.
you are installing the debug build and not the store build.
the UDID is accurate, copy N paste it instead of typing.
you are not behind any firewall that prevents downloading and your internet connection is good.
Edit:
Most developers experienced this due to testing on 32bit devices. Don't forget this blog.
If you are using any device older than iPhone 6, add the build hint ios.debug.archs=armv7.

App can neither be installed on android nor IOS

First I send an IOS build to the buildserver (I configured correctly). The result was:
I can install the App on an IPhone 4, but not on an IPhone 6 or an IPad 4 (All three devices are registered) (no build server error, it loads the app and then tells "could not be installed")
After that I send an Android build. I tried to download it to my Samsung Galaxy s3 mini, but it failed again. Similar exception: "App was not installed" with no further explanation.
What am I doing wrong?
NOTE:
- The IXXX devices were registered correctly in the IOS profile
- There are no exceptions on the build server
- The app runs without any problems in the simulator
There are many reasons for things like that and unfortunately neither Google nor Apple nor MS provide any form of decent error messages...
9 times out of 10 this is caused because you already have an app with the same package name and a different certificate already installed. Unfortunately there is no easy way to find that other app.
In some cases this is caused on iOS because people take UDID from an app instead of using itunes. Apps don't give you the right UDID.

Splashscreen wrong since XCode 7

I took over a project using AngularJS, Ionic and Bootstrap to create hybrid apps for mobile devices.
Prior to upgrade to XCode 7 all went well. I updated my HTML-, CSS- and JS-code in editor, ran grunt run:ios to create platform code and opened XCode. From there I built the .ipa-file without any issues (justwith some warnings, which could be ignored).
However since using XCode 7 (needed for iOS 8- and iOS 9-devices), the splascreen will be shown incorrectly. Meaning: Rotated with 90°.
Note #1: The splashscreen and the app have to be Landscape-only.
Note #2: When running grunt run:android, all is well on the Android-based device.
Any idea what to do in order to get the old correct state again?
There is a known bug in the cordova-plugin-splashscreen plugin relating to your issue ( Issue CB-10244 ). Try to update this plugin to cordova-plugin-splashscreen#3.1.0 by re-adding it:
cordova plugin rm cordova-plugin-splashscreen
cordova plugin add cordova-plugin-splashscreen

how to run sencha touch examples in iOS simulator

I installed sencha touch and sencha touch command and was able to view the examples in localhost.
But How do I run these examples in iOS simulator?
I tried below commands from with in the examples directory on iMac
from directory: touch-2.3.1/examples/kitchensink
sencha app package run packager.json
User-iMac:list-horizontal yuyutsu$ sencha app package run packager.json
Sencha Cmd v4.0.4.84
[ERR]
[DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "The application that opened iOS Simulator failed to send all of the required information (sessionUUID, sdkRoot, deviceInfo)." UserInfo=0x7fe4f0d0ce40 {NSLocalizedDescription=The application that opened iOS Simulator failed to send all of the required information (sessionUUID, sdkRoot, deviceInfo)., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}
The application was successfully packaged
[ERR] stbuild exited with non-zero code : 1
or from another app, directory: touch-2.3.1/examples/list-horizontal
Also tried running sencha app build -run native.
It failed with
/Users/yuyutsu/work/Software/mobile/Sencha/touch-2.3.1/examples/kitchensink/.sencha/app/packager-impl.xml:83: /Users/yuyutsu/work/Software/mobile/Sencha/touch-2.3.1/examples/kitchensink/resources/loading does not exist
I have Xcode 5. OS X version 10.9.2. I am able to run the native XCode projects in simulator using XCode.
Any idea on how can I run the sencha examples in iOS simulator? Is there a document which has the steps?
One very easy way (if you don't need device api) is to build the webapp through Sencha CMD and navigate in iOS Simulators Safari to the index.html file. You can do "add to Homescreen" and if you click the icon on your homescreen now you get the app in fullscreen.
The big advantage is that you can do really quick builds, but it does not fit always, because it's just the webapp, not the native one.
If you need to package your app native (e.g. for Device API) you can follow this guide: http://frightanic.com/software-development/sencha-touch-native-packaging-for-ios-done-right/
As it is running on localhost, you can simply check on simulators by using the same urls as on browser
iPhone 4
iPhone 5
Also, you can try Intel XDK, it has inbuilt iPhone simultors. It is easy to use. Simply put application and run.
Intel XDK
Or you can try packaging it in native iOS so that you can run in Xcode and see on Xcode simulator your app working. For that you can use Phonegap, refer link
http://docs-origin.sencha.com/touch/2.3.2/#!/guide/cordova-section-iOSNote
Also,
http://docs.sencha.com/touch/2.3.2/#!/guide/native_provisioning
Hope this helps you with your problem.
Failure to launch iOS simulator could be because of the below bug mentioned in sencha forum
"There is currently a bug open SDKTOOLS-783 where Sencha Native packager fails to locate Xcode 5.1 and thus unable to run in simulator."
I will try Phonegap/Cordova and post my observations.

Resources