Difference in application behaviour when rebuilding the generated Xcode project in a different environment

We have an ionic cordova project which generates an Xcode project for our iOS build on our High Sierra MacBook. The project was built using Xcode 10.


   ionic (Ionic CLI)  : 4.3.1 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.1.8


   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms     : android 7.0.0, ios 4.5.4
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.0.5, cordova-plugin-ionic-webview 1.1.1, (and 6 other plugins)


   Android SDK Tools : 25.2.5 (/Users/appteam1/Library/Android/sdk)
   NodeJS            : v10.14.1 (/usr/local/bin/node)
   npm               : 6.4.1
   OS                : macOS High Sierra
   Xcode             : Xcode 10.1 Build version 10B61

To cater for our iOS 15 users, we moved the same Xcode project to our Big Sur MacBook to build using Xcode 13.

One of the functions of the app is to view a Tableau viz through a JavaScript API and it did not work as expected. We suspect it is related to the storing of cookies but we wonder why there is a difference in behaviour of the app building using Xcode 10 and 13.

Is it necessary to update the packages and regenerate the Xcode project when we move to a new environment?

Each Xcode version bundles a different iOS SDK, and different iOS SDKs can have different behaviours.
Xcode 13 uses iOS SDK 15, Xcode 10 uses iOS SDK 12