-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] Error when archiving Xamarin Form iOS app for deployment to App Store #15602
Comments
What version of Xamarin.iOS are you using? Which version of Visual Studio? |
Using VS 17.4.0 Community and Xamarin.iOS 16.0.0.92 |
Updated to VS 17.4.1 and that seemed to do the trick... lol. |
This issue is creeping back up with VS 17.4.1. Failed to create App archive 'Mjolnir'. |
Description
Attempting to archive package for deployment to App Store for review. Archive is erroring out with complaint of Xamarin Forms control not being assigned the appropriate metadata or indicators required to comply with build. App builds and deploys to devices alright, but archiving is broken.
Steps to Reproduce
Expected Behavior
Archive completes successfully.
Actual Behavior
Build properties for C:\Users\Matt\HRO\Mjolnir\Mjolnir.iOS\Mjolnir.iOS.csproj: VisualStudioProcessId: 15556, SolutionPath: C:\Users\Matt\HRO\Mjolnir\Mjolnir.sln, SolutionName: Mjolnir, RunConfiguration: Default, ArchiveOnBuild: False, ArchivePath: , IsAppDistribution: False, DeviceSpecificBuild: false, TargetiOSDevice: , IsHotRestartBuild: False, MessagingVersion: 17.4.0.301, _DotNetRootRemoteDirectory: /Users/matt\Library\Caches\Xamarin\XMA\SDKs\dotnet/, ServerSshPort: 22, ServerTcpPort: 50363, ServerUser: matt, ContinueOnDisconnected: False, ServerAddress: 192.168.86.72
Cannot create an IOS archive 'Mjolnir.iOS'. Process cannot be executed on XMA server.
The registrar found an invalid type 'UIKit.IUIViewControllerAnimatedTransitioning' in signature for method 'UIKit.UITabBarController/_UITabBarControllerDelegate.GetInteractionControllerForAnimationController': The interface must have a Protocol attribute specifying its wrapper type.
The registrar found an invalid type 'UIKit.IUIViewControllerTransitionCoordinator' in signature for method 'Xamarin.Forms.Platform.iOS.TabletFlyoutPageRenderer.ViewWillTransitionToSize': The interface must have a Protocol attribute specifying its wrapper type.
The registrar found an invalid type 'UIKit.IUIDragSession' in signature for method 'Xamarin.Forms.Platform.iOS.DragAndDropDelegate.SessionWillEnd': The interface must have a Protocol attribute specifying its wrapper type.
The registrar found an invalid type 'UIKit.IUIDropSession' in signature for method 'Xamarin.Forms.Platform.iOS.DragAndDropDelegate.CanHandleSession': The interface must have a Protocol attribute specifying its wrapper type.
The registrar found an invalid type 'UIKit.IUIDropSession' in signature for method 'Xamarin.Forms.Platform.iOS.DragAndDropDelegate.SessionDidExit': The interface must have a Protocol attribute specifying its wrapper type.
The registrar found an invalid type 'UIKit.IUIDropSession' in signature for method 'Xamarin.Forms.Platform.iOS.DragAndDropDelegate.SessionDidUpdate': The interface must have a Protocol attribute specifying its wrapper type.
The registrar found an invalid type 'UIKit.IUIDropSession' in signature for method 'Xamarin.Forms.Platform.iOS.DragAndDropDelegate.PerformDrop': The interface must have a Protocol attribute specifying its wrapper type.
Failed to create App archive 'Mjolnir'.
Basic Information
Environment
Show/Hide Visual Studio info
Build Logs
Screenshots
Reproduction Link
Workaround
The text was updated successfully, but these errors were encountered: