Comments (13)
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.
It's almost 1 year since the last update, any chance this will get resolved soon?
from xamarin-macios.
+1. We multiple native binding projects and therefore have incremental building disabled which slows down development significantly.
from xamarin-macios.
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.
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.
Closing as per my latest comment.
from xamarin-macios.
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.
@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.
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.
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.
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.
@rolfbjarne Just to clarify, how does NET6 improve the devloop (and this issue) for Native iOS applications (not MAUI applications)?
from xamarin-macios.
@jahmai-ca the interpreter is meant to provide faster devloop builds.
from xamarin-macios.
Related Issues (20)
- GCVirtualControllerConfiguration missing iOS 17 hidden attribute HOT 1
- TextBox still has the focus when we put another app on foreground HOT 3
- Test1 HOT 1
- test HOT 1
- Issue binding iOS native library HOT 5
- Xamarin iOS Build Errors After Updating Mac to Sonoma and Xcode to 15.3 HOT 5
- Enabling the interpreter for macOS fails to build
- [macOS] Exception in NSControl.Activated event handler doesn't crash the app HOT 2
- Error publishing Net MAUI App VS Windows paired with Mac HOT 11
- UISegmentedControl.SetTitleTextAttributes throws System.ObjectDisposedException HOT 1
- App crash at startup after migrating from .Net7 to .Net8 and from VS For Mac to VS Code HOT 3
- SMTP Client fail on send mail with TSL 1.3
- NET8.0 Unable to compile the project when using Static Library HOT 3
- MacCat Incremental builds show warning requiring "Open Anyway" button to be clicked HOT 3
- Question: Is it possible to attach NSWindow to OC NSWindow pointer? HOT 2
- Stream from GetStreamAsync stops writing to buffer after short period of time HOT 5
- Canβt launch the application from TestFlight after updates HOT 9
- Unexpected error (MT0000) in release mode xamarin forms in platform macos HOT 3
- ObjCRuntime.Runtime.IsNativeAOT allocates a lot of objects HOT 3
- Xamarin.Forms iOS Release Mode Crash after iOS 17 update HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xamarin-macios.