File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 tag : " dev"
66
77env :
8- NODE_ENV : " dev "
8+ NODE_ENV : " prod "
99 FRONTEND_URL : " https://hankers-frontend.myaddr.tools"
1010 REDIS_HOST : " redis-master.default.svc.cluster.local"
1111 REDIS_PORT : " 6379"
Original file line number Diff line number Diff line change @@ -63,13 +63,16 @@ elif [[ "$OSTYPE" == "darwin"* ]]; then
6363 if [ ! -f " $IPA_PATH " ]; then
6464 echo " 📦 IPA not found, creating from .app bundle..."
6565
66- # Find the .app bundle (name might vary)
67- APP_PATH=$( find build/ios/Release-iphoneos -name " *.app" -type d | head -n 1)
66+ # Find the .app bundle in xcarchive (prefer this) or fallback to any .app
67+ APP_PATH=$( find build/ios -path " *.xcarchive/Products/Applications/*.app" -type d | head -n 1)
68+ if [ -z " $APP_PATH " ]; then
69+ APP_PATH=$( find build/ios -name " *.app" -type d | head -n 1)
70+ fi
6871
6972 if [ -z " $APP_PATH " ] || [ ! -d " $APP_PATH " ]; then
70- echo " ❌ No .app bundle found in build/ios/Release-iphoneos/ "
71- echo " 🔍 Listing contents:"
72- ls -la build/ios/Release-iphoneos/ || echo " Directory doesn't exist"
73+ echo " ❌ No .app bundle found in build/ios/"
74+ echo " 🔍 Listing build/ios contents:"
75+ ls -la build/ios/ 2> /dev/null || echo " build/ios/ doesn't exist"
7376 exit 1
7477 fi
7578
You can’t perform that action at this time.
0 commit comments