ipabuild + transparent icon + nugget app

This commit is contained in:
leminlimez committed 2025-05-31 23:25:49 -04:00
1 parent 2a81e09858
commit b26b9f3ac7
7 files changed
+45 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
/build
@@ -25,6 +25,7 @@
"value" : "tinted"
}
],
"filename" : "pocketposter-transparent 1.png",
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
Binary file not shown.

After

Width:  |  Height:  |  Size: 509 KiB

@@ -5,7 +5,7 @@
"scale" : "1x"
},
{
"filename" : "Screenshot 2025-05-31 at 20.51.24.png",
"filename" : "Screenshot 2025-05-31 at 21.06.15.png",
"idiom" : "universal",
"scale" : "2x"
},
Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Executable
+42
View File
@@ -0,0 +1,42 @@
#!/bin/bash
set -e
cd "$(dirname "$0")"
WORKING_LOCATION="$(pwd)"
APPLICATION_NAME="Pocket Poster"
if [ ! -d "build" ]; then
mkdir build
fi
cd build
xcodebuild -project "$WORKING_LOCATION/$APPLICATION_NAME.xcodeproj" \
-scheme "$APPLICATION_NAME" \
-configuration Release \
-derivedDataPath "$WORKING_LOCATION/build/DerivedDataApp" \
-destination 'generic/platform=iOS' \
clean build \
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGN_ENTITLEMENTS="" CODE_SIGNING_ALLOWED="NO"
DD_APP_PATH="$WORKING_LOCATION/build/DerivedDataApp/Build/Products/Release-iphoneos/$APPLICATION_NAME.app"
TARGET_APP="$WORKING_LOCATION/build/$APPLICATION_NAME.app"
cp -r "$DD_APP_PATH" "$TARGET_APP"
codesign --remove "$TARGET_APP"
if [ -e "$TARGET_APP/_CodeSignature" ]; then
rm -rf "$TARGET_APP/_CodeSignature"
fi
if [ -e "$TARGET_APP/embedded.mobileprovision" ]; then
rm -rf "$TARGET_APP/embedded.mobileprovision"
fi
mkdir Payload
cp -r "${APPLICATION_NAME}.app" "Payload/${APPLICATION_NAME}.app"
strip "Payload/${APPLICATION_NAME}.app/${APPLICATION_NAME}"
zip -vr "${APPLICATION_NAME}.ipa" Payload
rm -rf "${APPLICATION_NAME}.app"
rm -rf Payload