File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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+ ```
You can’t perform that action at this time.
0 commit comments