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 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.
Create new Xamarin Portable (shared) project
Add a second ViewController to Main.storyboard
Create a segue between the two VCs and choose Popover Presentation style
Build the iOS project
The entire output of the build is as follows:
1>------ Build started: Project: App5.iOS, Configuration: Debug iPhone ------
1> Generated session id: 22824a3fd65b76ad8c03fd7694e35be1
1> Generated build app name: App5iOS
1> Connecting to Mac server 192.168.1.197...
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(997,3): error :
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
There is no indication of what the error is. Switching the presentation style to "Push" fixes the build.
I have reproduced this error.
Dev PC Environment
Visual Studio Professional 2015 Version 14.0.25123.00 Update 2
Xamarin 18.104.22.168 (0dd817c)
Xamarin.iOS 22.214.171.124 (3a25bf1)
Macbook (Agent) Environment
OS X El Capitan Version 10.11.4
Simulator Version 9.3
Xcode Version 7.3 (7D175)
The issue occurs when one selects Popover Presentation style (two versions appear a deprecated and new) in the Segue "Widget" Properties. This causes an anonymous build error with not details!
Hi John and Matthew,
I couldn't repro this issue with latest 4.1.x build (which is currently in the Beta channel).
The only error I can see, is that no Anchor is set for the Segue. But once the anchor is set, the project builds successfully.
Can you please confirm if you're still seeing this issue with Beta builds?
Many thanks for responding.
Unfortunately, internal processes mean that we can only use "stable" framework builds - so I cannot make use of the "beta" you refer to :(
However, I added an Anchor using the anchor's LocalizationID and the project now builds and displays the popover correctly. Could you also remove the deprecated Popover from the "Segue" drop down as this will cause build errors also.
Is there any way you could provide an appropriate exception message such as "null anchor specified for segue xxxxx" or perhaps "please select an anchor when using a Present As Popover segue" to stop that anonymous build message appearing?
In any case, thanks for your help Jose - you saved the day.
All the best,
Also, please see my stack overflow post here for details:
I am now seeing the behavior you describe in the beta channel. This specific bug seems to have been fixed.
Resolving the bug as fixed, based on Comment 5.