Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring WinObjC to WSLg, either exclusive to CUDA and DX12, or for all Linux with Vulkan. #2948

Open
kevincrans opened this issue Oct 2, 2021 · 1 comment

Comments

@kevincrans
Copy link

kevincrans commented Oct 2, 2021

Is your feature request related to a problem? Please describe.
I don't like that you can't run any apps on both Unix-like, Windows and Mac.

Describe the solution you'd like
If WinObjC was supported in WSLg, this could mean WinObjC finally has a unix environment and makes tolerantly written Mac apps run on Windows via Linux.

Describe alternatives you've considered
Darwin based solutions are underdeveloped and not Linux, however there is Swift toolchains for Windows and Linux, which could be handy for this project.

Additional context
This is also for developers who want to run XCode to create mac apps on Windows/Linux.

@VOM7HC
Copy link

VOM7HC commented Oct 8, 2021

Swift toolchain is an idea, but this repository is named "WinObjC" mean this focus to Obj-C, may be create something is named "WinSwift" better idea.

I like your idea: develop iOS or Mac apps on Windows/Linux without buy Mac. It will save us a lot of money buy Mac

But I don't think this idea will become true:

Microsoft isn't interest port this project to other platform because this will require a lot of resource. In business aspect, this is app gap solution for MS store with App store, and Dustin (this project maintainer) was moved to PowerToys project, so mostly it was became abandoned project. In technical aspect, many of components are base on C++/CX standard so it can't run on other platform, this will need a lot of code to convert C++/CX to modern C++ (14/17/20/...) to run on them.

Apple doesn't care about create a IDE for Windows/Linux develop iOS and Mac app, because they will sell more Mac devices. However, a statement from Apple in 2010 says they relaxed some of the App Store review guidelines to allow any tool to be used, as long as the resulting binary does not download any code, which means it should be OK to use the cross-compiling the binary. So that mean, you can try is Darling, it will help you run Mac app on Windows via WSL and follow tutorial install XCode on it. Other solution is OSXCross it will help you cross-compile Mac app via WSL.

I am also looking a tool for Metal framework (Apple property graphic API) on Visual Studio (since VS is standard industry for game development) but Metal API is only API not work on VS. May be or I never will find a project help me about that. So I think: fork this project and create my own tool is better solution. Some famous project base on this repository is ipasim (iOS app simulator on Windows) is a great example for create own tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants