-
Notifications
You must be signed in to change notification settings - Fork 7
Ios #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Ios #55
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
f22db2f
iOS build
AnthonyRonning baf9167
ios signing attempt
AnthonyRonning 8ed92b1
Well known + ios deep link
AnthonyRonning 5ce519e
Local ios builds, non exempt encryption false
AnthonyRonning ac50afa
Coming soon for ios billing
AnthonyRonning 4a343a2
Update size of the mark on the app icon to match sizing of other ios …
marksftw e7d108b
More images to update. Leaving Android alone for now.
marksftw dc3340d
Update all icons except for icon.icsn because it is already good
marksftw 8b2d038
Merge pull request #56 from OpenSecretCloud/app-icon
AnthonyRonning File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
| name: Mobile App CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ master ] | ||
| pull_request: | ||
| branches: [ master ] | ||
|
|
||
| jobs: | ||
| build-ios: | ||
| runs-on: macos-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Bun | ||
| uses: oven-sh/setup-bun@v1 | ||
| with: | ||
| bun-version: 1.2.2 | ||
|
|
||
| - name: Install Rust | ||
| uses: dtolnay/rust-toolchain@stable | ||
| with: | ||
| targets: aarch64-apple-ios | ||
|
|
||
| - name: Rust Cache | ||
| uses: Swatinem/rust-cache@v2 | ||
| with: | ||
| workspaces: "frontend/src-tauri -> target" | ||
| cache-on-failure: true | ||
|
|
||
| - name: Install dependencies (macOS) | ||
| run: | | ||
| brew install openssl@3 | ||
|
|
||
| - name: Install frontend dependencies | ||
| working-directory: ./frontend | ||
| run: bun install | ||
|
|
||
| - name: Setup Xcode | ||
| uses: maxim-lobanov/setup-xcode@v1 | ||
| with: | ||
| xcode-version: latest-stable | ||
|
|
||
| - name: Install Tauri CLI | ||
| run: cargo install tauri-cli | ||
|
|
||
| - name: Set up API Key | ||
| run: | | ||
| mkdir -p ~/.private_keys | ||
| echo "${{ secrets.APPLE_API_PRIVATE_KEY }}" | base64 --decode > ~/.private_keys/AuthKey_${{ secrets.APPLE_API_KEY }}.p8 | ||
| chmod 600 ~/.private_keys/AuthKey_${{ secrets.APPLE_API_KEY }}.p8 | ||
| echo "APPLE_API_KEY_PATH=~/.private_keys/AuthKey_${{ secrets.APPLE_API_KEY }}.p8" >> $GITHUB_ENV | ||
|
|
||
| - name: Build Tauri iOS App | ||
| working-directory: ./frontend | ||
| run: | | ||
| bun tauri ios build --export-method app-store-connect | ||
| env: | ||
| APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }} | ||
| APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }} | ||
| APPLE_API_KEY_PATH: ${{ env.APPLE_API_KEY_PATH }} | ||
| APPLE_DEVELOPMENT_TEAM: ${{ secrets.APPLE_TEAM_ID }} | ||
| VITE_OPEN_SECRET_API_URL: https://enclave.trymaple.ai | ||
| VITE_MAPLE_BILLING_API_URL: https://billing.opensecret.cloud | ||
| VITE_CLIENT_ID: ba5a14b5-d915-47b1-b7b1-afda52bc5fc6 | ||
|
|
||
| - name: Upload iOS App | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: maple-ios | ||
| path: | | ||
| frontend/src-tauri/gen/apple/build/arm64/*.ipa | ||
| retention-days: 5 | ||
|
|
||
| - name: Submit to TestFlight | ||
| run: | | ||
| # Find the actual path of the IPA file | ||
| IPA_PATH=$(find frontend/src-tauri/gen/apple/build -name "*.ipa" | head -n 1) | ||
| echo "Found IPA at: $IPA_PATH" | ||
|
|
||
| xcrun altool --upload-app --type ios \ | ||
| --file "$IPA_PATH" \ | ||
| --apiKey ${{ secrets.APPLE_API_KEY }} \ | ||
| --apiIssuer ${{ secrets.APPLE_API_ISSUER }} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| { | ||
| "applinks": { | ||
| "details": [ | ||
| { | ||
| "appIDs": ["X773Y823TN.cloud.opensecret.maple"], | ||
| "components": [ | ||
| { | ||
| "/": "/auth/*", | ||
| "comment": "Matches any URL whose path starts with /auth/" | ||
| }, | ||
| { | ||
| "/": "/desktop-auth/*", | ||
| "comment": "Matches any URL whose path starts with /desktop-auth/" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| xcuserdata/ | ||
| build/ | ||
| Externals/ |
Binary file added
BIN
+663 Bytes
...end/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.58 KB
...d/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.58 KB
...end/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.82 KB
...end/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.07 KB
...end/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.66 KB
...d/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.66 KB
...end/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.75 KB
...end/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.58 KB
...end/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.26 KB
...d/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.26 KB
...end/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.77 KB
...end/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+331 KB
frontend/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.77 KB
...end/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.8 KB
...end/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.92 KB
...end/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.3 KB
...end/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13 KB
...src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5x83.5@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
116 changes: 116 additions & 0 deletions
116
frontend/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/Contents.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,116 @@ | ||
| { | ||
| "images" : [ | ||
| { | ||
| "size" : "20x20", | ||
| "idiom" : "iphone", | ||
| "filename" : "AppIcon-20x20@2x.png", | ||
| "scale" : "2x" | ||
| }, | ||
| { | ||
| "size" : "20x20", | ||
| "idiom" : "iphone", | ||
| "filename" : "AppIcon-20x20@3x.png", | ||
| "scale" : "3x" | ||
| }, | ||
| { | ||
| "size" : "29x29", | ||
| "idiom" : "iphone", | ||
| "filename" : "AppIcon-29x29@2x-1.png", | ||
| "scale" : "2x" | ||
| }, | ||
| { | ||
| "size" : "29x29", | ||
| "idiom" : "iphone", | ||
| "filename" : "AppIcon-29x29@3x.png", | ||
| "scale" : "3x" | ||
| }, | ||
| { | ||
| "size" : "40x40", | ||
| "idiom" : "iphone", | ||
| "filename" : "AppIcon-40x40@2x.png", | ||
| "scale" : "2x" | ||
| }, | ||
| { | ||
| "size" : "40x40", | ||
| "idiom" : "iphone", | ||
| "filename" : "AppIcon-40x40@3x.png", | ||
| "scale" : "3x" | ||
| }, | ||
| { | ||
| "size" : "60x60", | ||
| "idiom" : "iphone", | ||
| "filename" : "AppIcon-60x60@2x.png", | ||
| "scale" : "2x" | ||
| }, | ||
| { | ||
| "size" : "60x60", | ||
| "idiom" : "iphone", | ||
| "filename" : "AppIcon-60x60@3x.png", | ||
| "scale" : "3x" | ||
| }, | ||
| { | ||
| "size" : "20x20", | ||
| "idiom" : "ipad", | ||
| "filename" : "AppIcon-20x20@1x.png", | ||
| "scale" : "1x" | ||
| }, | ||
| { | ||
| "size" : "20x20", | ||
| "idiom" : "ipad", | ||
| "filename" : "AppIcon-20x20@2x-1.png", | ||
| "scale" : "2x" | ||
| }, | ||
| { | ||
| "size" : "29x29", | ||
| "idiom" : "ipad", | ||
| "filename" : "AppIcon-29x29@1x.png", | ||
| "scale" : "1x" | ||
| }, | ||
| { | ||
| "size" : "29x29", | ||
| "idiom" : "ipad", | ||
| "filename" : "AppIcon-29x29@2x.png", | ||
| "scale" : "2x" | ||
| }, | ||
| { | ||
| "size" : "40x40", | ||
| "idiom" : "ipad", | ||
| "filename" : "AppIcon-40x40@1x.png", | ||
| "scale" : "1x" | ||
| }, | ||
| { | ||
| "size" : "40x40", | ||
| "idiom" : "ipad", | ||
| "filename" : "AppIcon-40x40@2x-1.png", | ||
| "scale" : "2x" | ||
| }, | ||
| { | ||
| "size" : "76x76", | ||
| "idiom" : "ipad", | ||
| "filename" : "AppIcon-76x76@1x.png", | ||
| "scale" : "1x" | ||
| }, | ||
| { | ||
| "size" : "76x76", | ||
| "idiom" : "ipad", | ||
| "filename" : "AppIcon-76x76@2x.png", | ||
| "scale" : "2x" | ||
| }, | ||
| { | ||
| "size" : "83.5x83.5", | ||
| "idiom" : "ipad", | ||
| "filename" : "AppIcon-83.5x83.5@2x.png", | ||
| "scale" : "2x" | ||
| }, | ||
| { | ||
| "size" : "1024x1024", | ||
| "idiom" : "ios-marketing", | ||
| "filename" : "AppIcon-512@2x.png", | ||
| "scale" : "1x" | ||
| } | ||
| ], | ||
| "info" : { | ||
| "version" : 1, | ||
| "author" : "xcode" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "info" : { | ||
| "version" : 1, | ||
| "author" : "xcode" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| <plist version="1.0"> | ||
| <dict> | ||
| <key>method</key> | ||
| <string>debugging</string> | ||
| </dict> | ||
| </plist> | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.