EthereumKit icon indicating copy to clipboard operation
EthereumKit copied to clipboard

When I run the sample project, an error occurs.

Open OleksiiShulzhenko opened this issue 4 years ago • 3 comments

dyld: Library not loaded: @rpath/CryptoEthereumSwift.framework/CryptoEthereumSwift Referenced from: /private/var/containers/Bundle/Application/A44CC033-7BE7-4FCD-9F80-4D7211071568/Example.app/Example Reason: no suitable image found. Did find: /private/var/containers/Bundle/Application/A44CC033-7BE7-4FCD-9F80-4D7211071568/Example.app/Frameworks/CryptoEthereumSwift.framework/CryptoEthereumSwift: code signature invalid for '/private/var/containers/Bundle/Application/A44CC033-7BE7-4FCD-9F80-4D7211071568/Example.app/Frameworks/CryptoEthereumSwift.framework/CryptoEthereumSwift'

in my project

dyld: Symbol not found: _$s11CryptoSwift4SHA3C7VariantO9keccak256yA2EmFWC Referenced from: /Users/oleksii/Library/Developer/CoreSimulator/Devices/DF5883B7-E1DF-42E1-87E2-5700D9D91F7E/data/Containers/Bundle/Application/4E5AD034-CFCE-4A60-A6B4-0CEF0257DD38/BitFreezer.app/Frameworks/CryptoEthereumSwift.framework/CryptoEthereumSwift Expected in: /Users/oleksii/Library/Developer/CoreSimulator/Devices/DF5883B7-E1DF-42E1-87E2-5700D9D91F7E/data/Containers/Bundle/Application/4E5AD034-CFCE-4A60-A6B4-0CEF0257DD38/BitFreezer.app/Frameworks/CryptoSwift.framework/CryptoSwift in /Users/oleksii/Library/Developer/CoreSimulator/Devices/DF5883B7-E1DF-42E1-87E2-5700D9D91F7E/data/Containers/Bundle/Application/4E5AD034-CFCE-4A60-A6B4-0CEF0257DD38/BitFreezer.app/Frameworks/CryptoEthereumSwift.framework/CryptoEthereumSwift

OleksiiShulzhenko avatar Apr 27 '20 04:04 OleksiiShulzhenko

Hi, did you find any solution/fix?

pushkin2023 avatar Jul 08 '20 19:07 pushkin2023

+1

BorjaCloobing avatar Apr 26 '21 11:04 BorjaCloobing

ok i fixed with this

You can follow the simple steps

1- Download their repository and open their Xcode project in latest xcode.

2- Build the project using Generic iOS Device on Xcode.

3- If there are any errors in the linked frameworks -> Repeat Step 1 for the error framework

4- If build succeed, in Products folder, you will see the framework file

5- CTRL+Click (Right click) and select show in finder

6- Copy the framework file

7- Goto your project directory which is using Carthage

8- Open /YourProjectDirectory/Carthage/Build/iOS folder

9- Paste the framework file that you have generated in step-4

10- Now build your project and it should work

Happy Coding :)

https://stackoverflow.com/questions/55300973/ringcentral-build-failed-task-failed-with-exit-code-65-carthage-installation/55469994#55469994

BorjaCloobing avatar Apr 26 '21 12:04 BorjaCloobing