Can't get my meteor app to run on iphone - ios

My app runs fine on an iOS simulator, but when I try to use meteor run ios-device in terminal, this is what I get:
raress-MacBook-Pro:To Dos rares$ meteor run ios-device
WARNING: You are testing your app on a remote device.For the mobile app to be
able to connect to the local server, make sure your device is on the
same network, and that the network configuration allows clients to
talk to each other (no client isolation).
[[[[[ ~/To Dos ]]]]]
=> Started proxy.
Could not open your project in Xcode.
Try running again with the --verbose option.
Instructions for running your app on an iOS device:
https://github.com/meteor/meteor/wiki/How-to-run-your-app-on-an-iOS-device

Try deploying your app to a server and then running your Meteor app with the --server flag. This allows the app running locally on iOS to access your server.
meteor deploy myapp
Then
meteor run ios-device --mobile-server http://<app-server>
Then I would suggest following the short guide here for connecting your iOS device using XCode... https://github.com/meteor/meteor/wiki/How-to-run-your-app-on-an-iOS-device
Differential also has an awesome resource on this. https://github.com/Differential/meteor-mobile-cookbook/blob/master/iOS/Building.md

Related

How to launch my Flutter app without the host computer?

I wanted to know how to launch my Flutter app without the host computer on my iOS 14+ devices. Because I disconnected to my host computer and it gave me some error, so that I don't have to go back to my Mac everytime and rebuild that app.
You can just run this command in your IDE (I did it with VSCode)
flutter run --release
It worked for me!

React Native iOS could not connect to development server

I get the common Could not connect to development server error described in e.g. React-native iOS: Could not connect to development server. Things that are working:
My iOS device is built fine using Xcode and launching
The URL inside the app shows correctly (192.168.4.59:8082/index.bundle?platform=iOS&dev=true) and opening that URL in the browser loads the bundle as it should
The phone and laptop are on the same wifi
Killed node process and restarted npm with --reset-cache
Restarted xcode, iphone and computer (many times)
What might I be doing wrong?
It worked to use a USB cable instead of wifi and untick "Connect via Network" in Xcode > Devices And Simulators window.

Expo / React-Native, Is it there a way to test-run standalone iOS apps on a device/simulator?

I'm using Expo to code my apps with React-Native. I can test my apps on Android devices running them from the Expo client app or building an APK and running it as standalone.
On iOS I can run my app from the Expo client but I couldn't find a way to run the app as standalone. In this case, I would like to test the "native" facebook login functionality.
Is it possible to run an app as standalone (without using the Expo client) on iOS?
Note: I'm trying to avoid going through TestFlight for this, that will make my workflow painfully slow. I am using Mac OS.
Run expo build:ios -t simulator to create an iOS standalone simulator build.
Wait for build to finish, then download and unpack YourAppName.tar.gz
Start an iOS simulator and run xcrun simctl install booted YourAppName.app

Remotebuild Cordova Windows -> iOS : Get list of devices

We're developing a Cordova app on Windows, and are deploying it to iOS using remotebuild. Everything works fine.
We need to deploy to multiple Android and iOS devices for releases. Right now this involves doing one at a time.
I've already created a script to retrieve all Android devices, which works great.
However, how can I get a list of iOS devices from my Windows machine? If I run "cordova run --list" I only get the Android devices, for the iOS devices I get the following error:
platforms\ios\cordova\lib\list-devices' is not recognized as an internal or external command
As this script is obviously an iOS script.
How can I use the remote build server to get a list of devices? When I browse to http://mac-ip:3000 I get a welcome screen:
Remote build Express server open for business on port 3000
As it's all web based, is there a URL I can access to retrieve a list of devices?

Why do I get errors when building on Xcode Server, but it builds fine on my development machine?

I implemented continuous integration for an iOS app using OS X Server and Xcode. When I build and run from my development machine everything runs fine on simulators and devices.
Then, when I choose to 'Integrate' and run the bot on my Xcode Server it fails to build with error:
Opening import file for module 'Swift': Permission Denied
How can I fix this?

Resources