alexrainman / ModernHttpClient

ModernHttpClient
MIT License
126 stars 28 forks source link

Can't install version 3.0.0 in iOS because BouncyCastle dependency #26

Closed rayita closed 5 years ago

rayita commented 5 years ago

I'm unable to install version 3.0.0 in iOS because BouncyCastle dependency. There is no Xamarin iOS compatible BouncyCastle nuget package.

alexrainman commented 5 years ago

Why I can? I developed the plugin using this nuget https://www.nuget.org/packages/BouncyCastle/ and it can be installed in any iOS project.

rayita commented 5 years ago

I don't know why you can and I can't, but when I try to install BouncyCastle nuget package (same as you) I get this error message:

NU1202: Package BouncyCastle 1.8.5 is not compatible with xamarinios10 (Xamarin.iOS,Version=v1.0) / win-x86. Package BouncyCastle 1.8.5 supports: net (.NETFramework,Version=v0.0)

leo-mck commented 5 years ago

I am also having this problem. And if I try to directly install "BouncyCastle 1.8.5" on a new XF app, I get:

NU1202: Package BouncyCastle 1.8.5 is not compatible with xamarinios10 (Xamarin.iOS,Version=v1.0). Package BouncyCastle 1.8.5 supports: net (.NETFramework,Version=v0.0)
NU1202: Package BouncyCastle 1.8.5 is not compatible with xamarinios10 (Xamarin.iOS,Version=v1.0) / win. Package BouncyCastle 1.8.5 supports: net (.NETFramework,Version=v0.0)
NU1202: Package BouncyCastle 1.8.5 is not compatible with xamarinios10 (Xamarin.iOS,Version=v1.0) / win-x64. Package BouncyCastle 1.8.5 supports: net (.NETFramework,Version=v0.0)
NU1202: Package BouncyCastle 1.8.5 is not compatible with xamarinios10 (Xamarin.iOS,Version=v1.0) / win-x86. Package BouncyCastle 1.8.5 supports: net (.NETFramework,Version=v0.0)

I can, however, install the package "Portable.BouncyCastle 1.8.5" normally.

alexrainman commented 5 years ago

Can you guys try version 1.8.4?

rayita commented 5 years ago

Same result

alexrainman commented 5 years ago

@rayita can you confirm you can install Portable.BouncyCastle 1.8.5?

rayita commented 5 years ago

Yes, I can. The main difference between both package is that BouncyCastle does not declare wich frameworks are compatible with in nuspec file, and Portable.BouncyCastle does.

alexrainman commented 5 years ago

Weird. Still wonder why I can install it. Going to release a package update just to change this dependency in iOS.