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
| #!/usr/bin/env bash | |
| set -ex | |
| # https://bogo.wtf/arm64-to-sim.html | |
| ios_plat=ios | |
| simulator_plat=simulator | |
| make() { | |
| for name in $@; do |
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
| """ | |
| Use the following code in xcode preview to get the simulator path. Xcode preview does not support print or log to console. | |
| So you need to use a `Text` view to show the path. | |
| ` | |
| NSSearchPathForDirectoriesInDomains(FileManager.SearchPathDirectory.applicationSupportDirectory, .userDomainMask, true) | |
| ` | |
| """ | |
| import pathlib | |
| import subprocess |
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
| // | |
| // RecordingView.swift | |
| // voicekeyboard | |
| // | |
| // Informational view shown when app is launched via voicekeyboard://record | |
| // Pure UI component - business logic handled in voicekeyboardApp.handleRecognitionRequest | |
| // | |
| import SwiftUI |
OlderNewer