Closed hauteur closed 4 years ago
May be post to xamarin mac forum? Looks to me like the compiler has issue finding the x86 binaries (which I think is related to NET framework classes on Mac?)
There’s a similar thread here: https://forums.xamarin.com/discussion/96593/solved-xamarin-mac-error-mm5109-in-release-build-related-to-ikimagebrowserdatasource so I am sure they can help you put to fix the problem.
On Thu, May 16, 2019 at 12:16 PM Mike Miller notifications@github.com wrote:
I created another issue that saved before I could create comments, and now it errors when I try to edit it, and I can't close it.
I am trying to use the Google Ads API in a Xamarin.Mac project. Everything works fine if I use it in a .net core console app on Mac, but my build fails as soon as I try it in a Xamarin.Mac app.
At this point, there are no real errors given save one, but it isn't particularly helpful.
ld: symbol(s) not found for architecture x86_64 clang : error : linker command failed with exit code 1 (use -v to see invocation)
MMP : error MM5109: Native linking failed with error code 1. Check build log for details. The command exited with code 1.
Done executing task "Mmp" -- FAILED. Done building target "_CompileToNative" in project "RRVGenerator.Mac.csproj" -- FAILED.
Done building project "RRVGenerator.Mac.csproj" -- FAILED.
Build FAILED.
clang : error : linker command failed with exit code 1 (use -v to see invocation) MMP : error MM5109: Native linking failed with error code 1. Check build log for details. 0 Warning(s) 2 Error(s)
Any ideas would be greatly appreciated.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/googleads/googleads-dotnet-lib/issues/214?email_source=notifications&email_token=ABCOJCFMSJSLSWPPZLWZPYDPVWCGLA5CNFSM4HNOEMSKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUG3GIA, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCOJCDBRPQV2MLWGY2ELX3PVWCGLANCNFSM4HNOEMSA .
-- Anash P. Oommen | Developer Programs Engineer | anash@google.com | +1-650-440-2854
I created an issue over there. If you don't mind, maybe we can leave this open until they respond?
@AnashOommen The only error I see says that the symbols aren't loaded for x86_64. In looking in the packages directory, I see that Google.Protobuf.3.6.1/netstandard1.0 doesn't have a pdb file, which is where the symbol files should be, isn't it?
It's the only package that doesn't have them. Could that be part of the problem?
Closing this - if this is still a problem can you open and issue on the Google Ads client library instead? This project is for the AdWords SOAP API library.
I am trying to use the Google Ads API in a Xamarin.Mac project. Everything works fine if I use it in a .net core console app on Mac, but my build fails as soon as I try it in a Xamarin.Mac app.
At this point, there are no real errors given save one, but it isn't particularly helpful.
Any ideas would be greatly appreciated.
Edit:
I'm including a link to a sample project that reproduces the behavior. I also included an iOS project. It doesn't build either, but it gives a different error: Error while loading assemblies: .../packages/grpc.core/1.20.1/runtimes/win/native/grpc_csharp_ext.x64.dll (MT0009)
Sample Project