Unable to Detach project for IOS


I am trying to detach the application, by following steps in url 'https://docs.expo.io/versions/v19.0.0/guides/detach.html
below logs I got on my console

D:\Mayuri\evosus\evo-mobileservice>exp login
? You are already logged in as ************. Log in as new user? No

D:\Mayuri\evosus\evo-mobileservice>exp detach
Validating project manifest...
Skipping iOS because you are not running macOS.
Downloading Android code...
Moving Android project files...
Configuring Android project...
Naming Android project...
Cleaning up Android...
There was an issue cleaning up, but your project should still work. You may need
 to manually remove D:\Mayuri\evosus\evo-mobileservice\temp-android-directory. (
Error: ENOTEMPTY: directory not empty, rmdir 'D:\Mayuri\evosus\evo-mobileservice
Android detach is complete!

Writing ExpoKit configuration...
Finished detaching your project! Look in the `android` and `ios` directories for
 the respective native projects. Follow the ExpoKit guide at https://docs.expo.i
o/versions/latest/guides/expokit.html to get your project running.

I don’t see ios folder to be created in my project as per console logs. Let me know, how can I solve it.

My package.json content is as below.

"dependencies": {
    "@expo/samples": "^2.0.2",
    "expo": "^19.0.0",
    "fast-html-parser": "^1.0.1",
    "firebase": "^4.2.0",
    "moment": "^2.18.1",
    "node-libs-react-native": "^1.0.1",
    "pako": "^1.0.5",
    "react": "16.0.0-alpha.12",
    "react-addons-update": "^15.6.0",
    "react-native": "https://github.com/expo/react-native/archive/sdk-19.0.0.tar.gz",

Hi, it didn’t install an iOS project because you’re not running macOS, as the console output says.

How do I get the ios folder now?

@ben if I still want ios folder to be there, as later I have to build for ios too, how to bring this ios folder using exp detach?

Can I run exp detach later when I am in macos or linux?

Will it create an issue if I have to run the app on an iphone?

Can you elaborate on what you mean by this @singhalok641?

If you want to build for iOS, you’ll need to get your hands on a Mac either in-person or renting from the cloud.



Thanks @adamjnav
Will I need a mac during the developing process too ?

A detached app creates an Xcode project which requires a Mac to compile and run unless you use a third-party build service, which still uses a Mac most likely.

This topic was automatically closed after 13 days. New replies are no longer allowed.