ethers-io / ethers.objc

Fast, simple and complete library for Ethereum in Objective-C.
MIT License
157 stars 57 forks source link

Basic usage of library #7

Closed mokn closed 7 years ago

mokn commented 7 years ago

I downloaded zip and dragged into new project. Getting linker error after adding char *stop) to line 44 in crypto_scrypt.h.

 duplicate symbol _crypto_scrypt in:
     /Users/mokn1/Library/Developer/Xcode/DerivedData/PocketDemo-futswqadoffnctgztwhcihqarhju/Build/Intermediates/PocketDemo.build/Debug-iphonesimulator/PocketDemo.build/Objects-normal/x86_64/crypto_scrypt-sse.o
     /Users/mokn1/Library/Developer/Xcode/DerivedData/PocketDemo-futswqadoffnctgztwhcihqarhju/Build/Intermediates/PocketDemo.build/Debug-iphonesimulator/PocketDemo.build/Objects-normal/x86_64/crypto_scrypt-ref.o
duplicate symbol _crypto_scrypt in:
     /Users/mokn1/Library/Developer/Xcode/DerivedData/PocketDemo-futswqadoffnctgztwhcihqarhju/Build/Intermediates/PocketDemo.build/Debug-iphonesimulator/PocketDemo.build/Objects-normal/x86_64/crypto_scrypt-sse.o
     /Users/mokn1/Library/Developer/Xcode/DerivedData/PocketDemo-futswqadoffnctgztwhcihqarhju/Build/Intermediates/PocketDemo.build/Debug-iphonesimulator/PocketDemo.build/Objects-normal/x86_64/crypto_scrypt-nosse.o
 ld: 2 duplicate symbols for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I also see that the various crypto_scrypt files are #include files that don't exist in the project. How can I get this up and running properly?