-
Notifications
You must be signed in to change notification settings - Fork 1.9k
IOS Linker fixes inside Xamarin.Forms #8001
Conversation
8d26f69
to
58f52d9
Compare
Xamarin.Forms.ControlGallery.iOS/Xamarin.Forms.ControlGallery.iOS.csproj
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried it, everything still seems to work. Yay!
- remove UIWebView references
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good, build failed, looked like a fluke, I've triggered them again
Coming from #7323: Which Xamarin.Forms version will include this fix? Many thanks in advance! |
@DanielGramsJTL I've update the issue |
Updated Xamarin Forms to v4.4.0.991265. Here's a screenshot from ILSpy I can see the file has been updated here (https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Platform.iOS/Renderers/RefreshViewRenderer.cs), but isn't available in the build?. Thanks |
@zhsyedabbas this PR will show up in 4.5 I want to heavily emphasize that this PR will have zero effect on the warning about using UIWebView until changes are made to the Xamarin.iOS SDK Which is another reason this PR is targeting master because it's currently irrelevant to have any of these code changes |
@PureWeen I am on 4.5.0.187-pre2
|
Hi there! I am bulding Xamarin.Forms 4.5.0.187-pre2 with Xamarin.iOS 13.10.0.17 and --optimize=experimental-xforms-product-type. The linker is set to SdkOnly. When i launch the app, it crashes with an exception saying "Default constructor not found for type Xamarin.Forms.Platform.iOS.BoxRenderer". I am using BoxView, but only in xaml. I saw in the code that the BoxRenderer does not have a default constructor with [Preserve(Conditional = true)]. Is there a way to tell the linker to keep the BoxRenderer? Many thanks in advance! |
I am still getting the email as well. It is not hindering them accepting my app at this point. |
Just in case, anybody has the same problem: I solved it by adding Btw, after updating i do not get the warning mail from Apple anymore. |
Description of Change
This won't really cause anything to get linked out of the forms platform dll but it sets up the library so that some day maybe it can. It also let's us start testing this against our UI tests and master nightlies to make sure everything still works
Issues Resolved
Platforms Affected
Testing Procedure
PR Checklist