-
Notifications
You must be signed in to change notification settings - Fork 534
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
Can not build latest master on macOS Mojave with Xcode 10 #2574
Comments
Maybe this is the reason for the issue 2, but have no idea how to handle it:
|
Regarding the All I can say is that I have occasionally seen my own checkouts report similar errors -- e.g. by moving my checkout to a different directory -- but I don't remember all circumstances which case I don't know if this is something fixable. That said, we should certainly improve the error reporting aspect here; you shouldn't need to manually run Back on the "corruptness" angle, I suspect that if you did |
Regarding the linker error, the "problem" is twofold:
Building MXE is extremely fickle, and is not necessary unless you want/need Windows binaries for an updated If you don't need a Windows binaries, then don't build them:
This should avoid the MXE build failure. If you do need MXE, then you should install an older Xcode version which supports generating 32-bit native binaries, presumably Xcode 9.x. |
Thanks a lot! I will try to fix my git repo first of all! |
So when I clone repository in the next folders
But if I add a one (two, three, etc) more level it crashes with the error above:
Also I have removed xCode 10.0 and installed 9.4. But I still have the same linker error, but another warning:
|
works =) |
As per your warning, you're still using the SDK for macOS 10.14, which has deprecated 32-bit support, and as part of that deprecation Apple is not providing the 32-bit slices for libraries. Please try using the macOS 10.13 SDKs, if necessary. That said, your followup comment suggests that things are working for you now, so... :-) |
Yes, I think you can close the issue =) |
@jonpryor @grendello as for the clang linker error reported above which occurs in [0]
|
mxe/mxe@a063f9b works by removing @alanmcgovern, @garuma: Do we need a 32-bit |
@pjcollins: @grendello and I have an idea of dumping MXE in favor of using Homebrew's mingw-w64 formulae, which appears to install both 32-bit and 64-bit compilers (until the next macOS release...?). |
As far as I could tell win-32 versions of |
We only use the 64bits version (it's loaded in a separate process than devenv which is indeed 32bits) so from our point of view it's fine to axe 32bits on Windows. |
By the way I have tries to build SDK via
But there is no suspictios warning this time, maybe only:
Could you provide me any hint what I do wrong? Thanks =) |
I was managed to build SDK by removing |
So what status on the issue @pjcollins ? |
@xtmq is there a particular reason you need to build XA 9.2? If you check out the latest master commit and follow these instructions you should be able to build on Mojave now. The build system fixes that enabled this will likely not be able to be applied to older branches. You should be able to run a complete OSS master build on Mojave with the following commands:
|
Yes, I can build latest master without issues with the commands above, thanks! |
The d16-3 branch should be available in a public preview in the coming weeks, this was branched from master about a month ago. |
I can not build xamarin android sdk on my mac. Maybe someone has any clue whats going wrong... Thanks for any advice =)
First issue for 'make prepare'
This happens because command
git blame "/Users/xtmq/xamarin-android/Configuration.props"
does not work, it tells«/Users/xtmq/xamarin-android/Configuration.props» is outside repository
.Everything works if I paths msbuild targets to pass relative (to repository root) path, in this case just
git blame "Configuration.props"
.Second issue for 'make jenkins'
Make output:
make: *** No rule to make target
provision-mxe'.`Version Information
Visual Studio Community 2017 for Mac
Version 7.7.2 (build 21)
Installation UUID: b216fd0f-8565-4976-93dc-e21853486a27
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 4.4.1.178 (master / eeaeb7e6)
NuGet
Version: 4.8.0.5385
.NET Core
Runtime: /usr/local/share/dotnet/dotnet
Runtime Version: 2.1.2
SDK: /usr/local/share/dotnet/sdk/2.1.302/Sdks
SDK Version: 2.1.302
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.16.0/lib/mono/msbuild/15.0/bin/Sdks
Apple Developer Tools
Xcode 10.1 (14460.46)
Build 10B61
Xamarin.Mac
Version: 5.2.1.12 (Visual Studio Community)
Hash: 65ec520f
Branch:
Build date: 2018-12-05 12:06:09-0500
Xamarin.iOS
Version: 12.2.1.12 (Visual Studio Community)
Hash: 65ec520f
Branch: d15-9
Build date: 2018-12-05 12:06:09-0500
Xamarin.Android
Version: 9.1.4.2 (Visual Studio Community)
Android SDK: Not found
Android Device Manager
Version: 7.7.1.0
Hash: 06ceaea1
Operating System
Mac OS X 10.14.2
Darwin 18.2.0 Darwin Kernel Version 18.2.0
Mon Nov 12 20:24:46 PST 2018
root:xnu-4903.231.4~2/RELEASE_X86_64 x86_64
Mono JIT compiler version 5.18.0.225 (2018-08/bac9fc1f889 Fri Dec 21 11:33:29 EST 2018)
Git version 2.20.1
The text was updated successfully, but these errors were encountered: