Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to compile Objective-C code in Visual Studio

I have an old project which is written in Objective-C. There were some in-house compilers written to compile from Objective-C to C code. However due to some compatibility issues those compilers aren't working anymore.

In Build 2015, Microsoft demonstrated building some objective-c code (.m) projects in Visual Studio. However I can't find the steps to do them.

Looking for the steps for the same. I have Visual Studio 2015 and 2017 both.

like image 876
Sisir Avatar asked Apr 16 '26 11:04

Sisir


1 Answers

I strongly believe you are talking about the WinObjC, the Windows bridge for iOS. It is an open-source project that provides an Objective-C development environment for Visual Studio and support for iOS APIs.

You have to install To Chocolatey & winobjc-tools to get started with an existing Xcode Project. The installation details are here : WinObjC Download and Installation

like image 137
Shamsudheen TK Avatar answered Apr 18 '26 01:04

Shamsudheen TK