Issues with Cordova IOS 3.8.0 / Can't run "cordova build ios" after update

475 views
Skip to first unread message

KBI

unread,
Mar 10, 2015, 11:18:38 AM3/10/15
to phon...@googlegroups.com
Hi all,

I have just updated the iOS platform of my Cordova project, to the newly released (2 weeks ago) version 3.8.0.
But now I can't build my project any more, all of a sudden...

I have several build targets in my project, and loads of scripting/configuration, so migrating to a new project is just too time consuming.

Can anyone assist in this matter? The error I get from "cordova build ios", is not very helpful, it just says:
"could not find -Info.plist file, or config.xml file."

But when I check my project structure, nothing has changed - there are both plist (several) and config.xml both in the main project folder, and also under /platforms/ios/<projectname>/

Any hints will be extremely helpful,
Thanks in advance.


Jette Derriche

unread,
Mar 10, 2015, 7:22:41 PM3/10/15
to phon...@googlegroups.com
I am sorry if it's obvious, but did you follow the guide here: http://cordova.apache.org/announcements/2015/02/25/cordova-ios-3.8.0.html

KBI

unread,
Mar 11, 2015, 12:24:42 AM3/11/15
to phon...@googlegroups.com
Hi thanks for the reply,

Yes that's exactly the guide i followed - except i had to sudo the npm installation for bash to accept what i was trying to do.

Any hints are most welcome, or if anyone can point me towards the script that prints out that error message - so i can mmodifyit to give more information on where it's trying to locate the file, etc...

Thanks.

KBI

unread,
Mar 11, 2015, 3:50:36 AM3/11/15
to phon...@googlegroups.com
Strange development, I tried to rollback the project, to the one I had before I did the "cordova platform update ios" (always back up code before doing reckless things such as update core libraries).

The weird thing here being, that this project won't build either - so it seems to have been the "sudo npm install ios-deploy -g" command that messed things up (since now I'm working on the 3.7.0 version).

I tried re-installing cordova as well ("sudo npm uninstall cordova -g", then a bit of cleaning up, deleting /Applications/node_modules/cordova - then "sudo npm install cordova -g"), but that hasn't changed anything in regards to being able to build the project.
This is strange, the project hasn't changed at all - only the build script.

I found out where the error comes from; but still not why (since there's no description to the error message):
https://github.com/apache/cordova-lib/blob/master/cordova-lib/spec-plugman/platforms/ios.spec.js
Lines 108, and 116.

I've forked the project, so next up will be trying to add a descriptive error text (I realize, being open source and all, I can't really demand help from anyone in this matter, but again - if anyone can give me hints on what to do, I'd be grateful, since I have a steep learning curve on doing Github projects)

Thanks.

Jette Derriche

unread,
Mar 11, 2015, 3:58:25 AM3/11/15
to phon...@googlegroups.com
Is there a reason you are using version 3.8 of cordova? Mine is 4.2, and I installed ios-deploy also with sudo... and it builds fine.

/Jette

Klavs Birk

unread,
Mar 11, 2015, 4:05:55 AM3/11/15
to phon...@googlegroups.com
I use Cordova 4.3.0, but the Cordova iOS package is 3.8.0, where ios-deploy 1.4.0 is part of (to my understanding that was also the announcement they made at 25th of february here: http://cordova.apache.org/announcements/2015/02/25/cordova-ios-3.8.0.html ).

I agree that this should work, but for some reason it just doesn't...

On Wed, Mar 11, 2015 at 8:58 AM, Jette Derriche <derr...@gmail.com> wrote:
Is there a reason you are using version 3.8 of cordova? Mine is 4.2, and I installed ios-deploy also with sudo... and it builds fine.

/Jette

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to a topic in the Google Groups "phonegap" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/phonegap/XaLd2IiarYY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to phonegap+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

KBI

unread,
Mar 11, 2015, 4:33:19 AM3/11/15
to phon...@googlegroups.com
Hi again,

I have tried fiddling with different package versions, and it seems downgrading cordova to 4.2.0 means I can once again build my 3.7.0 project.
@Jette - I don't understand how you could be running 4.2.0, since the first command in the upgrade guide would have upgraded your cordova to 4.3.0 ?
Am I missing something here? Or did you explicitly update the ios-deploy package to 1.4.0 yourself, and then add the 3.8.0 of cordova-ios?

Can you do a "cordova platform", and check the version of your ios?

I am curious as to how you got 3.8.0 with cordova 4.2.0.. :-)

Thanks for your help so far


Jette Derriche

unread,
Mar 11, 2015, 7:55:10 AM3/11/15
to phon...@googlegroups.com
Aaah, okay... Sorry for the version confusion... I thought you were running 3.8 of Cordova. Wasn't aware of the platform versions.

$ cordova platform
Installed platforms: android 3.6.4, ios 3.7.0
Available platforms: amazon-fireos, blackberry10, browser, firefoxos

$ cordova -version
4.2.0

/Jette

KBI

unread,
Mar 11, 2015, 8:16:52 AM3/11/15
to phon...@googlegroups.com
No worries; there are hundreds of components in play here ;-)

But ok, so you haven't updated your iOS version to 3.8.0/1.4.0 as described in http://cordova.apache.org/announcements/2015/02/25/cordova-ios-3.8.0.html

I expect I won't be the only one with this issue, once people start actually updating Cordova and iOS to the 3.8.0 version, since I can't be the only one with complex iOS projects with multiple build targets and other dependencies.
I'll rest for now on the issue, since I got everything rolled back to the 4.2.0 / 3.8.0 versions - but thanks a lot for the assistance Jette ;-)


Jette Derriche

unread,
Mar 11, 2015, 9:43:56 AM3/11/15
to phon...@googlegroups.com
No, I am not updated to 4.3/3.8 yet... Currently trying to fix facebook-plugin which haven't worked since I moved from Linux to a Mac :-( I have another thread for this issue in here. And from your experience, I don't expect to update any time soon ;-) I am sorry I could not be of more help to you. We all know how frustrating it is to be stuck....

/Jette
Reply all
Reply to author
Forward
0 new messages