Skip to content

ci: macos swiftui xcodegen #5169

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

Open
wants to merge 9 commits into
base: armcknight/ci/visionos-swift-xcodegen
Choose a base branch
from
Open
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -231,4 +231,5 @@ Samples/iOS-Swift6/iOS-Swift6.xcodeproj
Samples/iOS13-Swift/iOS13-Swift.xcodeproj
Samples/iOS-SwiftUI/iOS-SwiftUI.xcodeproj
Samples/iOS15-SwiftUI/iOS15-SwiftUI.xcodeproj
Samples/macOS-SwiftUI/macOS-SwiftUI.xcodeproj
Samples/visionOS-Swift/visionOS-Swift.xcodeproj
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,6 @@ xcode:
xcodegen --spec Samples/iOS13-Swift/iOS13-Swift.yml
xcodegen --spec Samples/iOS-SwiftUI/iOS-SwiftUI.yml
xcodegen --spec Samples/iOS15-SwiftUI/iOS15-SwiftUI.yml
xcodegen --spec Samples/macOS-SwiftUI/macOS-SwiftUI.yml
xcodegen --spec Samples/visionOS-Swift/visionOS-Swift.yml
open Sentry.xcworkspace
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 60 additions & 0 deletions Samples/SampleAssets.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,66 @@
"idiom": "ios-marketing",
"scale": "1x",
"size": "1024x1024"
},
{
"filename": "16 1.png",
"idiom": "mac",
"scale": "1x",
"size": "16x16"
},
{
"filename": "32 2.png",
"idiom": "mac",
"scale": "2x",
"size": "16x16"
},
{
"filename": "32 1.png",
"idiom": "mac",
"scale": "1x",
"size": "32x32"
},
{
"filename": "64.png",
"idiom": "mac",
"scale": "2x",
"size": "32x32"
},
{
"filename": "128 1.png",
"idiom": "mac",
"scale": "1x",
"size": "128x128"
},
{
"filename": "256 2.png",
"idiom": "mac",
"scale": "2x",
"size": "128x128"
},
{
"filename": "256 1.png",
"idiom": "mac",
"scale": "1x",
"size": "256x256"
},
{
"filename": "512 1.png",
"idiom": "mac",
"scale": "2x",
"size": "256x256"
},
{
"filename": "512 2.png",
"idiom": "mac",
"scale": "1x",
"size": "512x512"
},
{
"filename": "1024 1.png",
"idiom": "mac",
"scale": "2x",
"size": "512x512"
}
],
"info": {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,66 @@
"idiom": "ios-marketing",
"scale": "1x",
"size": "1024x1024"
},
{
"filename": "16 1.png",
"idiom": "mac",
"scale": "1x",
"size": "16x16"
},
{
"filename": "32 1.png",
"idiom": "mac",
"scale": "2x",
"size": "16x16"
},
{
"filename": "32 2.png",
"idiom": "mac",
"scale": "1x",
"size": "32x32"
},
{
"filename": "64.png",
"idiom": "mac",
"scale": "2x",
"size": "32x32"
},
{
"filename": "128 1.png",
"idiom": "mac",
"scale": "1x",
"size": "128x128"
},
{
"filename": "256 1.png",
"idiom": "mac",
"scale": "2x",
"size": "128x128"
},
{
"filename": "256 2.png",
"idiom": "mac",
"scale": "1x",
"size": "256x256"
},
{
"filename": "512 1.png",
"idiom": "mac",
"scale": "2x",
"size": "256x256"
},
{
"filename": "512 2.png",
"idiom": "mac",
"scale": "1x",
"size": "512x512"
},
{
"filename": "1024 1.png",
"idiom": "mac",
"scale": "2x",
"size": "512x512"
}
],
"info": {
Expand Down
2 changes: 2 additions & 0 deletions Samples/iOS-SwiftUI/iOS-SwiftUI.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ SWIFT_OBJC_BRIDGING_HEADER = iOS-SwiftUI/bridging-headers.h
SUPPORTED_PLATFORMS = iphoneos iphonesimulator

IPHONEOS_DEPLOYMENT_TARGET = 14.0

DEVELOPMENT_ASSET_PATHS = "iOS-SwiftUI/Preview Content"
2 changes: 2 additions & 0 deletions Samples/iOS15-SwiftUI/iOS15-SwiftUI.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ INFOPLIST_FILE = iOS-SwiftUI/Info.plist
SUPPORTED_PLATFORMS = iphoneos iphonesimulator

IPHONEOS_DEPLOYMENT_TARGET = 15.0

DEVELOPMENT_ASSET_PATHS = "iOS15-SwiftUI/Preview Content"
42 changes: 42 additions & 0 deletions Samples/macOS-SwiftUI/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?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>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>GIT_BRANCH</key>
<string>&lt;branch&gt;</string>
<key>GIT_COMMIT_HASH</key>
<string>&lt;sha&gt;</string>
<key>GIT_STATUS_CLEAN</key>
<string>&lt;status&gt;</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2020 Sentry. All rights reserved.</string>
<key>NSMainStoryboardFile</key>
<string>Main</string>
<key>NSPrincipalClass</key>
<string>SentryCrashExceptionApplication</string>
<key>NSSupportsAutomaticTermination</key>
<true/>
<key>NSSupportsSuddenTermination</key>
<true/>
</dict>
</plist>
33 changes: 33 additions & 0 deletions Samples/macOS-SwiftUI/macOS-SwiftUI.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#include "../Shared/Config/Architectures.xcconfig"
#include "../Shared/Config/BuildOptions.xcconfig"
#include "../Shared/Config/Deployment.xcconfig"
#include "../Shared/Config/Linking.xcconfig"
#include "../Shared/Config/Localization.xcconfig"
#include "../Shared/Config/Packaging.xcconfig"
#include "../Shared/Config/SearchPaths.xcconfig"
#include "../Shared/Config/Signing.xcconfig"
#include "../Shared/Config/CodeGeneration.xcconfig"
#include "../Shared/Config/ClangLanguage.xcconfig"
#include "../Shared/Config/ClangCppLanguage.xcconfig"
#include "../Shared/Config/ClangModules.xcconfig"
#include "../Shared/Config/ClangObjCLanguage.xcconfig"
#include "../Shared/Config/ClangPreprocessing.xcconfig"
#include "../Shared/Config/ClangWarnings.xcconfig"
#include "../Shared/Config/ClangWarningsCpp.xcconfig"
#include "../Shared/Config/ClangWarningsObjC.xcconfig"
#include "../Shared/Config/AssetCatalog.xcconfig"
#include "../Shared/Config/ClangAnalyzer.xcconfig"
#include "../Shared/Config/Swift.xcconfig"
#include "../Shared/Config/Metal.xcconfig"

#include "../../Sources/Configuration/Versioning.xcconfig"

PRODUCT_BUNDLE_IDENTIFIER = io.sentry.macOS-SwiftUI
INFOPLIST_FILE = macOS-SwiftUI/Info.plist
CODE_SIGN_ENTITLEMENTS = macOS-SwiftUI/macOS_SwiftUI.entitlements

SUPPORTED_PLATFORMS = macosx

MACOSX_DEPLOYMENT_TARGET = 12.4

DEVELOPMENT_ASSET_PATHS = "macOS-SwiftUI/Preview Content"
Loading
Loading