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)

See Also:
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

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

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