-
Notifications
You must be signed in to change notification settings - Fork 36
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
Switch to Xcode 15.4 #56
Changes from all commits
f2d80b8
7e613eb
a029745
2ad56ea
fa673da
4349150
7b16394
1a19980
c4548f1
2d3d9b6
f52f589
a3352c6
52ef933
5dd4ebb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
.DEFAULT_GOAL := generate | ||
|
||
# Code Signing Settings | ||
|
||
NO_CODE_SIGN_SETTINGS = CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice! I was trying to do that in different place fa673da |
||
|
||
# Install Tasks | ||
|
||
install-lint: | ||
|
@@ -8,6 +12,9 @@ install-lint: | |
install-xcodegen: | ||
brew list xcodegen &>/dev/null || brew install xcodegen | ||
|
||
install-xcbeautify: | ||
brew list xcbeautify &>/dev/null || brew install xcbeautify | ||
|
||
# Run Tasks | ||
|
||
generate: install-xcodegen | ||
|
@@ -23,24 +30,28 @@ test-iPad: | |
xcodebuild \ | ||
-project Hammer.xcodeproj \ | ||
-scheme Hammer \ | ||
-destination "name=iPad Pro (12.9-inch) (4th generation)" \ | ||
test | ||
-destination "name=iPad Pro (12.9-inch) (6th generation)" \ | ||
test \ | ||
$(NO_CODE_SIGN_SETTINGS) | xcbeautify | ||
|
||
test-iPhone: | ||
set -o pipefail && \ | ||
xcodebuild \ | ||
-project Hammer.xcodeproj \ | ||
-scheme Hammer \ | ||
-destination "name=iPhone 11" \ | ||
test | ||
-destination "name=iPhone 15" \ | ||
test \ | ||
$(NO_CODE_SIGN_SETTINGS) | xcbeautify | ||
|
||
test-iPhone-iOS12: | ||
test-iPhone-iOS15: | ||
set -o pipefail && \ | ||
xcodebuild \ | ||
-project Hammer.xcodeproj \ | ||
-scheme Hammer \ | ||
-destination "name=iPhone 6" \ | ||
test | ||
-destination "name=iPhone 11" \ | ||
-sdk iphonesimulator15.0 \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This a bit unfortunate but GitHub Actions deprecated the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is fine |
||
test \ | ||
$(NO_CODE_SIGN_SETTINGS) | xcbeautify | ||
|
||
# List all targets (from https://stackoverflow.com/questions/4219255/how-do-you-get-the-list-of-targets-in-a-makefile) | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import UIKit | ||
|
||
@available(iOS 13.0, *) | ||
final class SceneDelegate: UIResponder, UISceneDelegate { | ||
var window: UIWindow? | ||
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, | ||
options connectionOptions: UIScene.ConnectionOptions) {} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed these since that information is out in each runner: https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md