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

Error: Uncaught, unspecified "error" event. (createPlatform is not callable from the iOS project API.) #548

Closed
WemsolDev opened this issue Feb 25, 2019 · 6 comments

Comments

@WemsolDev
Copy link

Bug Report

Problem

Error: Uncaught, unspecified "error" event. (createPlatform is not callable from the iOS project API.)

What does actually happen?

I am unable to add cordova-ios 5.0.0 with the following commands

cordova platform remove ios
cordova platform add [email protected]

Information

My Project info is:
Cordova CLI: 6.5.0
Ionic Framework Version: 3.9.2
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 3.1.0
ios-deploy version: 1.9.4
ios-sim version: 5.0.13
OS: macOS
Node Version: v6.16.0
Xcode version: Xcode 10.1 Build version 10B61

@kraazie
Copy link

kraazie commented Feb 25, 2019

Facing same issue while upgrading to v5.0.0 !! any leads ?

@dpogue
Copy link
Member

dpogue commented Feb 25, 2019

Cordova CLI: 6.5.0

This is several years out of date. Please upgrade to Cordova CLI 8.1.2. We'll be releasing Cordova CLI 9 in the next few weeks.

@janpio
Copy link
Member

janpio commented Mar 1, 2019

Any update on this @kraazie @WemsolDev when using a recent Cordova CLI version?

@kraazie
Copy link

kraazie commented Mar 8, 2019

Any update on this @kraazie @WemsolDev when using a recent Cordova CLI version?

Yes, my Cordova CLI version was outdated which I've upgraded to CLI 8.1.2.
Problem solved !!

Thanks @dpogue

I would suggest WemsolDev to do the same and close this issue.

@WemsolDev
Copy link
Author

Thanks @dpogue. It works for me.

@kadolis
Copy link

kadolis commented Nov 5, 2023

im not sure where, but the problem was in my config.xml. after i restored ONLY the config from backup i was able too add platform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants