GithubHelp home page GithubHelp logo

Comments (13)

rolfbjarne avatar rolfbjarne commented on May 18, 2024 33

I believe this problem still occurs when the packages are from nuget packages.

Yes, this still happens if the native library comes from a NuGet package.

is there any internal progress on this or know how we can get it moving.

As always this is a question of prioritization relative to available manpower. Adding a +1 to this issue is the best way to make your voice heard.

from xamarin-macios.

Qythyx avatar Qythyx commented on May 18, 2024 4

It's almost 1 year since the last update, any chance this will get resolved soon?

from xamarin-macios.

jahmai-ca avatar jahmai-ca commented on May 18, 2024 3

+1. We multiple native binding projects and therefore have incremental building disabled which slows down development significantly.

from xamarin-macios.

rolfbjarne avatar rolfbjarne commented on May 18, 2024 3

I am very much hoping that MAUI helps ease that

This particular issue will not be an issue anymore in .NET 6, the devloop will be implemented very differently.

from xamarin-macios.

rolfbjarne avatar rolfbjarne commented on May 18, 2024 1

@ivmirx

Is there a way to list the binding projects that cause it?

You can add -vvvv to the additional mtouch arguments in the project's iOS Build options, and something like `Extracted third-party ..." will show up in the build log.

from xamarin-macios.

rolfbjarne avatar rolfbjarne commented on May 18, 2024 1

Closing as per my latest comment.

from xamarin-macios.

alexsorokoletov avatar alexsorokoletov commented on May 18, 2024

We try to move binding projects out as soon as possible and reference then through NuGet package. Less hassle and faster builds.

from xamarin-macios.

beeradmoore avatar beeradmoore commented on May 18, 2024

@alexsorokoletov I believe this problem still occurs when the packages are from nuget packages.

@rolfbjarne is there any internal progress on this or know how we can get it moving. I had hoped faster build times would be a priority thing to help support developers and would be triaged higher.

Referring back to my comment in the bug tracker that is the same as linked above, now that bug 43689 is resolved we can surely just remove this limitation and everything magically works. Nope :( I compiled d15-7 and removed that line that disables fastdev but to also output the values for App.OnlyStaticLibraries, the number of Assemblies.Count whereto assembly itself HasLinkWithAttributes set, and the name of each of these assemblies. You can see the specific commit over here.

When I attempt to build our current major project this is what is output.

MTOUCH : warning MT0127: Test Start
MTOUCH : warning MT0127: App.OnlyStaticLibraries: False
MTOUCH : warning MT0127: Assemblies.Count ((v) => v.HasLinkWithAttributes): 7
MTOUCH : warning MT0127: SkiaSharp.dll
MTOUCH : warning MT0127: WebP.Touch.dll
MTOUCH : warning MT0127: Microsoft.AppCenter.Crashes.iOS.Bindings.dll
MTOUCH : warning MT0127: Microsoft.AppCenter.iOS.Bindings.dll
MTOUCH : warning MT0127: MixpanelBindings.dll
MTOUCH : warning MT0127: Microsoft.AppCenter.Analytics.iOS.Bindings.dll
MTOUCH : warning MT0127: Microsoft.AppCenter.Push.iOS.Bindings.dll
MTOUCH : warning MT0127: Test End
clang : error : linker command failed with exit code 1 (use -v to see invocation)
clang : error : linker command failed with exit code 1 (use -v to see invocation)
clang : error : linker command failed with exit code 1 (use -v to see invocation)
MTOUCH : error MT5216: Native linking failed for '/projectPath/obj/iPhone/Debug/device-builds/iphone10.3-11.4.1/mtouch-cache/arm64/libMicrosoft.AppCenter.Crashes.iOS.Bindings.dll.dylib'. Please file a bug report at http://bugzilla.xamarin.com

In theory this should be easy to repo as according to this adding Microsofts own AppCenter causes a project to not be compatible with incremental builds (just a little ironic :P).

I don't know enough about linkers and how to interact with them to be able to debug or try and improve upon Xamarin for this particular issue.

from xamarin-macios.

gkarabin avatar gkarabin commented on May 18, 2024

For what it's worth, I see 22 +1's on this post, but only 12 on the original issue post. I would hazard to guess that most people clicking on the "this is how to make your voice heard" would have meant to click the original issue :-)

from xamarin-macios.

ivmirx avatar ivmirx commented on May 18, 2024

Is there a way to list the binding projects that cause it? I suspect that adding a second library from Microsoft triggered it but can't see anything in the app output console.

from xamarin-macios.

jahmai-ca avatar jahmai-ca commented on May 18, 2024

We are currently re-evaluating our mobile tech stack. One of the biggest drawbacks of using Xamarin is the long devloop in compile times. I am very much hoping that MAUI helps ease that, but in cases where a recompile is required, having this issue fixed would help immensely. Any progress?

from xamarin-macios.

jahmai-ca avatar jahmai-ca commented on May 18, 2024

@rolfbjarne Just to clarify, how does NET6 improve the devloop (and this issue) for Native iOS applications (not MAUI applications)?

from xamarin-macios.

rolfbjarne avatar rolfbjarne commented on May 18, 2024

@jahmai-ca the interpreter is meant to provide faster devloop builds.

from xamarin-macios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.