-
Notifications
You must be signed in to change notification settings - Fork 520
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
clang++ exited with code 1: building for 'iOS', but linking in object file libswiftCompatibility50.a[arm64][7](Overrides.cpp.o) built for 'iOS-simulator' #22231
Comments
That's probably the issue. Check if this file exists, and if it does, just delete it:
For more information see: #11172 (comment) |
@rolfbjarne thanks for the reply.
So it looks like that is not the issue. Also |
Can you get an MSBuild binlog that shows the build failure? |
Heres the binlog you requested: Thanks for the help. |
Is either What's the output of this command?
|
The output is
|
Can you try executing this, just before executing
This removes a cache used when looking up Xcode's development tools and properties on the command line (you can verify this by looking at xcrun's man page ("man xcrun")). |
Unfortunately that did not help. |
This is getting stranger and stranger :( Next idea to get more verbose output from the native linker, please add this to the csproj and get an updated binlog: <ItemGroup>
<_CustomLinkFlags Include="-v" />
</ItemGroup> |
Here's the new binlog |
I think I see something wrong with the I couldn't find this package on NuGet.org, so I assume it's a private package? Do you control it / do you have the source code for it? |
Oh, I see. Yes that is a private package I control.
I don't quite remember when and why I added them. Probably read it somewhere when I was trying to get the binding working. |
Can you try and see if this works? <NativeReference Include="..\iOS\JitsiMeetSdkProxy\Pods\JitsiMeetSDK\Frameworks\JitsiMeetSDK.xcframework">
<Kind>Framework</Kind>
<SmartLink>False</SmartLink>
<Frameworks>Foundation UIKit</Frameworks>
<LinkWithSwiftSystemLibraries>true</LinkWithSwiftSystemLibraries>
</NativeReference> If not, please attach an updated binlog. |
Did that. Now I'm facing other errors
|
Description
Hello,
I am having issues building my net9.0 MAUI app for iOS on Azure DevOps, while it works perfectly fine locally. I already compared the workloads, sdks and XCode versions.
Here is the error I am receiving:
This is the pipeline configuration:
I am using dotnet publish:
Any ideas on how to fix it, or what's the underlying issue?
I am also wondering why it says Xcode_16.app in the error, when I specifically selected XCode 16.2 with
sudo xcode-select -s /Applications/Xcode_16.2.app
@rolfbjarne maybe it's more of a macios issue?
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
9.0.30 SR3
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: