Skip to content

Could not build Objective-C module 'web3swift' #344

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DorenBoust opened this issue Jul 17, 2021 · 6 comments
Closed

Could not build Objective-C module 'web3swift' #344

DorenBoust opened this issue Jul 17, 2021 · 6 comments

Comments

@DorenBoust
Copy link

DorenBoust commented Jul 17, 2021

Hello,
Im installed the lib with cocoapod.
In the podfile i write:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'

target 'testETH' do
use_frameworks!
pod 'web3swift'
end

when i try to import web3swift to swift file i got error:
Could not build Objective-C module 'web3swift'

What I need to do to fix that?

Thanks

EDIT:
I tried install on my older macbook (Mojave 10.14.6, xcode 11.3.1) and its work fine.
With my Big Sur 11.4, xcode 12.5.1 I got that error.
When I copy the project files from my older macbook to my Big Sur i go the 'Could not build Objective-C module 'web3swift'' error again...

@Najim-hub
Copy link

I have that same issue too, on Big Sur 11.4, Xcode 12.5.1, and I use the M1 Macbook

@RaviRanjan-11
Copy link
Contributor

Try this fork as it is working with mac os Big sur

https://github.com/veerChauhan/web3swift

Go through the Example #Web3supportBrowser

@RaviRanjan-11
Copy link
Contributor

Please attach screen shot of the issue

@DorenBoust
Copy link
Author

Try this fork as it is working with mac os Big sur

https://github.com/veerChauhan/web3swift

Go through the Example #Web3supportBrowser

I downloaded this example and it worked at my "Big Sur 11.4, xcode 12.5.1".
How i can use that fork at new xcode project?
Thanks

@skywinder
Copy link
Collaborator

@DorenBoust please have a look at this solution does it work for you?

@Iysbaera
Copy link
Collaborator

Iysbaera commented Nov 5, 2021

Authour of this issue haven't replied, so I suppose it was resolved and thus closing this issue.

To anyone still experiencing similar problems, feel free to reopen it.

@Iysbaera Iysbaera closed this as completed Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants