You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am very glad that I got this great library for homomorphic encryption in my app. But I would like to inform that i am getting compilation issue while running the project on simulator. below are the details. Any suggestion would be appreciated.
Xcode version: 11.3.1
iOS version: 13.0
Swift version: 5.0 as well as 4.2
d /Users/anusuya_p/Library/Developer/Xcode/DerivedData/VisionSample-gisduavvviadxadozdzqqmpaaxku/Build/Products/Debug-iphonesimulator/VisionSample.app/VisionSample normal (in target 'VisionSample' from project 'VisionSample')
I'm happy to hear, that the library is useful for you. Actually, I don't have much time to look into this issue right now, but it seems, that the GMP library can't be linked. You should be able to easily remove GMP from this library and use Bignum only, which is pure Swift, so there shouldn't be any linking problem.
Thanks for the reply. you mean OpenSSL-based Swift big number library? Do you have any quick reference to refer and make the things work? I am looking for the details how to remove GMP from this library and use the BigInt ? could you please help me on this. Thank you!
To remove GMP, you have to remove the dependency BignumGMP from Package.swift (line 14 and in line 19). Then you have to remove it from Paillier.swift: I'm not 100% sure, but I think it should be possible to replace line 8 with typealias Bignum = BigUInt.
Let me know, if this works.
Thanks @code28 for the details. I made necessary changes and made it up and running on iOS application by removing the bigNum package. I will make it available to the public sometimes later as I am running with ton of task on my plate. When you have some time you can quick go through the git and share your comments once I have pushed the code.
I am very glad that I got this great library for homomorphic encryption in my app. But I would like to inform that i am getting compilation issue while running the project on simulator. below are the details. Any suggestion would be appreciated.
Xcode version: 11.3.1
iOS version: 13.0
Swift version: 5.0 as well as 4.2
d /Users/anusuya_p/Library/Developer/Xcode/DerivedData/VisionSample-gisduavvviadxadozdzqqmpaaxku/Build/Products/Debug-iphonesimulator/VisionSample.app/VisionSample normal (in target 'VisionSample' from project 'VisionSample')
ld: building for iOS Simulator, but linking in dylib built for macOS, file '/usr/local/Cellar/gmp/6.2.0/lib/libgmp.dylib' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered: