3

I have a question regarding the iOS build. I just want to know that is it possible or not so the question is--

is it possible to create a build using command line tool for iOS app without Xcode. Xcode is not installed and project is created in React Native.

any suggestion or idea for this will be helpful.

4
  • 1
    You need Xcode because that is how you get the tool chain Commented Sep 24, 2021 at 12:42
  • @Paulw11 so to create a build Xcode is compulsory. Commented Sep 24, 2021 at 12:45
  • Yes you need xcode to make a build. Even on the command line, it uses xcode's tool chain to do the build. You can create Swift linux applications without xcode, but not iOS applications Commented Sep 24, 2021 at 12:47
  • 1
    You can build without the Xcode GUI. See man xcodebuild to for more info about the command line Xcode build system. Commented Sep 24, 2021 at 12:49

1 Answer 1

3

The answer is you cannot.

The only half workaround is to use a CI like CircleCI so you can push your builds to the CI however the CI itself will need to have xcode on it.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.