Skip to content

[iOS] Clang++ exited with code 1 #211

@kklose23

Description

@kklose23

Describe the bug
When connecting to a remote Mac, attempting the run the application will give the following error:

2>clang: error: linker command failed with exit code 1 (use -v to see invocation)
2>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.0.8478\targets\Xamarin.Shared.Sdk.targets(1556,3): error : clang++ exited with code 1:
2>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.0.8478\targets\Xamarin.Shared.Sdk.targets(1556,3): error : ld: in /Users/kklose/Library/Caches/Xamarin/mtbs/builds/Mobile.Project/be694607f184f9d3161d9b97862b6101495b72529aa39a5488a5e6706878b158/C:/Users/kklose/AppData/Local/XamarinBuildDownloadCache/MLKVision-3.0.0/Frameworks/MLKitVision.framework/MLKitVision(aligned_new_bca0ac320467a2457b3e306bfed17856.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/kklose/Library/Caches/Xamarin/mtbs/builds/Mobile.Project/be694607f184f9d3161d9b97862b6101495b72529aa39a5488a5e6706878b158/C:/Users/kklose/AppData/Local/XamarinBuildDownloadCache/MLKVision-3.0.0/Frameworks/MLKitVision.framework/MLKitVision' for architecture arm64
2>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.0.8478\targets\Xamarin.Shared.Sdk.targets(1556,3): error : clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am using the new .NET 8 update

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions