-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Darwin compilation issue with Xcode 15.3 or 14.3.1 #266
Comments
This is strange, it seems to be failing to compile in the SDK code not ours... |
Ok , I will give that a try. It will be a couple of days before I can get to it though.
From: Andy Williams ***@***.***>
Sent: Tuesday, August 6, 2024 11:06 AM
To: fyne-io/fyne-cross ***@***.***>
Cc: Jextter ***@***.***>; Author ***@***.***>
Subject: Re: [fyne-io/fyne-cross] Darwin compilation issue with Xcode 15.3 or 14.3.1 (Issue #266)
This is strange, it seems to be failing to compile in the SDK code not ours...
SDK 15 has caused trouble elsewhere but 14 should have worked.
Can you try the latest version of 12 as well? That was heavily used for a long time and is known to work.
Just trying to eliminate possible issues at your end...
—
Reply to this email directly, view it on GitHub <#266 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHDXTIAUYG6HYN3ILMTFZCLZQCGXDAVCNFSM6AAAAABL6FGESKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZQG43DSOBZGA> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AHDXTIC3OKJBLX5OZPNI3XTZQCGXDA5CNFSM6AAAAABL6FGESKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUHLEZOE.gif> Message ID: ***@***.*** ***@***.***> >
|
I downloaded version twelve and tried it also. It also fails. Here are some notes:
Oddly, there is a different issue. It seems that there are only warning in the compilation of the code but there is a link option being used that is not recognized:
I have attached new logs for review: is there some other link command executable I need to hunt down? |
Also: jextter@localhost:~/Desktop/Workspace/Jextter/CSVToPDFReports> link --version Written by Michael Stone. |
Please don't get confused with local tools - fyne-cross uses completely container-based compilation so your developer setup won't matter. |
I can't see where the error is coming from or what the problem is, hopefully @lucor, @Jacalz or @Bluebugs will have some idea. |
Yes, you are right; I wasn't thinking clearly about that. I don't usually do my development or compilation in a docker container, so it was just a knee-jerk thing to get that while trying to be thorough. |
I had not tried the 1.5.0 release again. I will try that and let you know. |
Hello All! I am pleased to report progress. It does successfully compile with a fresh build from master on some of the Xcode SDKs. It seems that 10.15 -> 12.3 compile just fine. Then at 13.3, something is definitely not happy in the Xcode SDK. I have attached the updated logs for your review. Thank you guys for getting this fixed so quickly! Let me know if there is more I can do to help you guys. Same commands as before: I am not sure if you guys would like me to close this or not or have this as an open ticket to come back to on the newer SDKs. In some searches I did, the compilation issue appears to correlate to the same time they eliminated 32-bit support and added new support for IOS15. I suspect they changed up the tooling quite a bit. But, not being an Apple person, I just don't know the actual details. Anyway, Thanks! |
Could this be related to #246 The error message contains the parameter
The pr is merged, but no new version has been released, yet. |
Submitted per conversation with andy.xyz on discord
Describe the bug:
When trying to compile an application for the Darwin platform, there is a compilation error with Xcode.
Versions of Xcode tried:
14.3.1
• 12.3
• 13.3
15.3
• 13.3
• 14.4
To Reproduce:
Steps to reproduce the behavior:
fyne-cross darwin --debug --no-cache -arch amd64 --macosx-sdk-path ./resources/AppleXcode/SDKs-14.3.1/MacOSX12.3.sdk/ -app-id hello.app -output build ./cmd/testapp/ > 14.3.1-12.3.sdk.log 2>&1
fyne-cross darwin --debug --no-cache -arch amd64 --macosx-sdk-path ./resources/AppleXcode/SDKs-14.3.1/MacOSX13.3.sdk/ -app-id hello.app -output build ./cmd/testapp/ > 14.3.1-13.3.sdk.log 2>&1
fyne-cross darwin --debug --no-cache -arch amd64 --macosx-sdk-path ./resources/AppleXcode/SDKs-15.3/MacOSX13.3.sdk/ -app-id hello.app -output build ./cmd/testapp/ > 15.3-13.3.sdk.log 2>&1
fyne-cross darwin --debug --no-cache -arch amd64 --macosx-sdk-path ./resources/AppleXcode/SDKs-15.3/MacOSX14.4.sdk/ -app-id hello.app -output build ./cmd/testapp/ > 15.3-14.4.sdk.log 2>&1
Example code:
Device and debug info (please complete the following information):
Debug info
Hopefully, this is just a mistake on my part, but I can't seem to figure out what the issue is. If you could point me in the right direction, I would very much appreciate it.
The text was updated successfully, but these errors were encountered: