This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 51710 - [tvOS]Native linking failure when is built with fastdev enabled.
Summary: [tvOS]Native linking failure when is built with fastdev enabled.
Alias: None
Product: iOS
Classification: Xamarin
Component: General (show other bugs)
Version: XI 10.4 (C9)
Hardware: PC Mac OS
: Normal normal
Target Milestone: 15.3
Assignee: Rolf Bjarne Kvinge
Depends on:
Reported: 2017-01-23 16:26 UTC by GouriKumari
Modified: 2017-04-04 08:29 UTC (History)
3 users (show)

See Also:
Is this bug a regression?: Yes
Last known good build: (cycle9: 7f111f7)


Description GouriKumari 2017-01-23 16:26:45 UTC

Comment 1 GouriKumari 2017-01-23 16:31:28 UTC
## Steps to reproduce:

Update System to Xamarin.iOS cycle9 build  mtouch (cycle9: 4e31137).
Build Linkall-tvOS.csproj with fastdev enabled.

## Actual Behaviour:
App faisl to build with native linking error.

## Build Log with fastdev enabled:

## Supplemental Info:
It builds successfully when fastdev is disabled.
This issue seems to be introduced with
Comment 2 Rolf Bjarne Kvinge 2017-01-23 16:42:28 UTC
I can reproduce, but reverting the test-only changes from makes the build succeed (, which proves that this isn't a regression in any bits we ship.
Comment 3 Rolf Bjarne Kvinge 2017-01-23 16:52:29 UTC
This is the tvOS-version (and probably watchOS as well) of bug #51548 (the fix for bug #51548 was to pass '-u _symbolX' to the linker, but '-u' is not allowed for bitcode).

@Sebastien, my suggestion here would be to bump this to C10, because tvOS (and watchOS) is much less used than iOS, so the impact should be lower (and the workaround is trivial). Once fixed, we can evaluate if we want it in a C9 service release or not.
Comment 4 Sebastien Pouliot 2017-01-23 16:54:33 UTC
I'm fine with adding a "known issue" to C9 release notes to cover this (until fixed).
Comment 5 Rolf Bjarne Kvinge 2017-01-30 18:13:18 UTC
For C9: automatically disable fastdev when we find binding projects in tvOS and watchOS.
Comment 6 Rolf Bjarne Kvinge 2017-01-31 07:25:37 UTC
I've implemented a temporary workaround for this:

Comment 7 Sebastien Pouliot 2017-01-31 15:16:46 UTC
-> C10
Comment 8 Sebastien Pouliot 2017-03-24 19:36:03 UTC
@Rolf was that to be fixed with PR 1680 ? or did we wait for it to merge to fix it ?
Comment 9 Rolf Bjarne Kvinge 2017-03-27 06:29:50 UTC
@Sebastien, no, this was not fixed with PR #1680.

Note You need to log in before you can comment on or make changes to this bug.