Merge pull request 'fix(ci/cd): test-flight' (#375) from mso7nueh/eatvio_app:main into main

Reviewed-on: eatvio/eatvio_app#375
This commit is contained in:
mso7nueh
2025-04-23 08:40:53 +00:00
2 changed files with 10 additions and 47 deletions

View File

@@ -4,42 +4,8 @@ set -e
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
BUILD_NAME="1.0.0"
BUILD_NUMBER="1"
EXPORT_OPTIONS_PLIST="./Support/ExportOptions.plist"
flutter clean
flutter pub get
dart run build_runner build --delete-conflicting-outputs
cd ios || { echo "Failed to enter ios directory"; exit 1; }
rm -rf Pods Podfile.lock
pod install --repo-update
pod update || { echo "Pod update failed"; exit 1; }
echo "Building iOS IPA"
flutter build ipa \
--build-name="$BUILD_NAME" \
--build-number="$BUILD_NUMBER" \
--export-options-plist="$EXPORT_OPTIONS_PLIST" \
--release \
-v
BUILD_RESULT=$?
echo "Build exit code: $BUILD_RESULT"
echo "Contents of build directory:"
ls -R build/ios/
if [ $BUILD_RESULT -eq 0 ]; then
echo "Build completed successfully!"
echo "IPA file location: ./build/ios/ipa/"
else
echo "Build failed!"
echo "Please ensure:"
echo "1. Valid provisioning profile is configured in Xcode"
echo "2. exportOptions.plist contains correct provisioning profile information"
echo "3. Signing certificates are properly installed"
exit 1
fi
flutter build ipa --export-options-plist=Support/ExportOptions.plist --release

View File

@@ -8,22 +8,19 @@
<true/>
<key>method</key>
<string>app-store</string>
<key>provisioningProfiles</key>
<dict>
<key>com.eatvioapp.app</key>
<string>Distribution</string>
</dict>
<key>signingCertificate</key>
<string>Apple Distribution: ITVIO, OOO (VL68C36HYS)</string>
<key>signingStyle</key>
<string>automatic</string>
<string>automatic</string>
<key>stripSwiftSymbols</key>
<true/>
<key>uploadSymbols</key>
<true/>
<key>teamID</key>
<string>VL68C36HYS</string>
<key>thinning</key>
<string>&lt;none&gt;</string>
<string>VL68C36HYS</string>
<key>teamName</key>
<string>ITVIO, OOO</string>
<key>bundleIdentifier</key>
<string>com.eatvioapp.app</string>
<key>automaticallyManageSigning</key>
<true/>
</dict>
</plist>
</plist>