Hello peoples!
I have a problem similar to @cristiantorrado
Here some details of my problem:
I try to build a project using CapacitorJS. My versions:
"@capacitor/android": "^3.4.3",
"@capacitor/core": "^3.4.3",
"@capacitor/ios": "^3.5.1",
"@capacitor/app": "^1.1.1",
"@capacitor/cli": "^3.5.1",
My xcode version is: 13.1 (13A1030d)
Im using macOS 12.3.1.
The command xcode-select -p returns:
/Applications/Xcode.app/Contents/Developer
So im trying to build the files to iOS using CapacitorJS plugin and i have the similar error. I'm still looking for a solution to the problem. I would be immensely grateful if someone would share a solution.
Oh... I already installed xcode command line tools. I installed from run: xcode-select --install.
Anyway, if i found a solution i share with community at this thread.
Post
Replies
Boosts
Views
Activity
Oh, one more thing:
I try to create a project at the Xcode app and build. Its worked normally.
I found the solution for my case. The log that the author and I had in common doesn't necessarily tell the source of the problem (not in my case). My problem was just below the Xcode logs. The error presented was about the architecture used (x86-64) which did not match my machine.
Here are the steps I performed:
I reinstalled ffi (sudo arch -arm64e gem install ffi ) because it was the architecture of my machine.
I reinstalled ruby, cocoapods using homebrew.
Added ruby to $PATH (export PATH="/opt/homebrew/opt/ruby/bin:$PATH").
I know this problem can be very generic, but I hope it can guide some people who are starting to program using macOS like me. =)
Bye!
Linneu Lopes
let myEmail = "linneu" + ".dm" + "@" + "hotmail.com"