admin管理员组文章数量:1291656
I'm solo developing a game in Unity on my Windows machine. I also have access to a Mac, but something is going wrong with the XCode build. To test, I made a default project in Unity, and changed my Build Profile to iOS. I then zipped the resulting folder and sent it over to the Mac, where I tried to build with xcode. But I keep getting an error that reads:
clang++: error: no such file or directory: '/Users/.../Xcode/DerivedData/Unity-iPhone-fmhmxyschzqqqkdjqwexswugzlwb/Build/Products/ReleaseForRunning-iphoneos/il2cpp.a' Command Ld failed with a nonzero exit code
As far as I can gather from looking online, il2cpp is some kind of C# to C++ translator, but I can't figure out why that would be malfunctioning or what I can do about it. Where can I go from here?
I tried rebuilding, getting help from generative AI (which was totally useless), and changing the bundle identifier. As mentioned, I also did this with a blank, default Unity project, so I know it's not a problem with the game code itself.
I'm solo developing a game in Unity on my Windows machine. I also have access to a Mac, but something is going wrong with the XCode build. To test, I made a default project in Unity, and changed my Build Profile to iOS. I then zipped the resulting folder and sent it over to the Mac, where I tried to build with xcode. But I keep getting an error that reads:
clang++: error: no such file or directory: '/Users/.../Xcode/DerivedData/Unity-iPhone-fmhmxyschzqqqkdjqwexswugzlwb/Build/Products/ReleaseForRunning-iphoneos/il2cpp.a' Command Ld failed with a nonzero exit code
As far as I can gather from looking online, il2cpp is some kind of C# to C++ translator, but I can't figure out why that would be malfunctioning or what I can do about it. Where can I go from here?
I tried rebuilding, getting help from generative AI (which was totally useless), and changing the bundle identifier. As mentioned, I also did this with a blank, default Unity project, so I know it's not a problem with the game code itself.
Share asked Feb 13 at 15:04 user29060292user29060292 11 bronze badge 1- Please provide enough code so others can better understand or reproduce the problem. – Community Bot Commented Feb 14 at 0:27
1 Answer
Reset to default 0You may want to look into Unity Cloud's DevOps solutions for building your project on Unity's backend. You can target any platform, including Mac.
You can find the build automation documentation here. You can also set it up in Unity's cloud dashboard: https://cloud.unity/
本文标签: How do I build a Unity project from Windows for iOSStack Overflow
版权声明:本文标题:How do I build a Unity project from Windows for iOS? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741532427a2383834.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论