Hi all, We are trying to upgrade our app to the next version. The problem we are facing is that instead of the new app replacing the old app in Applications directory, a folder of the same name is getting created and the app is placed inside that. So if my app name is xyz.app, we are seeing a folder xyz.localized inside the Applications folder and the new xyz.app placed inside it while the old one remains where it was.
I am suspecting this is happening because we had the necessity to modify our bundleID and that is why it is not treating it to be the same app.
Is there any way I could do this without uninstalling the app.
This app is not published in app store.
I even tried adding some code in preinstall script to uninstall the app and still I am seeing that the folder is getting created inside the Applications directory.
Will adding some code to post install by moving the app from the xyz.localized directory to Applications directory help?