I wrote a small library for one-time passwords, and I would like to make it accessible through CocoaPods, but I cannot verify the specification is correct.
-> OTPGenerator (1.0) - ERROR | [iOS] Returned a failed exit code. You can use --verbose for more information. - ERROR | ... / OTPGenerator / OTPGenerator / HOTPGenerator.swift: 19: 8: error: no such module 'CommonCrypto'
Everything works fine in Xcode, for example, a project is compiled without additional configuration. I added the dummy CommonCrypto structure to the CommonCrypto and made the real structure dependent on it.
Is there a way to make this visible to the pod specification? I tried several ways, but always get the same error.
Source code is available here: https://github.com/codewise/ios-otp-generators .
source share