ios: I was able to get an iOS build to app store connect with this. Sanity lost.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
1
.gitignore
vendored
@ -7,6 +7,7 @@ deps/openssl/
|
|||||||
dist/
|
dist/
|
||||||
.flatpak-builder
|
.flatpak-builder
|
||||||
.keys
|
.keys
|
||||||
|
**/.DS_Store
|
||||||
logs/
|
logs/
|
||||||
**/node_modules
|
**/node_modules
|
||||||
out
|
out
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
<key>com.apple.developer.team-identifier</key>
|
<key>com.apple.developer.team-identifier</key>
|
||||||
<string>EDVXQ27EB5</string>
|
<string>EDVXQ27EB5</string>
|
||||||
<key>get-task-allow</key>
|
<key>get-task-allow</key>
|
||||||
<true/>
|
<false/>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
@ -2,34 +2,87 @@
|
|||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleName</key>
|
<key>CFBundleDisplayName</key>
|
||||||
<string>tildefriends</string>
|
<string>Tilde Friends</string>
|
||||||
<key>CFBundleSupportedPlatforms</key>
|
|
||||||
<array>
|
|
||||||
<string>iPhoneOS</string>
|
|
||||||
</array>
|
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>tildefriends</string>
|
<string>tildefriends</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>com.unprompted.tildefriends</string>
|
<string>com.unprompted.tildefriends</string>
|
||||||
<key>CFBundleResourceSpecification</key>
|
<key>CFBundleName</key>
|
||||||
<string>ResourceRules.plist</string>
|
<string>tildefriends</string>
|
||||||
<key>LSRequiresIPhoneOS</key>
|
<key>CFBundlePackageType</key>
|
||||||
<true/>
|
<string>APPL</string>
|
||||||
<key>CFBundleDisplayName</key>
|
|
||||||
<string>Tilde Friends</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>1.0</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>1.0</string>
|
<string>1.0</string>
|
||||||
<key>CFBundleIconName</key>
|
<key>CFBundleSupportedPlatforms</key>
|
||||||
<string>AppIcon</string>
|
<array>
|
||||||
<key>CFBundleIconFile</key>
|
<string>iPhoneOS</string>
|
||||||
<string>tildefriends.png</string>
|
</array>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>6</string>
|
||||||
|
<key>DTPlatformName</key>
|
||||||
|
<string>iphoneos</string>
|
||||||
|
<key>LSRequiresIPhoneOS</key>
|
||||||
|
<true/>
|
||||||
|
<key>MinimumOSVersion</key>
|
||||||
|
<string>16.2</string>
|
||||||
|
<key>UIDeviceFamily</key>
|
||||||
|
<array>
|
||||||
|
<integer>1</integer>
|
||||||
|
<integer>2</integer>
|
||||||
|
</array>
|
||||||
<key>UILaunchScreen</key>
|
<key>UILaunchScreen</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>UIImageName</key>
|
<key>UIImageName</key>
|
||||||
<string>tildefriends.png</string>
|
<string>tildefriends.png</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
<key>UIRequiredDeviceCapabilities</key>
|
||||||
|
<array>
|
||||||
|
<string>arm64</string>
|
||||||
|
</array>
|
||||||
|
<key>BuildMachineOSBuild</key>
|
||||||
|
<string>24D70</string>
|
||||||
|
|
||||||
|
<key>DTPlatformBuild</key>
|
||||||
|
<string>22C146</string>
|
||||||
|
<key>DTPlatformVersion</key>
|
||||||
|
<string>18.2</string>
|
||||||
|
<key>DTSDKBuild</key>
|
||||||
|
<string>22C146</string>
|
||||||
|
<key>DTSDKName</key>
|
||||||
|
<string>iphoneos18.2</string>
|
||||||
|
<key>DTXcode</key>
|
||||||
|
<string>1620</string>
|
||||||
|
<key>DTXcodeBuild</key>
|
||||||
|
<string>16C5032a</string>
|
||||||
|
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||||
|
<array>
|
||||||
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
|
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||||
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||||
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
|
</array>
|
||||||
|
<key>UISupportedInterfaceOrientations~iphone</key>
|
||||||
|
<array>
|
||||||
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||||
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
|
</array>
|
||||||
|
<key>UILaunchStoryboardName</key>
|
||||||
|
<string>LaunchScreen</string>
|
||||||
|
|
||||||
|
|
||||||
|
<key>CFBundleIcons</key>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundlePrimaryIcon</key>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleIconFiles</key>
|
||||||
|
<array>
|
||||||
|
<string>AppIcon60x60</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleIconName</key>
|
||||||
|
<string>AppIcon</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
BIN
src/ios/distribution.mobileprovision
Normal file
BIN
src/ios/icons/Assets.car
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"images":[{"idiom":"ios-marketing","scale":"1x","size":"1024x1024","filename":"icon-ios-marketing-1-1024-1024.png"}],"info":{"author":"xcode","version":1}}
|
After Width: | Height: | Size: 101 KiB |
1
src/ios/icons/Assets.xcassets/Contents.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"info": {"version": 1, "author": "xcode"}}
|
BIN
src/ios/icons/android/mipmap-hdpi.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
src/ios/icons/android/mipmap-ldpi.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
src/ios/icons/android/mipmap-mdpi.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
src/ios/icons/android/mipmap-xhdpi.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
src/ios/icons/android/mipmap-xxhdpi.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
BIN
src/ios/icons/android/mipmap-xxxhdpi.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
src/ios/icons/ios/100.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
src/ios/icons/ios/114.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
src/ios/icons/ios/128.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
BIN
src/ios/icons/ios/16.png
Normal file
After Width: | Height: | Size: 639 B |
BIN
src/ios/icons/ios/172.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
src/ios/icons/ios/180.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
src/ios/icons/ios/196.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
src/ios/icons/ios/216.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
src/ios/icons/ios/256.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
src/ios/icons/ios/32.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
src/ios/icons/ios/48.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
src/ios/icons/ios/50.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
src/ios/icons/ios/512.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
src/ios/icons/ios/55.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
src/ios/icons/ios/64.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
src/ios/icons/ios/88.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
src/ios/icons/ios/icon-120.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
src/ios/icons/ios/icon-144.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
BIN
src/ios/icons/ios/icon-152.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
src/ios/icons/ios/icon-167.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
src/ios/icons/ios/icon-72.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
src/ios/icons/ios/icon-76.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
src/ios/icons/ios/icon-notification.png
Normal file
After Width: | Height: | Size: 858 B |
BIN
src/ios/icons/ios/icon-notification@2x.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
src/ios/icons/ios/icon-notification@3x.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
src/ios/icons/ios/icon-small-120.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
src/ios/icons/ios/icon-small-40.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
src/ios/icons/ios/icon-small-80.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
src/ios/icons/ios/icon-small.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
src/ios/icons/ios/icon-small@2x.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
src/ios/icons/ios/icon-small@3x.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
src/ios/icons/ios/icon-store.png
Normal file
After Width: | Height: | Size: 101 KiB |
BIN
src/ios/icons/ios/icon.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
src/ios/icons/ios/icon@2x.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
src/ios/icons/uploaded.png
Normal file
After Width: | Height: | Size: 104 KiB |
14
tools/ios-distribute
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/env bash -e
|
||||||
|
rm -rfv out/tildefriends-iosrelease.app out/Payload out/tildefriends.ipa
|
||||||
|
make iosrelease-app
|
||||||
|
cp src/ios/tildefriends.png out/tildefriends-iosrelease.app/tildefriends.png
|
||||||
|
cp src/ios/icons/Assets.car out/tildefriends-iosrelease.app/
|
||||||
|
cp src/ios/icons/ios/icon-72.png out/tildefriends-iosrelease.app/
|
||||||
|
cp src/ios/icons/ios/icon-120.png out/tildefriends-iosrelease.app/
|
||||||
|
cp src/ios/icons/ios/icon-152.png out/tildefriends-iosrelease.app/
|
||||||
|
cp src/ios/distribution.mobileprovision out/tildefriends-iosrelease.app/embedded.mobileprovision
|
||||||
|
xcrun -sdk iphoneos codesign -f -s 'Apple Distribution: Cory McWilliams' --entitlements src/ios/Entitlements.plist --generate-entitlement-der out/tildefriends-iosrelease.app
|
||||||
|
mkdir -p out/Payload/tildefriends.app
|
||||||
|
cp -avR out/tildefriends-iosrelease.app/* out/Payload/tildefriends.app/
|
||||||
|
cd out; zip -r tildefriends.ipa Payload; cd ..
|
||||||
|
xcrun -sdk iphoneos altool --upload-app -f out/tildefriends.ipa -t ios -u $(cat .keys/altool-user) -p $(cat .keys/altool-password)
|