Codename one generated.ipa not installed on iPhone devices - codenameone

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.

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 :)

React Native Expo Timout Error

I'm currently trying to learn react native. I created a project using create-react-native-app. After the project is created, I started npm start on the folder which shows the QR code. I've installed the expo app on my android phone and scanned the code but I'm getting a Uncaught Error: Timed out, no manifest in cache on my expo app and there is no stack trace given.
I've made it work a while ago but somehow its currently not working.
Im using windows 10.
npm 5.6
yarn 1.5.1
What I've done to fix it using Ubuntu was (I created my app using create-react-native-app):
open terminal
execute ifconfig
find network interface (wlp4s0, in my case)
execute export REACT_NATIVE_PACKAGER_HOSTNAME="IP_FOUND_BEFORE"
yarn start
SUCCESS! Finished building JavaScript bundle in 10069ms
Expo only supports the most recent 6 versions, this is because we have to have all the native code for each version on the client and that gets big fast 🙃💣. As of writing this v26 is almost out, that version of the expo client will not support v19 projects. Please make sure that your app is up-to-date by going to the app.json (or exp.json depending on how old your project is 😅) and checking the version number.
Outside of that, I would also recommend you start your project by calling exp start in the root folder of your project 💙
The problem that causes this is having multiple network connections. In my case, I have a virtual network connection which is used by the packager instead of the wifi connection. So basically what's happening is that my phone and my computer uses different connections. I've found a solution here: https://github.com/react-community/create-react-native-app/issues/598

Codename One: Can't install iOs App anymore

I made some fixes for my App and wanted to try it out today on my iPhone and now I can't install it on the device anymore. I'm getting the error "Unable to Download App" on the phone.
I haven't changed anything on my Apple Developer Account and yesterday everything was working fine. Is this a known bug and does anybody know how to fix this? My iPhone is of course registered and I also did the "iOS Certificate Wizard" and built it again but it didn't work either.
Edit: So I was able to install the app after doing the complete Certificate Wizard again with also overwriting everything (which I had not done before), but now I made another build and I can't install it again! Do I really have to do the Wizard thing every time I send a build now?
Are you trying to install a distribution build on top of a development build, or vice-versa? If so, uninstall the existing app first.

Codenameone Bluetooth APIs not working on android

I have downloaded BluetoothDemo from https://github.com/chen-fishbein/bluetoothle-codenameone. I created APK file using codename one build server and install it on my android mobile. Its not working. Is there any way to fix it?
Can I run the same from netbeans using AVD manager or something similar to that so that I can debug it myself?
If I started bluetooth manually, following is error on mobile phone on click of initialize or start scan option-
Error snapshot attached
You need to also add the https://github.com/shannah/CN1JSON/ cn1lib and install it using the codenameone-refresh cn1libs action
If you are running Android 7.x. you will also need to make sure that 'Location' is enabled in the App settings, otherwise the behaviour will be exactly the same as described in the question. See this comment. Codenameone provides a setting for permissions in their build hints with ACCESS_COARSE_LOCATION but that does not seem to work on my Nexus 6P with Android 7.1. I had to enable it manually.

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.

Resources