Skip to content

Commit 51f8936

Browse files
docs: add Bad CPU type issue resolution
1 parent e8172d9 commit 51f8936

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

BUILD.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,24 @@ If you want to make modifications to dash-shared-core, follow these steps:
137137
In the wallet or DashSync example Podfile, add:
138138
```ruby
139139
pod 'DashSharedCore', :path => '../dash-shared-core/'
140-
```
140+
```
141+
142+
### Issue 4: Bad CPU type in executable
143+
The protoc compiler that is part of dapi-grpc-pod-installer is for intel chips. You will need to have Rosetta installed
144+
allow this protoc compiler to run.
145+
146+
```
147+
> FETCH_HEAD /bin/bash: line 10: dapi-grpc-pod-installer/Pods/!ProtoCompiler/protoc: Bad CPU type in executable
148+
```
149+
```bash
150+
softwareupdate --install-rosetta --agree-to-license
151+
pod deintegrate
152+
153+
# uninstall cocoapods
154+
sudo gem uninstall cocoapods
155+
156+
# Install CocoaPods natively for Apple Silicon, but the correct version 1.15.2
157+
sudo arch -arm64 gem install cocoapods -v 1.15.2
158+
159+
pod install --verbose
160+
```

0 commit comments

Comments
 (0)