Is it possible to run a Xcode project on a RPi?

I have a simple server written in objective c on Xcode that I'd like to put on a RPi but I haven't found any way to do it or even if it's possible.


No it is not possible to run Xcode on the raspberry Pi as Xcode is proprietary to apple products such as the MacBook and Mac Pro.

Even if you are able to compile your objective c code,you will be very limited with what you can do as attempting to test it on a phone or upload it to the App Store or even run an iOS emulator is impossible/unlawful without a mac.


You should be able to compile your Objective C code on Linux. You'll need to install the compiler yourself and then run it on your code. You can see here for instructions on how to install the compilers: https://stackoverflow.com/questions/11437361/how-to-objective-c-in-linux

The only way this would be a problem is if your Objective C code is intertwined with Mac-specific system libraries. Hopefully you didn't do that.


Yes it's possible. You can install Swish to build Swift projects remotely.

[1] Compile Swift for Raspberry Pi by XCode

  • We're looking for long answers that provide some explanation and context. Don't just give a one-line answer only with a link (link-only answer); explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed or you risk to get down votes. – Ingo Aug 2 at 17:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.