Skip to content
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

"npx cap add ios" failed #2

Open
shinriyo opened this issue Dec 16, 2018 · 0 comments
Open

"npx cap add ios" failed #2

shinriyo opened this issue Dec 16, 2018 · 0 comments

Comments

@shinriyo
Copy link

hello. I tried the command, npx cap add ios.
and, the failed message was as follows.

✔ Installing iOS dependencies in 7.67s
✔ Adding native xcode project in: /Users/shinriyo/development/phaser_apps/my-game/ios in 82.58ms
✔ add in 7.76s
✔ Copying web assets from www to ios/App/public in 22.80ms
✔ Copying native bridge in 3.97ms
✔ Copying capacitor.config.json in 1.76ms
✔ copy in 36.46ms
✔ Updating iOS plugins in 3.65ms
  Found 0 Capacitor plugins for ios:
✖ Updating iOS native dependencies:
✖ update ios:
[error] Analyzing dependencies
Fetching podspec for `Capacitor` from `../../node_modules/@capacitor/ios`
Fetching podspec for `CapacitorCordova` from `../../node_modules/@capacitor/ios`
[!] CocoaPods could not find compatible versions for pod "Capacitor":
  In Podfile:
    Capacitor (from `../../node_modules/@capacitor/ios`)

Specs satisfying the `Capacitor (from `../../node_modules/@capacitor/ios`)` dependency were found, but they required a higher minimum deployment target.

I tried sudo gem update
And, I tried

rm -r iOS
npx cap add ios
npx cap sync

however, never resolved.

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

1 participant