Bug 44635 - Deployment target check needs relaxed when processing 'fake' frameworks
Summary: Deployment target check needs relaxed when processing 'fake' frameworks
Status: CONFIRMED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll (show other bugs)
Version: XI 10.0 (iOS10)
Hardware: PC Mac OS
: --- normal
Target Milestone: Future Cycle (TBD)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-09-22 19:01 UTC by Bill Holmes
Modified: 2016-09-23 13:36 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Sample to test (1.60 MB, application/zip)
2016-09-22 19:01 UTC, Bill Holmes
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 for Bug 44635 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Bill Holmes 2016-09-22 19:01:45 UTC
Created attachment 17691 [details]
Sample to test

Open and build the sample app attached in Xamarin.iOS.

Expected Result:
App builds and runs without error.  

Actual Result:

MTOUCH: error MT1305: The binding library 'FakeFramework.dll' contains a user framework (FakeFramework.dll), but embedded user frameworks require iOS 8.0 (the deployment target is Bolts.framework). Please set the deployment target in the Info.plist file to at least 8.0.


The app has a binding that contains a native reference to a 'fake' framework.  (fake as in a framework that contains a static archive.  Not a dynamic framework.)

Dynamic frameworks are only supported in iOS 8 or later, however fake frameworks should be allowed in earlier versions of iOS.
Comment 1 Bill Holmes 2016-09-23 13:36:20 UTC
Here is the commit for the workaround that could be removed in Facebook if and when this patch lands.

https://github.com/xamarin/FacebookComponents/commit/53f28cd1abd194a563616f0367cec3a82bf6ff9e#diff-ef361d8b170f9a778c90f44fa20d43c5R2