Cannot start Meteor app in iOS simulator - ios

I have started a project in meteor. a simple counter. I cannot mange to run it on iOS simulator.
I have once managed it to run on the iOS simulator, but not now.
It has proved to be a headache long hours ago, so, I have felt it could be a good idea to ask it here. This situation is inconsistent.
I can view it from my desktop browser and with iOS simulator's safari. But most of the time when app launched, the simulator only shows the meteor splash screen with the spinner. Some times Terminal exists the command with saying it could not started app on simulator and suggesting running --verbose. I do so but nothing changes. In those most cases it serves the web app to the browser. On the other hand I can successfully start my app with android simulator.
I feel confused. After fourth time of writing same piece of this app It is here.
I do not have server code can that be the problem?

Try running with the --verbose option, with this option the full Cordova/Phonegap builds will be logged on console, also work for me when i cannot start the app on the simulator.

Related

Build iOS Expo App (React Native) from Xcode to Device via USB just works?

I am confused. In a postive way. But still confused. And I'm not sure if this is right.
I'm tipping my feet into React Native (with Expo) and playing around with having my geoLocation shown on my screen and a counter that counts up every second. Super simple.
So I managed to get the workflow as intended up and running.
Using expo start, expo run:ios, Simulators, Expo Go App, expo publish and even having a build (made through Expo) distributed via TestFlight. Everything works just fine.
I came to the idea to just open the iOS Project of my App with XCode and check if I can make a build from XCode to my iPhone which is plugged in via USB.
I was mentally prepared to fail... but strange enough... It just works. I can build the included iOS Project via XCode to my connected iPhone. It even gets the javascript I publish via expo publish.
It works without ejecting!
So... The question is: Is this normal / a good way to do it? Will this work for testing on device or is this an error proned way of doing it?
It is pretty nice to not rely on all the services and having to make the build through the expo website or the Expo Go App.
I didn't find any Docs mentioning it - no tutorials - no nothing.
Thanks for you time.
Cheers,
J

iOS: app never run on foreground. How do I debug this problem?

Environment:
macOS Catalina 10.15.4
xcode 11.5
iphone iOS 13.5.1
Hello expert, I'm a beginner developer for iOS app development.
I'm developing my iOS app and now testing it on iPhone and iPad.
It works most of the time. So I'm now actually using the app in my ordinarily
life(meaning detaching from xcode).
However, sometimes the app falls into a problematic state.
Occurrence of this problem is once per 2-3 days.
In this state, when I tried to switch the app from background to foreground,
the app behaves looks like crushing, and never run on the foreground.
But, actually the app is not crushed, because I can see the app on the background.
Once the app is in this state, the app never run on the foreground even if
I killed the process and launch the app again.
Since the app is not crushed, I can not see any crush log in my iphone.
Only way to recover this problem is to copy the app from Xcode to the iphone
and launch again.
So here is the questions.
Is there any way to reattach the process running on iOS to the xcode to debug again after disconnecting from xcode on my MAC ?
How should we debug this kinds of problem ?
Any comments/suggestions/advices are highly appreciated.
John
Even if the app crashes it will still be visible in the app switcher since that is just showing a snapshot of your app. But answering your first question you can reattach by plugging your phone and in Xcode going to Debug > Attach to process by PID or Name... there you can enter the name of the target you're debugging, click Attach and as soon as you launch the app in your phone Xcode should begin a debugging session allowing you to better debug this crash.

app works in simulator but closes in my iPhone

I tried to search without success.
Im using Xcode and when I run my app in the simulator it works without any problem. But when I run it on my real device, iPhone 6s the app closes immediately when I press the app icon to open it.
I even tried to start a new empty project but the same problem occurs.
Does anyone know how to solve this?
Go to Apple's membership center and buy yourself a developer program membership:
https://developer.apple.com/programs/whats-included/
You will then be able to develop apps and run them on your device without the limitations imposed by the free trial-type membership, which you are now encountering.

How do you verify developer app install once and forever with Xcode 8?

Once I've upgraded and installed Xcode 8, my developing experience with iOS has gone down the gutter. Most frustrating of all is the need to verify the app every time the app is installed from Xcode.
I'm working on simulating data loss so that I can build correct error handling solutions, but when I install the app from Xcode with my device's data connection to off (no wifi, no cellular), Xcode prompts me to verify the app by turning on data connection. This is the case even when I simulate network loss with the network simulator.
I never dealt with this issue in Xcode 7.
Due to this issue, I'm unable to set breakpoints, work step-by-step troubleshooting, and work with the console when I have no data connection.
Is there something that'll verify an app forever, once and for all? I'm not deleting the app from my iPhone 7 each time I install the app. I'm just pressing the play button from Xcode like I always used to.
Thanks for your help.

App Crashes on iOS 8.0.2 and iOS 8.1

I am developing an iPhone application. The app was running smoothly on my as well as on my clients device.
But now client has udated his iOS version from 7.1 to iOS 8.1. Now when client goes for installing app on his device the splash screen occurs and app gets automatically minimize and he is not able to open the app again. every time when client taps on my app icon the splash screen appears and app gets minimizes automatically.
But app is running smoothly on my device.
I have updated my iPad to iOS version 8.1 to check whether this is version problem, but app runs successfully on it.
I was also downloaded the new xcode 6.1 and run my project on device. It runs successfully.
I was also deleted and recreated my certificates and provisioning profiles 3-4 times.
But unable to get the exact problem that client is facing.
I am unable to get any solution now. Please suggest some cases to debug this problem. I gets stuck with this problem from nearly to a week. please help me. It's urgent.As client is demanding for the build.

Resources