This file contains 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
name: TestFlight | |
on: | |
workflow_dispatch: | |
inputs: | |
changelog: | |
type: string | |
description: What to test | |
required: true |
This file contains 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
name: dependencies update | |
# Weekly PR to update dependencies: | |
# - Swift Packages | |
# - Github actions | |
on: | |
workflow_dispatch: | |
push: | |
branches: |
This file contains 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
#!/bin/zsh | |
scriptDir=${0:a:h} | |
deleteAndCreate() { | |
xcrun simctl delete "$1" | |
xcrun simctl create "$1" com.apple.CoreSimulator.SimDeviceType.iPad-mini-6th-generation 2> /dev/null | |
} | |
createSimulatorWithContact() { |
This file contains 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
#!/bin/zsh --login --errexit | |
version=$((GITHUB_RUN_NUMBER+version_offset)) | |
ORGANIZER_ARCHIVE=$(find ~/Library/Developer/Xcode/Archives -name MyApp-$version.xcarchive) | |
if [[ $ORGANIZER_ARCHIVE ]] | |
then | |
echo "::notice::Uploading: $ORGANIZER_ARCHIVE" | |
else | |
echo "::error::Archive MyApp-$version.xcarchive not found" | |
find -s ~/Library/Developer/Xcode/Archives -name \*.xcarchive |
This file contains 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
/* For debugging only; output goes to stderr | |
Use CFShow() to printf the description of any CFType; | |
Use CFShowStr() to printf detailed info about a CFString | |
*/ | |
public func CFShow(_ obj: CFTypeRef!) | |
public func CFShowStr(_ str: CFString!) |
OlderNewer