Comments (17)
I think Xamarin has a config file where you can explicitly declare methods that their linker fails to anticipate needing. I suggest you follow up with Xamarin support/forums to find out how to do that. I haven't personally hit this problem myself with PCLCrypto but I know this is a classic problem to hit with Xamarin.iOS and I know they have some tricks for you to pull when you hit it to workaround it.
from pclcrypto.
Thanks Andrew - I’ll take a look.
One more problem that I’m getting, running on iOS, is the error "System.NotImplementedException: Not implemented in reference assembly” when trying to do var provider = WinRTCrypto.SymmetricKeyAlgorithmProvider.OpenAlgorithm(SymmetricAlgorithm.AesCbcPkcs7
Do you know what the issue is?
Thanks,
Ed
On 10 Feb 2015, at 17:12, Andrew Arnott [email protected] wrote:
I think Xamarin has a config file where you can explicitly declare methods that their linker fails to anticipate needing. I suggest you follow up with Xamarin support/forums to find out how to do that. I haven't personally hit this problem myself with PCLCrypto but I know this is a classic problem to hit with Xamarin.iOS and I know they have some tricks for you to pull when you hit it to workaround it.
—
Reply to this email directly or view it on GitHub #9 (comment).
from pclcrypto.
See #10
from pclcrypto.
That typically happens when you don't install the PclCrypto package into
your iOS app project. If you do that, the problem should go away.
On Tue Feb 10 2015 at 9:16:23 AM pricimus [email protected] wrote:
Thanks Andrew - I’ll take a look.
One more problem that I’m getting, running on iOS, is the error
"System.NotImplementedException: Not implemented in reference assembly”
when trying to do var provider =
WinRTCrypto.SymmetricKeyAlgorithmProvider.OpenAlgorithm(SymmetricAlgorithm.AesCbcPkcs7Do you know what the issue is?
Thanks,
EdOn 10 Feb 2015, at 17:12, Andrew Arnott [email protected]
wrote:I think Xamarin has a config file where you can explicitly declare
methods that their linker fails to anticipate needing. I suggest you follow
up with Xamarin support/forums to find out how to do that. I haven't
personally hit this problem myself with PCLCrypto but I know this is a
classic problem to hit with Xamarin.iOS and I know they have some tricks
for you to pull when you hit it to workaround it.—
Reply to this email directly or view it on GitHub <
https://github.com/AArnott/PCLCrypto/issues/9#issuecomment-73739956>.—
Reply to this email directly or view it on GitHub
#9 (comment).
from pclcrypto.
@pricimus
Did you ever fix this issue? Just now getting this same problem only when LLVM compiler is turned on.
This issue does not seem to have anything to do with the linker since turning the linker off completely still produces the error if LLVM compiling is turned on.
We have been using PCLCrypto for months successfully up to December 8th (our last push to TestFlight). Now all of a sudden the app crashes on an actual device only when it hits the GetBytes()
method while LLVM is turned on.
I am using the latest version of PCLCrypto and the latest version of Xamarin Forms/iOS. Thanks.
I also want to mention this Xamarin Forum thread where other people are experiencing the same issue:
https://forums.xamarin.com/discussion/56990/attempting-to-jit-compile-method-while-running-with-aot-only
from pclcrypto.
Given the regression you're seeing I suspect the fault is in the Xamarin aot compiler. I don't know how to workaround it.
from pclcrypto.
Thanks for the info. Will send them an email.
from pclcrypto.
Please relay anything you learn here for others' benefit. :)
from pclcrypto.
Will do, speaking with them now.
from pclcrypto.
Did you find any solution?
from pclcrypto.
Not yet. Emailed Xamarin Support and went back and forth sending them logs and a recreation of the issue. The tech was able to see the error from the demo project I sent but have not heard back from them since before the Xmas break. Will be attempting to contact them again on Monday and will update the thread when I hear something.
from pclcrypto.
@hvaughan3 Thank you for the information. Would be really great if you could keep me posted!
from pclcrypto.
@qqilihq
A public bug report has been filed by Xamarin Support here.
from pclcrypto.
you can CC yourself on the bug by logging into the bugzilla site and then on the bug page click Save Changes (since the "add me to the CC line" checkbox is checked by default once you're logged in).
from pclcrypto.
@hvaughan3 @AArnott Perfect, thank you!
from pclcrypto.
Thanks @AArnott. It looks like this bug has been fixed, though I have not tested it out yet. Not sure when I will be able to. Thanks for your help.
from pclcrypto.
@qqilihq
Just wanted to come back to comment about the latest statement in the bug report. Spoke to Xamarin Support again and they are still looking into the issue. They are not sure when it will be fixed but that a solution currently might be to downgrade to version 1.0.2. I have not personally tried this yet though.
from pclcrypto.
Related Issues (20)
- UWP: Process initialization failed with status 0xc0000139 HOT 3
- Alpha assembly causes MSBuild failure in ResolveLibraryProjectImports task HOT 4
- Export Control Classification Number HOT 1
- Could not load assembly 'crypto, Version=1.8.0.0. HOT 1
- .NET Core Support Stable Release HOT 1
- RSACryptoServiceProvider ImportParameters failing with 'Bad Data' for WinRTExtensions.ExportParameters rsa parameters
- use pclcrypto in a webapp HOT 3
- Linux mono support HOT 2
- PCLCrypto does not support .NET 3.5 HOT 1
- wpf and windows form? HOT 1
- native exception "Entrypoint not found" when running in UWP x64 HOT 4
- Error "Unexpected format or unsupported key" when importing keys HOT 5
- broken link HOT 1
- Need to add uap10.0.17763 target to PCLCrypto HOT 3
- PlatformNotSupportedException with 2.1.40-alpha on UWP release config
- Decrypt problems on my code HOT 1
- can not load the project HOT 1
- Dispose can throw unnecessary exceptions
- iOS Linker removes support for PCLCrypto.SymmetricKeyAlgorithmProvider.GetAlgorithm HOT 2
- IOS Release version showing error "PlatformNotSupported" because of PCLCrypto.SymmetricKeyAlgorithmProvider.GetAlgorithm() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pclcrypto.