Xamarin Forms для iOS «Не удалось AOT сборка» - PullRequest
0 голосов
/ 07 октября 2019

Я разрабатываю приложение, используя формы xamarin, при развертывании на Android оно работает нормально, но для iOS выдает ошибку

Не удалось AOT сборки »/ Users / MyUser / Library / Caches / Xamarin /торпедные катера / сборки / DemoApp.iOS / 1200d99a740029217aed9915fa08d90d / C: /Users/MANISH~1.TIW/AppData/Local/Temp/vs370F.tmp/iPhone/Debug/device-builds/iphone6.1-12.0/mtouch-cache/3-Build / DemoApp.iOS.exe 'DemoApp.iOS

Так кто-нибудь может мне помочь с этой проблемой?

Журнал сборки:

2>E:\BudhiPrakash Data\android-sdk-new\tools\XamarinProjects\MyApps\ExampleApp\ExampleApp.iOS\Controls\CustomElementFrameRenderer.cs(35,35,35,75): warning CS0618: 'Frame.OutlineColorProperty' is obsolete: 'OutlineColorProperty is obsolete as of version 3.0.0. Please use BorderColorProperty instead.'
2>E:\BudhiPrakash Data\android-sdk-new\tools\XamarinProjects\MyApps\ExampleApp\ExampleApp.iOS\Service\IosDownloader.cs(34,30,34,32): warning CS0168: The variable 'ex' is declared but never used
2>E:\BudhiPrakash Data\android-sdk-new\tools\XamarinProjects\MyApps\ExampleApp\ExampleApp.iOS\Controls\CustomElementFrameRenderer.cs(67,33,67,64): warning CS0618: 'Frame.OutlineColor' is obsolete: 'OutlineColor is obsolete as of version 3.0.0. Please use BorderColor instead.'
2>  ExampleApp.iOS -> E:\BudhiPrakash Data\android-sdk-new\tools\XamarinProjects\MyApps\ExampleApp\ExampleApp.iOS\bin\iPhone\Debug\ExampleApp.iOS.exe
2>  Detected signing identity:
2>    Code Signing Key: "iPhone Developer: AVC SDF (234)" (3434)
2>    Provisioning Profile: "iOS Team Provisioning Profile: *" (23423-423423-4234-234-234)
2>    Bundle Id: com.app
2>    App Id: SDFSDFSD.com.app
2>  /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch @/Users/rajeev/Library/Caches/Xamarin/mtbs/builds/ExampleApp.iOS/1200d99a740029217aed9915fa08d90d/C:/Users/MANISH~1.TIW/AppData/Local/Temp/vs370F.tmp/iPhone/Debug/device-builds/iphone6.1-12.0/response-file.rsp -v -v -v -v 
2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): warning : The runtime version supported by this application is unavailable.
2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT3001: Could not AOT the assembly '/Users/rajeev/Library/Caches/Xamarin/mtbs/builds/ExampleApp.iOS/1200d99a740029217aed9915fa08d90d/C:/Users/MANISH~1.TIW/AppData/Local/Temp/vs370F.tmp/iPhone/Debug/device-builds/iphone6.1-12.0/mtouch-cache/3-Build/ExampleApp.iOS.exe'
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

Журнал диагностики:

CopyingFile - Path: /Users/rajeev/Library/Caches/Xamarin/mtbs/builds/HelpBuddiePrism.iOS/1200d99a740029217aed9915fa08d90d/bin/iPhone/Debug/device-builds/iphone6.1-12.0/HelpBuddiePrism.iOS.app/Close.png
 CopyingFile - PercentComplete: 99%
 CreatingStagingDirectory - PercentComplete: 5%
 ExtractingPackage - PercentComplete: 15%
 InspectingPackage - PercentComplete: 20%
 TakingInstallLock - PercentComplete: 20%
 PreflightingApplication - PercentComplete: 30%
 VerifyingApplication - PercentComplete: 40%
 APIInternalError: Failed to unhide archs in executable file:///private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.MG8Wit/extracted/HelpBuddiePrism.iOS.app/HelpBuddiePrism.iOS
...