agens-no / EllipticCurveKeyPair

Sign, verify, encrypt and decrypt using the Secure Enclave
Other
708 stars 114 forks source link

Demo Project Error #43

Open SerialForBreakfast opened 5 years ago

SerialForBreakfast commented 5 years ago

Getting an error in the init for the Manager class. The how do you pass the config to the Helper method?

EllipticCurveKeyPair.swift:99:42: Argument passed to call that takes no arguments self.helper = Helper(config: config)

SerialForBreakfast commented 5 years ago

I just checked and this error appears in both the Mac and iOS demo projects.

westrada commented 5 years ago

I got the same issue and it was fixed adding this code into the Helper struct

public init(config: Config) { self.config = config }