Sometimes, obfuscation is not needed and instead only a consistency / integrity check is needed. For this purpose, asymmetric ciphers work better.
Implement signing resource using the private key in the Java utility and verifying using public key in the iOS library.