Skip to content

[iosurface] IOSurface is not usable before iOS/tvOS 11. Fixes #59201 - #2706

Merged
spouliot merged 1 commit into
dotnet:xcode9from
spouliot:xcode9-iosurface-fix
Sep 15, 2017
Merged

[iosurface] IOSurface is not usable before iOS/tvOS 11. Fixes #59201#2706
spouliot merged 1 commit into
dotnet:xcode9from
spouliot:xcode9-iosurface-fix

Conversation

@spouliot

Copy link
Copy Markdown
Contributor

Apple rejects apps that links with the previously private IOSurface.framework.
We were not sure about this [1] and had it disabled (this is removed).

However another bug stopped our adjustment logic [2] from being executed. This
is needed since clang picks up the private framework if it does not find the
public one (even when asking for a weak framework),

[1] https://bugzilla.xamarin.com/show_bug.cgi?id=59201
[2] Added a while ago for JavascriptCore

Apple rejects apps that links with the previously private IOSurface.framework.
We were not sure about this [1] and had it disabled (this is removed).

However another bug stopped our adjustment logic [2] from being executed. This
is needed since `clang` picks up the private framework if it does not find the
public one (even when asking for a weak framework),

[1] https://bugzilla.xamarin.com/show_bug.cgi?id=59201
[2] Added a while ago for JavascriptCore
// /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
// more details in https://bugzilla.xamarin.com/show_bug.cgi?id=31036
if (Target.WeakFrameworks.Count > 0)
if (CompilerFlags.WeakFrameworks.Count > 0)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 nice one!

@monojenkins

Copy link
Copy Markdown
Contributor

Build failure

@spouliot

Copy link
Copy Markdown
Contributor Author

mmp-test failed with [FAIL] WebKit is absent

@spouliot

Copy link
Copy Markdown
Contributor Author

This seems unrelated since the only change is made to mtouch, not mmp.
@chamons have you ever see this one ? I'll file it tomorrow (unless it exists) but right now we need a package with this fix.

@spouliot
spouliot merged commit a74174e into dotnet:xcode9 Sep 15, 2017
@chamons

chamons commented Sep 15, 2017

Copy link
Copy Markdown
Contributor

@spouliot I believe it is https://bugzilla.xamarin.com/show_bug.cgi?id=59277

I was going to look at a fix after I get #2685 working, should be trivial.

@spouliot
spouliot deleted the xcode9-iosurface-fix branch September 15, 2017 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants