Trying to deploy a mobilefirst project using testflight and the app stop after the error.
: -[__NSDictionaryI WLJSONRepresentation]: unrecognized selector sent to instance 0x1740f9d80
The app works when deployed using xCode, but when installed form TestFlight, it shows black screen with the error when inspecting device log.
I resolved similar problem by following Steps in following link.
https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/7.1/hello-world/configuring-a-native-ios-application-with-the-mfp-sdk/
Mainly, I was able to reproduce this by removing
-ObjC.
This sounds like an upgrade error. However without providing a sample project to recreate the error and debug it, there is not much to do other than creating a new application and migrate the app source into it.
Related
I've been given a new React Native app to maintain and whenever I build it or run it in the simulator, I get the "Application has not been registered" error. There are no other errors in the console before this message (although there are some warnings). I can't find any code issues as if the error message is dismissed in the simulator, the app runs fine so the bundler is running correctly, although on an actual device, this registers as a crash on open.
I'm running in the simulator using react-native run-ios from the project root. Builds for running on actual devices is managed by Fastlane.
My app doesn't make an explicit call AppRegistry.registerComponent due (I think) to the way react-native-navigation is set up, so most of the info online about this error doesn't apply.
Where should I go next to figure this out?
I am getting the following error when trying to create a Mobile App Project or Mobile Module Project:
An error has occurred. See error log for more details.
java.lang.NullPointerException
All enviroment variables are well defined and working (Android's and Java's). I can work on Android studio with no problem whatsoever.
I redefined all enviroment variables multiple times just in case, and reinstalled Appcelerator also a number of times.
Running Appcelerator on Windows
Any ideas on how to solve this?
Thank you very much in advanced.
React Native App crashes if signed and released. Works fine in debug mode. It doesn't throw any error in the screen. It simply crashes. When I looked at cat log. no error.
I also tried build apk with --info, but no additional info while crashing. I also tried building APK by setting minifyEnabled false.
When run the app in debug mode by connecting my phone via USB, it works.
I'm tried creating apk with --debug but I'm unable to install it my phone, it says parsing error when I try to install using app installer.
I got the following logcat errors. What does it mean?
09-03 11:03:07.968 W/ActivityManager(1344): Force finishing activity com.myapp/.MainActivity
09-03 11:03:08.012 W/BroadcastQueue(1344): Skipping deliver [background] BroadcastRecord{cb72147 u-1 android.net.conn.CONNECTIVITY_CHANGE} to ReceiverList{7bf2161 22421 com.myapp/10100/u0 remote:b9cdcc8}: process crashing
09-03 11:03:08.035 W/ActivityManager(1344): Dismiss app error dialog : com.myapp
09-03 11:03:13.095 I/WindowState(1344): WIN DEATH: Window{3f22c22 u0 /com.myapp.MainActivity}
I finally found the cause. There is module called react-native-material-design-searchbar which was causing the issue. The weird part is, if directly copy the SearchBar.js from that module and use it all works fine even in release, but if use module as direct import it's not working only in release mode. So weird. The SearchBar is good, so now I'm using directly by copying the file to my project.
I fixed this error by uninstalling uglifyjs and reinstalled the latest (using NPM).
My app running well when running through xcode. After apple submited my app i discovered it crushes on the user's devices. The bug on terminal is:
: * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CPTMutableNumericData setDataType:]: unrecognized selector sent to instance 0x21606e90'
I know I use this class in CorePlot-CocoaTouch.h.
1.How can i solve it?
2.Why it is happens only when user download it (Also me, as a user) and not crush when running through xcode?
Thanks
It sounds like you only tested your app using development builds. Before submitting to the app store you want to test the release build using Adhoc deployment. This lets you test the version you will end up sending to Apple.
For now you need to run your app so it crashes on your own device. Then connect the device to your computer with Xcode running. Go to the Organizer window and select the Devices tab. Click on the Device Logs section near the top left corner. After some updating you should see a crash log for your app at the time you just made it crash. Use the crash log to determine where in your app it is crashing.
I am developing a iphone application. It is working fine on iPhone Simulator 4.0 but when I test it on my iPod (My iPod has latest version 4.0) then I get the error :
Couldn't register com.myApp with the bootstrap server. Error: unknown error code.
This generally means that another instance of this process was already running or is hung in the debugger.Program received signal: “SIGABRT”.
& hang the application.
Please suggest me any idea how I resolve it?
Thanks
Try restarting Xcode and/or your Mac/iOS device. This usually fixes errors like this for me.