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 · 6 comments

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.

@upintheairsheep
Copy link

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.

WinObjC's focus was the problem, they wanted it to be a base for developing UWP apps via the iOS app source code, but there had to be many changes, and for example some UI element was originally supposed to emulate the iOS equivalent but then it was changed to UWP equivelent. WinObjC should be a way to 1:1 make a recreation of iOS libraries, and something like ipasim should be part of the project. WinObjC should make Windows "iOS compatible", one codebase, both iOS, iPadOS, macOS, and Windows can be developed for and published on both the App Store and Microsoft Store.

@kevinsan
Copy link

kevinsan commented Nov 9, 2024 via email

@VOM7HC
Copy link

VOM7HC commented Nov 9, 2024

sorry guy,s M$ never update this repo anymore. If you want, fork it as you own

@upintheairsheep
Copy link

已收到您的邮件,我会在24小时内回复您的。——Kevin San.

Please adjust your auto-reply settings to not reply to GitHub emails please.

@upintheairsheep
Copy link

sorry guy,s M$ never update this repo anymore. If you want, fork it as you own

They may do it in the future, but check out touchHLE for now.

@microsoft microsoft locked as off-topic and limited conversation to collaborators Nov 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants