Can i detach my expo code in linux os or i need a mac?

Please help to guide me which os is best to detach expo app code.
Because last time when i detach my expo code in linux os using exp detach command in terminal .
then i got two folder only tempAndroid and other one is tempIOS somthing like this.
and someone told me please use mac whenever detach your expo code .
Can someone suggest me which way is best to solve my detaching code problem.

Thanks in advance ,
Regards Kulbhushan Singh.

When you detach an Expo project, you get the source code of a native app. To build that for iOS, you will need to use Xcode. Xcode runs on a Macs only. So you will need a Mac.

After detach and run using sudo react-native run-android command i got this error:

FAILURE: Build failed with an exception.

  • What went wrong:
    Task ‘installDebug’ not found in root project ‘android’. Some candidates are: ‘installDevDebug’.

  • Try:
    Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 4 mins 57.207 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.