Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 24236 [details]
Test project with reproduce
After update to Visual Studio for Mac to 7.1 build started to fail with following error:
ld: framework not found LaunchServices
clang : error : linker command failed with exit code 1 (use -v to see invocation)
Error happens because of following string:
extern static IntPtr LSSharedFileListCreate(IntPtr inAllocator, IntPtr inListType, IntPtr listOptions);
Remove DllImport fix the issue. Error doesn't occur in previous version of Visual Studio for Mac.
I tracked down error to clang call which in VS 7.1 has parameter "-framework LaunchServices". Previous version don't have such parameter and build complete successfully.
I added test project as attachment. It's just a new Xamarin.Mac project with DllImport included.
Is there any workaround? We can't remove LaunchServices reference because it needed for couple of features of our app.
We found this internally as well: https://bugzilla.xamarin.com/show_bug.cgi?id=58415
This is fixed in
Which will be fixed in d15.4.
This fix is not yet in the Alpha channel (will be next update), but you can download the package from:
If you need to downgrade to the previous release because of this and need package links, let me know.
Unfortunately, there is not a trivial work around.
I think you could make a framework with the same name, add that as a native reference, and that _might_ make it happy, but that is ugly and brittle even if it works. :(
Ok, thanks. Is there any ETA about d15.4?
Where can I find previous version of VS? Can't find it. Only Xamarin Studio downloads.
So you likely only need to downgrade Xamarin.Mac:
but here is VSfM as well if needed:
You can read about the Visual Studio release schedule here:
but often there is a new "minor" update, which 15.3->15.4 would likely be, every 6-8 weeks, and 15.3 just released this week.
We currently do not have a committed date, but that would be a reasonable first order estimate.