ionic-team / ionic-cli

The Ionic command-line interface
MIT License
1.99k stars 640 forks source link

fix(cordova): Adjust app paths for cordova-ios 7 #5065

Open jcesarmobile opened 6 months ago

jcesarmobile commented 6 months ago

cordova-ios 7 changed the .ipa/.app paths https://github.com/apache/cordova-ios/pull/1310

This PR adjust the path if executed in cordova-ios >= 7.

Created a new getPackagePathCordova function to not edit the existing getPackagePath, since it's exported maybe somebody is using it and could be breaking to change it. Only call the new method if the getPackageJson doesn't return an undefined pkg.

closes https://github.com/ionic-team/ionic-cli/issues/5048

pinguluk commented 2 months ago

wow, it's still not merged? I still have this problem and I had to rely on symlinks

@ltm @liamdebeasi @jcesarmobile