Hi!
I'm trying to archive my Xamarin iOS app on Mac and failing on the error above. Not sure this forum will be able to help but the error is from codesign.
I also get a warning related to a deprecated command line parameter but I think that ca be ignored.
I tried targeting iphone 10, 11 and above but still failing on same error. I Updated NuGets to latest versions, also tried creating an empty ResourceRules.plist file.
Xcode 12.1 (17222) Build 12A7403
Xamarin.Mac Version: 6.22.1.26 (Visual Studio Community)
Xamarin.iOS Version: 14.4.1.3 (Visual Studio Community) Operating System Mac OS X 10.15.7
Build Command from log:
Tool /Applications/Xcode.app/Contents/Developer/usr/bin/actool execution started with arguments: --errors --warnings --notices --output-format xml1 --output-partial-info-plist /DemoApp/DemoApp.iOS/obj/iPhone/Release/actool/partial-info.plist --app-icon AppIcon --compress-pngs --target-device iphone --target-device ipad --minimum-deployment-target 11.0 --platform iphoneos --compile /DemoApp/DemoApp.iOS/obj/iPhone/Release/actool/bundle DemoApp/DemoApp.iOS/obj/iPhone/Release/actool/cloned-assets/Assets.xcassets
Output:
bin/iPhone/Release/MyDemoApp.iOS.app : error : Warning: --resource-rules has been deprecated in Mac OS X >= 10.10! bin/iPhone/Release/MyDemoApp.iOS.app : error : MyDemoApp/MyDemoApp.iOS/bin/iPhone/Release/MyDemoApp.iOS.app: invalid resource specification rule(s)
Done building target "_CodesignAppBundle" in project "MyDemoApp.iOS.csproj" -- FAILED.
I saw some references to this error mainly in old posts referring to code signing but couldn't find a recent solution referring to Xamarin. Any help would be appreciated. Cheers, Yuval
I'm trying to archive my Xamarin iOS app on Mac and failing on the error above. Not sure this forum will be able to help but the error is from codesign.
I also get a warning related to a deprecated command line parameter but I think that ca be ignored.
I tried targeting iphone 10, 11 and above but still failing on same error. I Updated NuGets to latest versions, also tried creating an empty ResourceRules.plist file.
Xcode 12.1 (17222) Build 12A7403
Xamarin.Mac Version: 6.22.1.26 (Visual Studio Community)
Xamarin.iOS Version: 14.4.1.3 (Visual Studio Community) Operating System Mac OS X 10.15.7
Build Command from log:
Tool /Applications/Xcode.app/Contents/Developer/usr/bin/actool execution started with arguments: --errors --warnings --notices --output-format xml1 --output-partial-info-plist /DemoApp/DemoApp.iOS/obj/iPhone/Release/actool/partial-info.plist --app-icon AppIcon --compress-pngs --target-device iphone --target-device ipad --minimum-deployment-target 11.0 --platform iphoneos --compile /DemoApp/DemoApp.iOS/obj/iPhone/Release/actool/bundle DemoApp/DemoApp.iOS/obj/iPhone/Release/actool/cloned-assets/Assets.xcassets
Output:
bin/iPhone/Release/MyDemoApp.iOS.app : error : Warning: --resource-rules has been deprecated in Mac OS X >= 10.10! bin/iPhone/Release/MyDemoApp.iOS.app : error : MyDemoApp/MyDemoApp.iOS/bin/iPhone/Release/MyDemoApp.iOS.app: invalid resource specification rule(s)
Done building target "_CodesignAppBundle" in project "MyDemoApp.iOS.csproj" -- FAILED.
I saw some references to this error mainly in old posts referring to code signing but couldn't find a recent solution referring to Xamarin. Any help would be appreciated. Cheers, Yuval