Yes. Here’s the package.json
{
"name": "spin",
"version": "0.0.1",
"private": true,
"dependencies": {
"@capacitor/core": "^3.0.0",
"@capacitor/ios": "^3.0.0",
"@ionic/react": "^5.5.0",
"@ionic/react-router": "^5.5.0",
"@solana/web3.js": "^1.12.0",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^12.6.3",
"@types/jest": "^26.0.20",
"@types/node": "^12.19.15",
"@types/react": "^16.14.3",
"@types/react-dom": "^16.9.10",
"@types/react-router": "^5.1.11",
"@types/react-router-dom": "^5.1.7",
"ionicons": "^5.4.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.2",
"typescript": "^4.1.3",
"web-vitals": "^0.2.4",
"workbox-background-sync": "^5.1.4",
"workbox-broadcast-update": "^5.1.4",
"workbox-cacheable-response": "^5.1.4",
"workbox-core": "^5.1.4",
"workbox-expiration": "^5.1.4",
"workbox-google-analytics": "^5.1.4",
"workbox-navigation-preload": "^5.1.4",
"workbox-precaching": "^5.1.4",
"workbox-range-requests": "^5.1.4",
"workbox-routing": "^5.1.4",
"workbox-strategies": "^5.1.4",
"workbox-streams": "^5.1.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@capacitor/cli": "^2.4.7"
},
"description": "An Ionic project"
}
I’m also getting a cocao pods install error after that. I’m not sure if they’re related, or if the second error is the critical one.
ℹ Installing iOS dependencies – Skipping: already installed
✔ Adding native xcode project in: /Users/erick/Documents/Code/spin/ios in 12.17ms
✔ add in 12.73ms
✔ Copying web assets from build to ios/App/public in 56.57ms
✖ Copying native bridge: ENOENT: no such file or directory, lstat '/Users/erick/Documents/Code/spin/node_modules/@capacitor/core/native-bridge.js'
✖ copy: ENOENT: no such file or directory, lstat '/Users/erick/Documents/Code/spin/node_modules/@capacitor/core/native-bridge.js'
[error] [Error: ENOENT: no such file or directory, lstat '/Users/erick/Documents/Code/spin/node_modules/@capacitor/core/native-bridge.js'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/erick/Documents/Code/spin/node_modules/@capacitor/core/native-bridge.js'
}
✔ Updating iOS plugins in 19.85ms
Found 0 Capacitor plugins for ios:
✖ Updating iOS native dependencies with "pod install" (may take several minutes):
....
LoadError - dlopen(/opt/homebrew/lib/ruby/gems/3.0.0/gems/ffi-1.15.0/lib/ffi_c.bundle, 9): no suitable image found. Did find:
/opt/homebrew/lib/ruby/gems/3.0.0/gems/ffi-1.15.0/lib/ffi_c.bundle: mach-o, but wrong architecture
/opt/homebrew/lib/ruby/gems/3.0.0/gems/ffi-1.15.0/lib/ffi_c.bundle: mach-o, but wrong architecture