WidgetCenterProxy icon indicating copy to clipboard operation
WidgetCenterProxy copied to clipboard

App does not start on iOS 12.0

Open uwe-neuronation opened this issue 4 years ago • 1 comments

I added you nice binding to my APP, it works well. Thank you! But on iOS 12.0 my app does not start anymore, even if it don't use the binding. Adding it is enough. Any idea why that happens?

uwe-neuronation avatar Oct 15 '21 11:10 uwe-neuronation

Ok, I solved it by changing the iOS Deployment Target in WidgetCenterProxy.xcodeproj to 12.0 and added Xamarin.iOS.SwiftRuntimeSupport to my Xamarin app to add the swift support.

In order to add support for iOS 12.1 and earlier, you want to ship specific Swift dylibs used to compile your framework. Use the Xamarin.iOS.SwiftRuntimeSupport NuGet package to process and copy required libs with your IPA. Add the NuGet reference to your target project and rebuild the application. No further steps are required, the NuGet package will install specific tasks, which are executed with the build process, identify required Swift dylibs and package them with the final IPA.

See: https://docs.microsoft.com/en-us/xamarin/ios/platform/binding-swift/walkthrough

uwe-neuronation avatar Oct 15 '21 12:10 uwe-neuronation