Skip to content

Problem with net7. Not compiling. #60

@chmorell

Description

@chmorell

Hi Flash,

Thank you for you great work !
I am trying to upgrade from Swift (v3.2.2.1) to net7 or net8 (v3.2.2.2).

I have the error with net8 (a similar error occurs with net7).

Erreur (active) clang++ a quitté avec le code 1:
ld: warning: ignoring duplicate libraries: '-lSystem.IO.Compression.Native', '-lSystem.Native', '-lSystem.Net.Security.Native', '-lSystem.Security.Cryptography.Native.Apple', '-lc++', '-lcompression', '-lmono-component-debugger', '-lmono-component-diagnostics_tracing', '-lmono-component-hot_reload', '-lmonosgen-2.0', '-lxamarin-dotnet-debug', '-lz'
ld: building for 'iOS-simulator', but linking in dylib (/Users/fabienmoreau/Library/Caches/Xamarin/mtbs/builds/MVision.iOS/1fd66010e0275ee7c7197dca6be4ba171c0cbd38c3b9a7f29d512b5218505917/C:/Users/XM5998/.nuget/packages/ioscharts/3.2.2.2/lib/net7.0-ios16.1/iOSCharts.resources/Charts.framework/Charts) built for 'iOS'
clang: error: linker command failed with exit code 1 (use -v to see invocation) MVision.iOS C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.4.7142\targets\Xamarin.Shared.Sdk.targets 1276

It seems to come from your library.
Have you a solution or a workaround ?
Best regards
Christophe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions