开发者

Can Xcode make a .exe file?

开发者 https://www.devze.com 2023-03-01 18:59 出处:网络
I need to build a small program in Xcode that will edit a safari file on a PC. The file is \'Extensions.plist\' in \'...\\Apple Computer\\Safari\\Extensions\' folder.

I need to build a small program in Xcode that will edit a safari file on a PC. The file is 'Extensions.plist' in '...\Apple Computer\Safari\Extensions' folder.

Im on a PC, and since 'Extensions.plist' is in Xcode, I need to write the code o开发者_高级运维n a Mac with Xcode and generate a .exe file from it. Then from a NSIS script, I want to call this .exe file to do the changes i need to the Extensions.plist file.

My question is, Is it possible to output a .exe file from Xcode on mac that will run on a PC ?

Thanks.


Im on a PC, and since 'Extensions.plist' is in Xcode, I need to write the code on a Mac with Xcode

No, why? What do you mean by “'Extensions.plist' is in Xcode”? The plist file is simply an XML file. Xcode is an IDE. Where is the connection here?

To answer your question: Xcode doesn’t normally allow generating exe files. However, you can generate .NET exe files on a mac by using the Mono C# compiler. You can theoretically also call this compiler from within Xcode by configuring an own project type for C# projects (“external build system”). But there is no advantage in doing this in your case.

0

精彩评论

暂无评论...
验证码 换一张
取 消