I am trying to compile and build an app in order to distribute it in App Store from VSCode 1.98.0. I am using Titanium CLI 5.4.1 and Titanium SDK 9.3.2.GA. Where I run the script the provisioning profiles are visible in the terminal but when I choose them I get the error [ERROR] Unable to find any App Store distribution provisioning profiles.
I have checked the Bundle Id in order to verify that is the same for the provisioning profile.
I am trying to compile and build an app in order to distribute it in App Store from VSCode 1.98.0. I am using Titanium CLI 5.4.1 and Titanium SDK 9.3.2.GA. Where I run the script the provisioning profiles are visible in the terminal but when I choose them I get the error [ERROR] Unable to find any App Store distribution provisioning profiles.
I have checked the Bundle Id in order to verify that is the same for the provisioning profile.
Share asked Mar 7 at 10:37 tsusertsuser 92 bronze badges1 Answer
Reset to default 0SDK 9.3.2.GA is very old and doesn't support the Xcode version that is required to build Store versions. you'll need to use Xcode 15 and support for that was added in Ti 12.2.0 (https://titaniumsdk/guide/Titanium_SDK/Titanium_SDK_Release_Notes/Titanium_SDK_Release_Notes_12.x/Titanium_SDK_12.2.0.GA_Release_Note.html) back in 2023. So make sure to update your SDK and then try to build you app again.
About the certificates: make sure you have a valid App Store distribution and it's private key. If not download it again and install it. Keep in mind: the install location changed in a recent Xcode version. So if you have multiple Xcode versions installed your old version for 9.3.2 won't find the new certificate: https://stackoverflow/a/79406464/5193915
And you CLI is very old too! Please run sudo npm i -g titanium alloy
to update it in order to use the latest SDK version. You are running a version from 2022 I think