-
Notifications
You must be signed in to change notification settings - Fork 219
Unable to build after upgrading to Cordova 7.0.0 #99
Comments
@cindyliu-yb
|
@ihadeed it's related to this plugin I think...
=> Error: Cannot find module '../plugman/platforms/ios'
=> ok but fail later on ionic build ios --prod
=> ok P.S.: I didn't faced that error with the android platform, was alright |
In xcodePreferences.js:
But 'cordova-lib/src/plugman/platforms/ios' seems to doesn't exist anymore in Cordova 7.0.0, see following commit: |
So this https://github.com/driftyco/ionic-plugin-deeplinks/blob/master/hooks/afterPrepareHook.js The commit @peterpeterparker linked to seems to have removed some deprecated stuff. Was there a deprecation notice output when executing this with Cordova 6.5.0? |
He you go, a quick and dirty solution. In xcodePreferences.js, replace method loadProjectFile with following code:
|
@peterpeterparker thanks for the fix. You should submit a PR :) |
#99: Fix Xcode project file detection for Cordova 7
I've come up with a much simpler solution. Can anyone confirm this works as intended? It appears to work OK for me, but I'm insufficiently familiar with the inner machinations of Cordova to know how good a solution it is.
|
@peterpeterparker 's PR was merged, this should be fixed now. |
@ihadeed yes it's merged and confirm it's fixed but of course Im not against a easier cuter solution, like I said, I did a quick fix |
btw I removed all the hooks. Caused more problems than they were worth. See #82 |
I tried to add ionic-plugin-deeplink An error occurred while running cordova plugin add ionic-plugin-deeplink --save (exit
Please help me |
Any update on installation error, I as well am getting a 404. Could really use the help. |
Hello,
I can't do cordova build because of something in the plugin after upgrading to Cordova 7.0.0. See the error below. Once I remove the plugin, I can build successfully.
Could you fix this? Thanks in advance!
The text was updated successfully, but these errors were encountered: