Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 347ba0b

Browse files
authored
Update workflow names, minor UI changes, and update to v1.1.9
1 parent 67ab966 commit 347ba0b

File tree

2 files changed

+30
-30
lines changed

2 files changed

+30
-30
lines changed

.github/workflows/build-unsigned-ipa.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ jobs:
2323
changelog: ${{ steps.generate_changelog.outputs.CHANGELOG }}
2424
cached_object_version: ${{ steps.cache_object_version.outputs.object_version }}
2525
steps:
26-
- name: Checkout repo (full history)
26+
- name: Checkout Repo
2727
uses: actions/checkout@v4
2828
with:
2929
fetch-depth: 0
3030
persist-credentials: true
3131

32-
- name: Show Xcode version (debug)
32+
- name: Show Xcode Version
3333
run: |
3434
echo "=== xcodebuild -version ==="
3535
xcodebuild -version || true
3636
echo "=== sw_vers ==="
3737
sw_vers || true
3838
39-
- name: Install jq, yq, gh & xcodegen
39+
- name: Install Build Tools
4040
run: |
4141
# jq
4242
if ! command -v jq >/dev/null 2>&1; then
@@ -83,28 +83,28 @@ jobs:
8383
echo "xcodegen: $(xcodegen --version 2>/dev/null || echo 'not installed')"
8484
shell: bash
8585

86-
- name: Ensure project.yml and sources exist (debug)
86+
- name: Check Project Files
8787
run: |
8888
echo "Workspace files:"
8989
ls -la || true
9090
echo "project.yml (first 200 lines):"
9191
sed -n '1,200p' project.yml || true
9292
93-
- name: Generate Xcode project with xcodegen
93+
- name: Generate Xcode Project
9494
run: |
9595
set -e
9696
xcodegen generate --spec project.yml
9797
echo "Generated project at: $(pwd)/prostore.xcodeproj"
9898
echo "project.pbxproj header (first 60 lines):"
9999
sed -n '1,60p' prostore.xcodeproj/project.pbxproj || true
100100
101-
- name: Resolve Swift Package dependencies
101+
- name: Resolve Swift Packages
102102
run: |
103103
set -e
104104
echo "Resolving Swift package dependencies for prostore..."
105105
xcodebuild -resolvePackageDependencies -project prostore.xcodeproj -scheme prostore -configuration Release
106106
107-
- name: Try cached objectVersion first, then fallback to candidates
107+
- name: Build IPA
108108
id: cache_object_version
109109
run: |
110110
set -e
@@ -184,7 +184,7 @@ jobs:
184184
exit 74
185185
fi
186186
187-
- name: Create unsigned .ipa by packaging device .app (iphoneos)
187+
- name: Package Device IPA
188188
run: |
189189
set -e
190190
ARCHIVE_PATH="$PWD/build/prostore.xcarchive"
@@ -203,7 +203,7 @@ jobs:
203203
echo "Created device ipa: $OUTPUT_IPA"
204204
ls -la "$OUTPUT_IPA" || true
205205
206-
- name: Build simulator (iphonesimulator) and package simulator .ipa (if possible)
206+
- name: Build Simulator IPA
207207
run: |
208208
set -e
209209
echo "Starting simulator build (won't fail the entire job if it fails)."
@@ -254,27 +254,27 @@ jobs:
254254
echo "Created simulator ipa: $SIM_IPA"
255255
ls -la "$SIM_IPA" || true
256256
257-
- name: Upload device unsigned IPA artifact (named as .ipa)
257+
- name: Upload Device IPA
258258
uses: actions/upload-artifact@v4
259259
with:
260260
name: com.prostoreios.prostore-unsigned-ios.ipa
261261
path: build/com.prostoreios.prostore-unsigned-ios.ipa
262262

263-
- name: Upload simulator unsigned IPA artifact (named as .ipa) (ignore if not found)
263+
- name: Upload Simulator IPA
264264
uses: actions/upload-artifact@v4
265265
with:
266266
name: com.prostoreios.prostore-unsigned-iossimulator.ipa
267267
path: build/com.prostoreios.prostore-unsigned-iossimulator.ipa
268268
if-no-files-found: ignore
269269

270-
- name: Extract version from project.yml
270+
- name: Get App Version
271271
id: get_version
272272
run: |
273273
VERSION=$(yq '.targets.prostore.info.properties.CFBundleShortVersionString' project.yml)
274274
echo "version=$VERSION" >> $GITHUB_OUTPUT
275275
echo "Detected version: $VERSION"
276276
277-
- name: Check if release already exists
277+
- name: Check Release Exists
278278
id: check_release
279279
env:
280280
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -288,7 +288,7 @@ jobs:
288288
echo "exists=false" >> $GITHUB_OUTPUT
289289
fi
290290
291-
- name: Generate changelog
291+
- name: Create Changelog
292292
id: generate_changelog
293293
if: steps.check_release.outputs.exists == 'false'
294294
run: |
@@ -408,7 +408,7 @@ jobs:
408408
if: needs.build-unsigned-ipa.outputs.release_exists == 'false'
409409
runs-on: ubuntu-latest
410410
steps:
411-
- name: Ensure gh exists (best-effort)
411+
- name: Install GitHub CLI
412412
run: |
413413
# gh (GitHub CLI)
414414
if ! command -v gh >/dev/null 2>&1; then
@@ -421,20 +421,20 @@ jobs:
421421
422422
echo "gh: $(gh --version 2>/dev/null || echo 'not installed')"
423423
424-
- name: Download device IPA artifact
424+
- name: Download Device IPA
425425
uses: actions/download-artifact@v4
426426
with:
427427
name: com.prostoreios.prostore-unsigned-ios.ipa
428428
path: build
429429

430-
- name: Download simulator IPA artifact (optional)
430+
- name: Download Simulator IPA
431431
uses: actions/download-artifact@v4
432432
continue-on-error: true
433433
with:
434434
name: com.prostoreios.prostore-unsigned-iossimulator.ipa
435435
path: build
436436

437-
- name: Create GitHub Release
437+
- name: Create Release
438438
env:
439439
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
440440
VERSION: ${{ needs.build-unsigned-ipa.outputs.version }}
@@ -463,13 +463,13 @@ jobs:
463463
permissions:
464464
contents: write
465465
steps:
466-
- name: Checkout repo (full history)
466+
- name: Checkout Repo
467467
uses: actions/checkout@v4
468468
with:
469469
fetch-depth: 0
470470
persist-credentials: true
471471

472-
- name: Ensure jq exists (best-effort)
472+
- name: Install jq
473473
run: |
474474
# jq
475475
if ! command -v jq >/dev/null 2>&1; then
@@ -480,13 +480,13 @@ jobs:
480480
481481
echo "jq: $(jq --version 2>/dev/null || echo 'not installed')"
482482
483-
- name: Download device IPA artifact
483+
- name: Download Device IPA
484484
uses: actions/download-artifact@v4
485485
with:
486486
name: com.prostoreios.prostore-unsigned-ios.ipa
487487
path: build
488488

489-
- name: Update app-repo.json with latest ProStore version
489+
- name: Update App Repo
490490
env:
491491
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
492492
VERSION: ${{ needs.build-unsigned-ipa.outputs.version }}
@@ -607,7 +607,7 @@ jobs:
607607
fi
608608
shell: bash
609609

610-
- name: Push apps.json to Pages repo (ProStore-iOS.github.io) using PAT
610+
- name: Push to GitHub Pages
611611
env:
612612
PAGES_PAT: ${{ secrets.PAGES_PAT }}
613613
run: |

Sources/prostore/views/CertificateView.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ struct CertificateView: View {
99
@State private var prov = FileItem()
1010
@State private var p12Password = ""
1111
@State private var isProcessing = false
12-
@State private var statusMessage = "" // will hold exactly one of: "Incorrect Password", "P12 and MOBILEPROVISION do not match", "Success!"
12+
@State private var statusMessage = "" // will hold exactly one of: "Incorrect Password", "P12 and Mobileprovison do not match", "Success!"
1313
@State private var showPickerFor: PickerKind? = nil
1414

1515
var body: some View {
@@ -24,7 +24,7 @@ struct CertificateView: View {
2424
}
2525
}
2626
HStack {
27-
Text("MobileProvision:")
27+
Text("Mobileprovison:")
2828
Spacer()
2929
Text(prov.name.isEmpty ? "" : prov.name).foregroundColor(.secondary)
3030
Button("Pick") {
@@ -63,7 +63,7 @@ struct CertificateView: View {
6363

6464
private func checkStatus() {
6565
guard let p12URL = p12.url, let provURL = prov.url else {
66-
statusMessage = "P12 and MOBILEPROVISION do not match"
66+
statusMessage = "P12 and Mobileprovison do not match"
6767
return
6868
}
6969

@@ -75,30 +75,30 @@ struct CertificateView: View {
7575
let p12Data = try Data(contentsOf: p12URL)
7676
let provData = try Data(contentsOf: provURL)
7777

78-
let result = CertificatesManager.check(p12Data: p12Data, password: p12Password, mobileProvisionData: provData)
78+
let result = CertificatesManager.check(p12Data: p12Data, password: p12Password, MobileprovisonData: provData)
7979

8080
DispatchQueue.main.async {
8181
isProcessing = false
8282
switch result {
8383
case .success(.incorrectPassword):
8484
statusMessage = "Incorrect Password" // EXACT text requested
8585
case .success(.noMatch):
86-
statusMessage = "P12 and MOBILEPROVISION do not match" // EXACT text requested
86+
statusMessage = "P12 and Mobileprovison do not match" // EXACT text requested
8787
case .success(.success):
8888
statusMessage = "Success!" // EXACT text requested
8989
case .failure(let err):
9090
// If there was an unexpected error, surface a no-match (safe) or show error (dev)
9191
// We'll show no-match so user gets one of the three expected messages; but log the error.
9292
print("Certificates check failed: \(err)")
93-
statusMessage = "P12 and MOBILEPROVISION do not match"
93+
statusMessage = "P12 and Mobileprovison do not match"
9494
}
9595
}
9696
} catch {
9797
DispatchQueue.main.async {
9898
isProcessing = false
9999
// If the password is wrong we already catch that above. Reading files failed -> show no-match
100100
print("File read error: \(error)")
101-
statusMessage = "P12 and MOBILEPROVISION do not match"
101+
statusMessage = "P12 and Mobileprovison do not match"
102102
}
103103
}
104104
}

0 commit comments

Comments
 (0)