Hi there,
I’m using cloud build to push to TestFlight with the following Post-Build Script :
#!/bin/bash
echo "Uploading IPA to Appstore Connect..."
#Path is "/BUILD_PATH/<ORG_ID>.<PROJECT_ID>.<BUILD_TARGET_ID>/.build/last/<BUILD_TARGET_ID>/build.ipa"
path="$WORKSPACE/.build/last/$TARGET_NAME/build.ipa"
if xcrun altool --upload-app -f $path -u $ITUNES_USERNAME -p $ITUNES_PASSWORD ; then
echo "Upload IPA to Appstore Connect finished with success"
else
echo "Upload IPA to Appstore Connect failed"
fi
The problem is that I’m using Unity Localization, and it doesn’t load the locales, or otherwise it’s stuck when I try to load them asynchronously.
Localization uses the adressables. And it seems that it doesn’t build/push the adressables.
Everything is working fine on Android, Editor, and even on iOS Ad-Hoc. The only problem is with the iOS Distribution from cloud build.
Thanks for your help.
Solved by using latest unity 2019 version, but latest Unity version in Cloud Build has some problems compiling IAP.
And using Unity 2020, resulted on the following error :
113: 2021-03-30 00:56:36.125 altool[10582:48051] Error:
114: [2021-03-30 00:56:35 UTC] <main> DBG-X: parameter ErrorCode = 1102
115: [2021-03-30 00:56:35 UTC] <main> DBG-X: parameter ErrorMessage = ERROR ITMS-90206: "Invalid Bundle. The bundle at 'Fizzap.app/Frameworks/UnityFramework.framework' contains disallowed file 'Frameworks'.
116: [2021-03-30 00:56:35 UTC] <main> ERROR: ERROR ITMS-90206: "Invalid Bundle. The bundle at 'Fizzap.app/Frameworks/UnityFramework.framework' contains disallowed file 'Frameworks'."
117: [2021-03-30 00:56:35 UTC] <main> DBG-X: The error code is: 1102
118: ERROR ITMS-90206: "Invalid Bundle. The bundle at 'Fizzap.app/Frameworks/UnityFramework.framework' contains disallowed file 'Frameworks'."
119: 2021-03-30 00:56:36.188 altool[10582:48044] *** Error: Error uploading '/BUILD_PATH/xsodiaz.bouncyball-2d.fizzap/.build/last/Fizzap/build.ipa'.
120: 2021-03-30 00:56:36.188 altool[10582:48044] *** Error: code -18000 (ERROR ITMS-90206: "Invalid Bundle. The bundle at 'Fizzap.app/Frameworks/UnityFramework.framework' contains disallowed file 'Frameworks'.")
121: publishing finished successfully.
122: Finished: SUCCESS
It builds but it doesn’t push it to AppStore Connect