Open grounch opened 4 years ago
Please restart the IDE. It seems like you updated nuget packages and the old nuget's msbuild task is still loaded. Restarting the IDE and doing a clean build should help. Also please consider updating to Xamarin.Build.Download 0.8.0 as there are some fixes.
Restarted, cleaned project, deleted output folders, deleted package folder... nothing changes. Updated to 0.8.0 changed the task concerned by the error, but still not building.
...packages/Xamarin.Build.Download.0.8.0/build/Xamarin.Build.Download.targets(4,4): Error MSB4064: The "AllowUnsecureUrls" parameter is not supported by the "XamarinDownloadArchives" task. Verify the parameter exists on the task, and it is a settable public instance property. (MSB4064) (...Droid)
...packages/Xamarin.Build.Download.0.8.0/build/Xamarin.Build.Download.targets(3,3): Error MSB4063: The "XamarinDownloadArchives" task could not be initialized with its input parameters. (MSB4063) (...Droid)
In Xamarin.Build.Download.target i set this to true
<XamarinBuildDownloadAllowUnsecure Condition="'$(XamarinBuildDownloadAllowUnsecure)' == ''">false</XamarinBuildDownloadAllowUnsecure>
Also in manifest i added : android:usesCleartextTraffic="true"
Delete bin and obj folder from all the projects, and restore packages, clean and build did the trick for me apparently
I can confirm that @starl1n workaround works
Dear team, I have the same issue:
FROM APP STORE: Dear Developer, We identified one or more issues with a recent delivery for your app, "greenYng for Citizen" 1.1.83 (1.1.83). Please correct the following issues, then upload again. ITMS-90338: Non-public API usage - The app references non-public selectors in greenyng.mobileapp.citizen.iOS: behaviorTypes, convolutionState, discoverAllContactUserInfosWithCompletionHandler:, discoverAllContactsCompletionBlock, discoverUserInfoWithEmailAddress:completionHandler:, discoverUserInfoWithUserRecordID:completionHandler:, discoverUserInfosCompletionBlock, displayContact, drawableResizesAsynchronously, encodeToCommandBuffer:sourceImage:convolutionState:, encodeToCommandBuffer:sourceImage:destinationImage:state:, getProperty:onChannel:responseHandler:, hasProperty:onChannel:responseHandler:, initWithEmailAddresses:userRecordIDs:, initWithMIDIEntity:dataReadyHandler:, initWithZoneID:options:, initWithZoneID:subscriptionID:options:, isPublicDatabase, mouseUpAction, newDrawable, propertyChangedCallback, removeAllAppearanceStreams, replaceTextStorage:, retrieveConnectedPeripherals, retrievePeripherals:, setDiscoverAllContactsCompletionBlock:, setDiscoverUserInfosCompletionBlock:, setDrawableResizesAsynchronously:, setEditedMask:, setMouseUpAction:, setProperty:onChannel:responseHandler:, setPropertyChangedCallback:, setSocketFamily:, setTemporaryAttributes:forCharacterRange:, setUserRecordIDs:, sourceOffset, subscriptionOptions, takeBackgroundColorFrom:, takePasswordFrom:, temporalAntialiasingEnabled, userRecordIDs. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/ Though you are not required to fix the following issues, we wanted to make you aware of them: ITMS-90809: Deprecated API Usage - App updates that use UIWebView will no longer be accepted as of December 2020. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview). Best regards, The App Store Team
Let me share my context: I am developing with Xamarin Forms and my packages on iOS projects are:
<ItemGroup>
<PackageReference Include="CarouselView.FormsPlugin">
<Version>5.2.0</Version>
</PackageReference>
<PackageReference Include="DotNetty.Buffers">
<Version>0.6.0</Version>
</PackageReference>
<PackageReference Include="DotNetty.Codecs">
<Version>0.6.0</Version>
</PackageReference>
<PackageReference Include="DotNetty.Codecs.Mqtt">
<Version>0.6.0</Version>
</PackageReference>
<PackageReference Include="DotNetty.Common">
<Version>0.6.0</Version>
</PackageReference>
<PackageReference Include="DotNetty.Handlers">
<Version>0.6.0</Version>
</PackageReference>
<PackageReference Include="DotNetty.Transport">
<Version>0.6.0</Version>
</PackageReference>
<PackageReference Include="Humanizer">
<Version>2.7.2</Version>
</PackageReference>
<PackageReference Include="linqtotwitter">
<Version>5.0.0</Version>
</PackageReference>
<PackageReference Include="Microcharts.Forms">
<Version>0.9.1</Version>
</PackageReference>
<PackageReference Include="Microsoft.AppCenter">
<Version>2.6.4</Version>
</PackageReference>
<PackageReference Include="Microsoft.AppCenter.Analytics">
<Version>2.6.4</Version>
</PackageReference>
<PackageReference Include="Microsoft.AppCenter.Crashes">
<Version>2.6.4</Version>
</PackageReference>
<PackageReference Include="Microsoft.Azure.Amqp">
<Version>2.4.3</Version>
</PackageReference>
<PackageReference Include="Microsoft.Azure.Devices.Client">
<Version>1.19.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.Azure.Devices.Shared">
<Version>1.15.2</Version>
</PackageReference>
<PackageReference Include="Microsoft.Azure.Storage.Blob">
<Version>11.1.7</Version>
</PackageReference>
<PackageReference Include="Microsoft.CSharp">
<Version>4.7.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.Data.Edm">
<Version>5.8.2</Version>
</PackageReference>
<PackageReference Include="Microsoft.Data.OData">
<Version>5.8.2</Version>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions">
<Version>3.1.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging">
<Version>1.1.1</Version>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions">
<Version>1.1.1</Version>
</PackageReference>
<PackageReference Include="Microsoft.NETCore.Platforms">
<Version>3.1.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.Rest.ClientRuntime">
<Version>2.3.2</Version>
</PackageReference>
<PackageReference Include="MonkeyCache">
<Version>1.3.0</Version>
</PackageReference>
<PackageReference Include="MonkeyCache.SQLite">
<Version>1.3.0</Version>
</PackageReference>
<PackageReference Include="NdefLibrary">
<Version>3.1.1</Version>
</PackageReference>
<PackageReference Include="Newtonsoft.Json">
<Version>12.0.3</Version>
</PackageReference>
<PackageReference Include="PCLStorage">
<Version>1.0.2</Version>
</PackageReference>
<PackageReference Include="PInvoke.BCrypt">
<Version>0.5.184</Version>
</PackageReference>
<PackageReference Include="PInvoke.NCrypt">
<Version>0.5.184</Version>
</PackageReference>
<PackageReference Include="PInvoke.Windows.Core">
<Version>0.5.184</Version>
</PackageReference>
<PackageReference Include="Plugin.DeviceOrientation">
<Version>1.0.7</Version>
</PackageReference>
<PackageReference Include="Plugin.Permissions">
<Version>3.0.0.12</Version>
</PackageReference>
<PackageReference Include="Plugin.Share">
<Version>7.1.1</Version>
</PackageReference>
<PackageReference Include="Refractored.XamForms.PullToRefresh">
<Version>2.4.1</Version>
</PackageReference>
<PackageReference Include="sqlite-net-pcl">
<Version>1.5.231</Version>
</PackageReference>
<PackageReference Include="System.Reactive.Core">
<Version>4.3.2</Version>
</PackageReference>
<PackageReference Include="System.Reactive.Interfaces">
<Version>4.3.1</Version>
</PackageReference>
<PackageReference Include="System.Reactive.Linq">
<Version>4.3.1</Version>
</PackageReference>
<PackageReference Include="System.Reactive.PlatformServices">
<Version>4.3.1</Version>
</PackageReference>
<PackageReference Include="System.Security.Cryptography.X509Certificates">
<Version>4.3.2</Version>
</PackageReference>
<PackageReference Include="System.Spatial">
<Version>5.8.2</Version>
</PackageReference>
<PackageReference Include="System.Threading.Tasks">
<Version>4.3.0</Version>
</PackageReference>
<PackageReference Include="System.Threading.Tasks.Extensions">
<Version>4.5.3</Version>
</PackageReference>
<PackageReference Include="System.Xml.ReaderWriter">
<Version>4.3.1</Version>
</PackageReference>
<PackageReference Include="Xam.Plugin.Geolocator">
<Version>4.5.0.6</Version>
</PackageReference>
<PackageReference Include="Xam.Plugin.Media">
<Version>5.0.1</Version>
</PackageReference>
<PackageReference Include="Xam.Plugins.Forms.ImageCircle">
<Version>3.0.0.5</Version>
</PackageReference>
<PackageReference Include="Xam.Plugins.Notifier">
<Version>3.0.1</Version>
</PackageReference>
<PackageReference Include="Xam.Plugins.TextToSpeech">
<Version>4.0.0.7</Version>
</PackageReference>
<PackageReference Include="Xamarin.Build.Download">
<Version>0.10.0</Version>
</PackageReference>
<PackageReference Include="Xamarin.Essentials">
<Version>1.5.3.2</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms" Version="4.7.0.1179" />
<PackageReference Include="Xamarin.Forms.Maps">
<Version>4.7.0.1179</Version>
</PackageReference>
<PackageReference Include="ZXing.Net.Mobile.Forms">
<Version>2.4.1</Version>
</PackageReference>
Dear team, I have the same issue:
FROM APP STORE: Dear Developer, We identified one or more issues with a recent delivery for your app, "greenYng for Citizen" 1.1.83 (1.1.83). Please correct the following issues, then upload again. ITMS-90338: Non-public API usage - The app references non-public selectors in greenyng.mobileapp.citizen.iOS: behaviorTypes, convolutionState, discoverAllContactUserInfosWithCompletionHandler:, discoverAllContactsCompletionBlock, discoverUserInfoWithEmailAddress:completionHandler:, discoverUserInfoWithUserRecordID:completionHandler:, discoverUserInfosCompletionBlock, displayContact, drawableResizesAsynchronously, encodeToCommandBuffer:sourceImage:convolutionState:, encodeToCommandBuffer:sourceImage:destinationImage:state:, getProperty:onChannel:responseHandler:, hasProperty:onChannel:responseHandler:, initWithEmailAddresses:userRecordIDs:, initWithMIDIEntity:dataReadyHandler:, initWithZoneID:options:, initWithZoneID:subscriptionID:options:, isPublicDatabase, mouseUpAction, newDrawable, propertyChangedCallback, removeAllAppearanceStreams, replaceTextStorage:, retrieveConnectedPeripherals, retrievePeripherals:, setDiscoverAllContactsCompletionBlock:, setDiscoverUserInfosCompletionBlock:, setDrawableResizesAsynchronously:, setEditedMask:, setMouseUpAction:, setProperty:onChannel:responseHandler:, setPropertyChangedCallback:, setSocketFamily:, setTemporaryAttributes:forCharacterRange:, setUserRecordIDs:, sourceOffset, subscriptionOptions, takeBackgroundColorFrom:, takePasswordFrom:, temporalAntialiasingEnabled, userRecordIDs. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/ Though you are not required to fix the following issues, we wanted to make you aware of them: ITMS-90809: Deprecated API Usage - App updates that use UIWebView will no longer be accepted as of December 2020. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview). Best regards, The App Store Team
Let me share my context: I am developing with Xamarin Forms and my packages on iOS projects are:
5.2.0 0.6.0 0.6.0 0.6.0 0.6.0 0.6.0 0.6.0 2.7.2 5.0.0 0.9.1 2.6.4 2.6.4 2.6.4 2.4.3 1.19.0 1.15.2 11.1.7 4.7.0 5.8.2 5.8.2 3.1.0 1.1.1 1.1.1 3.1.0 2.3.2 1.3.0 1.3.0 3.1.1 12.0.3 1.0.2 0.5.184 0.5.184 0.5.184 1.0.7 3.0.0.12 7.1.1 2.4.1 1.5.231 4.3.2 4.3.1 4.3.1 4.3.1 4.3.2 5.8.2 4.3.0 4.5.3 4.3.1 4.5.0.6 5.0.1 3.0.0.5 3.0.1 4.0.0.7 0.10.0 1.5.3.2 4.7.0.1179 2.4.1 Please let me know if you need more information. Thanks in advance PD: I believe both issues are packages that I have added, but the problems it is finding what upgrade version was the cause of this error... I am completely lost...
--
I had the same problem. The solution in my case was removing LiveXaml lib from iOS project.
Hi Got this 2 errors when building the droid project:
.../packages/Xamarin.Build.Download.0.7.1/build/Xamarin.Build.Download.targets(4,4): Error MSB4064: The "AllowUnsecureUrls" parameter is not supported by the "XamarinDownloadPartialZips" task. Verify the parameter exists on the task, and it is a settable public instance property. (MSB4064) (Project.Droid) ...packages/Xamarin.Build.Download.0.7.1/build/Xamarin.Build.Download.targets(3,3): Error MSB4063: The "XamarinDownloadPartialZips" task could not be initialized with its input parameters. (MSB4063) (Project.Droid)
I'm allowing cleartext in network_secutiry_config.xml but setting it back to false doesn't change anything. Could you have a look please i have no clue how to solve this.
Xamarin.Build.Download 0.7.1