BouncyCastle-ObjC
Requirements
- JDK 1.8 / 11
For example, use Homebrew to install the JDK 1.8
% brew cask install adoptopenjdk8
% echo export JAVA_HOME=$(/usr/libexec/java_home -v"1.8") >> ~/.zshrc
% source ~/.zshrc
% cat ~/.zshrc
> export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
% java -version
> openjdk version "1.8.0_242"
> OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_242-b08)
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.242-b08, mixed mode)
Installation
BouncyCastle-ObjC is available through CocoaPods. To install it, simply add the following line to your Podfile:
% pod 'BouncyCastle-ObjC'
Troubleshoots
1. J2ObjC dist/ folder is generated but no translated Objective-C files under Classes/.
Please clean the Pods/ and use the pod install --verbose
, make sure the generate.sh
works without any error. After transalted job done you can run pod install
again to generate valid xcworkspace.
License
BouncyCastle-ObjC is available under the AGPL license. See the LICENSE file for more info. The Bouncy Castle source code is licensed under MIT.