Since one week i try to figure out what am i doing wrong.
I created a nativescript-vue application which works fine on android.
Now i have to run the same App on an iOS device.
In my first try i got any errors i figured out and successfully got my app build running on my simulator on my mac.
Now i have another problem. The Console logs said, my build was successfully and it start on the simulator as expected but it crashes at the splash screen (with no errors).
I build another fresh app according to the official constructions.
There was one bug i fixed and the app runs as expected.
I decided to transfer the files from my main application one by one until the problem occurs.
The strange thing is, the app was running and did not crash in splash screen until i rerun the command "tns run ios --bundle" a few minutes later.
Now the app crashes again without any errors.
I hope anyone could help me.
System:
macOS Catalina - version: 10.15.1
node: v13.2.0
xcode: 11.2.1
nativescript: 6.2.2
Related
I packaged and built my app in Cordova for iOS. When I try to run the app on an emulator in Xcode it is SUPER slow (5sec or so from interaction to reaction). This result is shown on NEWER iPhone models as well. I put the app on my old iPhone 6 and it runs fine. This application also runs flawlessly on android and windows.
In the debugger window the only thing that shows up during these slow interactions is the following:
[IPC] Connection::waitForSyncReply: Timed-out while waiting for reply for WebPage_TouchEventSync from process 21078, id = 13
When you click more while waiting for the app to load, it just adds more of this error with an incremental ID.
I am running the most recent version of Cordova (10.0.0) and built the app with the most recent Cordova IOS build version (6.2.0).
Please let me know if anyone has ran into similar issues.
Thanks!
i am working on a ionic project having following config:
cordova : 6.3.1
node : 6.10.3
ionic : 2.1.4
mac os sierra
x code 8.3.2
while running the project on the simulator of iPhone 6s 10.3 version i am getting the below mentioned error in x code output and app gets hanged on the splashScreen and login page is taking too long to come , and the buttons on the pages are responding very slow , i am not having any knowledge of objective c so unable to get the meaning of the error .
Any help is appreciated.
xcode output error:
Operation DDWebKitOperation: 0x6100000e9a00: container WebFrame: 0x610000001500 has been modified too many times, aborting
I've eliminated this error. I'm not sure if what I did will help you but I'll let you know just in case. What I've been doing is building my app in AngularJS 1. Then when I have a distribution ready I'm putting that in the www of the ionic project, then running the builds for ios and android. I'm NOT using any part of ionic other than using it to build so I started thinking perhaps I would take ionic out of the equation.
I updated to the latest version of xcode, then I used straight cordova to do the builds. Splash screen appears, fades, then app loads and works as it should. Voila. App now released on app store.
This also helped me resolve a different issue with the InAppBrowser plugin not working. On ios I had outgoing links which were opening the in app browser, then the user couldn't go back to the app because there was no back button.
Arrgghh....I am so fed up with Apple. I have none of the problems with Android that I continually have with Apple.
Went to go load my app onto a local device (iPhone 6s) that had iOS 10.1 on it. Xcode wouldn't play with that so I had to upgrade to Xcode 8.1 and everything broke. I am now just trying to deploy my project to the simulator, it builds fine and deploys - I see my splash screen and then the app goes blank. Zero errors are displayed in the console yet I am not able to see the app in Safari Develop "Simulator" (not even there).
Mac 10.11.6 El Capitan
Xcode 8.1 (8B62)
Cordova 6.4.0
Project platform iOS: 4.2.1 (I even upgraded it to 4.3.0 but still nothing, then rebuilt project with 4.2.1 again)
Project iOS Target: 9.3
Deployment Target: 9.3 (iPhone only)
Simulators: 10.0, 10.1, 9.3
It was deploying just fine to Simulator iPhone 6x with Xcode 8.0 for 9.3 deployments, but upgrading to Xcode 8.1 broke it. I am going to remove the Simulators 10.0/10.1. the biggest issue is it builds just fine but deploys splash screen then goes blank.
Relaunch Safari after Simulator starts running.
#eb1 gets credit for these 'fixes'.
After upgrading to Xcode 8.1 as well as Safari 10.0.1 I was no longer able to see compile, debug or JS errors in either the Xcode console or the Safari Develop Simulator debug/console sections.
After compiling my project, the simulator would show my app splash screen and then go blank. no errors, messages, console output - nothing. In addition, Safari was no longer displaying the "Develop -> Simulator" option to debug my app.
To fix this, I had to shut down Xcode and Safari, and in this order, relaunch Xcode, load the project into Xcode and then start Safari - only then would the Develop->Simulator dropdown show up.
But even after getting #1 to show up, I still wasn't able to see any bugs, or code issues within the Develop->Simulator window after the app had loaded. After it was loaded it would just be blank and i couldn't see what any issues that was causing my app to not be working. Well, after it was loaded i had to press "cmd-R" to reload the console/debug messages and then i was able to see the issues breaking my app. I have to do this every time now...load the app, see nothing, then cmd-R...then able to see the bugs/breaks.
I still don't have a solution for doing the same within Xcode console - prior to upgrading I could see almost all of the same issues in both Xcode and Safari, but now only in Safari (using solution #2 above). Xcode shows everything loaded fine, while Safari cmd-R 'after' loading is now showing the compile issues.
If anyone ever finds a solution for #3, please please add to this thread.
Having a strange issue with XCode 4.5 on OSX 10.8.2.
When I run an application on the mac, it doesn't launch and I get the following error in console consistently.
10/01/2013 17:26:26.478 Xcode[7884]: ERROR: Failed to create an alert for ID "enabled" based on defaults: 1
When I run an iPad/iPhone app, the simulator launches, but the app just shows a blank screen. I thought there was an issue with my apps (although very unlikely) so attempted to create a vanilla mac app and iOS app. Both experience the same issues. Running/Debugging any iPad project directly on the iPad through Xcode works however.
I've attempted to:
Delete everything in ~/Library/Developer/Xcode/DerivedData/
Delete the Xcode app and download it again from the AppStore
Delete all of my Xcode preferences
Xcode Build and stop buttons also become unresponsive so I have to force quit xcode to try again.
Nothing seems to be working, Xcode works fine however on my mac pro at work and all projects build just fine! Any help would be much appreciated!
Never mind, setting the debugger to GDB instead of LLDB seems to have fixed this. It would however be good to get an answer as to why LLDB doesn't work as the default debugger and what's changed in xcode to make it no longer work as expected.
Alright, my app is working great in the simulator, but when I transfer the app to my iPhone it crashes at startup. I am installing the app via cydia. The app can be installed via this source chrisrjones.com/repo The crash report can be found here - > crash report The source code for the app can be found here -> https://github.com/ipatch/KegCop
I created a shell script to code sign and build the deb package for the app, and have not had any problems with the app so far. I have no idea what I am looking for in the crash report, as I haven't really done much looking at these things. Also I am pretty sure this isn't a code sign bug, but I could be wrong. The app launches for a second or two then crashes, I am pretty sure the code sign crash happens quicker than what I am experiencing.
I am using Xcode 4.3.2 on OS X 10.7.4, iOS version is 5.1.1 I am using ARC in my Xcode project.
Any thoughts?
Alright, to fix this problem, I deleted the Accounts.sqlite file located at /var/mobile/Library/KegCop/ I then removed the app via Cydia. I restarted the phone. I reinstalled app via Cydia, then the app quit crashing. (yay)