Execute iOS simulator for an Expo project run on a Windows computer on the same network - react-native

Currently developing an Expo project on Windows computer using Visual Studio Code, and I want to simulate the project with iOS simulator on my Mac computer on which I have already installed XCode and iOS simulator. However, as the project is saved on my Windows computer, there is no way to run it on my mac computer unless I copy the project to the Mac computer. My question is if it is possible to start a simulator for the project run on a different computer on the same network? In this specific case, I want to run the project on my Windows, and simulate it with iOS simulator on my Mac. Is there any way to do this?

Its better if you just transfer your React Native code to your Mac or just use usb and transfer through Dropbox or P-Cloud. but to answer your question i don't really know much about firewall but if you disable firewall you can get the ip or url and you can go to your mac and go to that link...
But i really suggest for you not to do it because other people can go to your link as well and hackers can hack you...
I really recommend to just transfer your react native code instead...

You can just run your expo project in tunnel mode and connect manually via the connection string to your IOS simulator running on your mac.

Related

Proper Development Environment For React Native

I want to write an application targeted at both iOS and Android. Is it possible to develop a React Native app on Windows using a network connected Mac? For example, using Visual Studio Code on Windows and debugging on a network connected Mac?
I'm using Atom and IDE to make react-native app.
To test on iOS, maybe you could use this but the best would be to have a iPhone with you, to install your app and use Code Push to auto update the app on your phone. The other solution would be to install an macOS Emulator on your computer.

Can I use a Mac Mini as a build/deployment server with React Native?

I've done some research on how to do this but haven't found exactly what I was looking for. In short, I'd like to continue to develop my react native app on my Windows PC, and use a Mac Mini for remote builds and deployment to my iOS device. Is there a good way to do this?
I know there are CI solutions such as Jenkins, but ideally I'd like to be able to build/deploy even faster without having to push commits. Similar to Hot Reloading, I'd like to make a change on my PC (Windows) and see it immediately on my iOS device, which I can do currently with an Android device plugged in to my PC today.
Maybe something like running the packager on my mac mini while making code changes from my PC.

Can i develop react native IOS apps on windows pc

Can i able to develop react-native IOS apps in my windows pc, if possible then please reply with what are the requirements and setup require to develop and run react-native ios apps in windows pc
No, you can't.
Check the official 'getting started guide' here:
https://facebook.github.io/react-native/docs/getting-started.html#requirements
Requirements OS X - This guide assumes OS X which is needed for iOS
development.
You need to run xCode in order to build app on Simulator or iPhone.
It is possible to build, package, and deploy IOS apps from a pc or linux machine using a couple different methods.
One would be using a service like BuddyBuild (https://www.buddybuild.com/). You can just point them at the git repo you want to package, give them your certificate, and go from there.
Your other option would be to rent a cloud machine running some version of OS X. They are typically pretty cheap and you wouldn't need to do it very often.
You can use a cloud build service like Mobile Center or Circle CI, or run a "hackintosh" virtual machine image in VirtualBox.
The latter breaks the Apple MacOS EULA, and the former has longer feedback cycles to learn if your code builds or not.

Windows Phone Emulator won't launch

The emulator used to run fine, but as of late whenever i try to launch it, whether directly from the programs list or by running code in Visual Studio, the emulator will launch, stop responding and crash, then when I hit "close program" it will launch itself again, stop responding and crash again. I've looked everywhere and cannot get an answer to this issue.
Thanks
The only way i think is by reinstalling the product.
Just so you know, make sure that you're using the right version of the SDK for your OS (on PC) and using just the right emulator supported by your OS (pc).
Like for SDK 8.0, if you're developing Win8 app, use 'Device' for direct app deployment onto your phone or "Emulator WVGA 512MB" for optimized, memory-constrained output on your PC itself.

Install an IPA through USB?

After using the "iPhone Configuration Utility" program to install IPA applications to my iPhone on the go, I wondered how this process worked. Within a few Google searches, I found out about "MobileDevice.framework" and the "MobileDevice Library" connected to it. After reading an article of all the Known Functions in the library, I found one called "AMDeviceInstallApplication". I thought this would work once I saw install, but I'm currently perplexed on how to use it.
TL;DR I have IPA files and I want to make an Xcode program (for Mac) that installs the IPA's application to a connected iOS device when a button is pressed.
Also, don't worry about the application not being signed correctly. It is signed with a provisioning profile installed on devices [the application] will be used with.
If you're still interested in this problem I've written a blog entry on how to install apps on a connected iPad / iPhone without using Xcode or iTunes.
This method allows you to run a Terminal command to install an iPA file.
http://pervasivecode.blogspot.co.uk/2012/06/install-ios-app-ipa-file-without-xcode.html
I suppose you could bundle up the terminal commands in your application and use it that way?
I found a simple way to install iPa file to real iPhone or iPad:
Connect iPhone to Mac via USB and follow the below steps:
Steps to follow:
Open Xcode
Click on Window
Select Devices and Simulators
Drag and drop the IPA files into it
App got installed on the iPad