IOS Build Problem - timed out

I am getting this error when trying IOS Build. Please help.

UserError: Command took too long to execute: Command ‘[‘cordova’, ‘platform’, ‘add’, ‘ios’, ‘–nohooks=.’, ‘–verbose’]’ timed out after 600 seconds

The problem is an obsolete plugin. In your config file, you have

<plugin name="cordova-plugin-geolocation" version="2.4.3" />

The current version is 4.1.0.

1 Like

I solved my problem. I deleted the files created for ios build in its folder and uploaded it again. The problem is solved. Thanks.

Which files did you delete? We’d like to see if we can clean these up automatically and prevent similar problems for others.