Skip to content

Commit

Permalink
adding MacOS test
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 committed May 8, 2023
1 parent 566f68e commit 3b09b47
Show file tree
Hide file tree
Showing 10 changed files with 359 additions and 24 deletions.
8 changes: 4 additions & 4 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/cbaker6/CareKit.git",
"state" : {
"revision" : "698176a292e3077f7a30496c42f9e8392328930e",
"version" : "3.0.0-alpha.22"
"revision" : "7c941993bee316faccff2ccaa6b256fd550cc1a9",
"version" : "3.0.0-beta.1"
}
},
{
Expand All @@ -23,8 +23,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/netreconlab/Parse-Swift.git",
"state" : {
"revision" : "a746db0bf4e9a2b3b33bc0a7f9dbcaf79feb0c8b",
"version" : "5.4.2"
"revision" : "0e409291a0a81b47dbea722a48aba61ef9ddafcd",
"version" : "5.4.3"
}
},
{
Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ import PackageDescription

let package = Package(
name: "ParseCareKit",
platforms: [.iOS(.v14), .macOS(.v11), .watchOS(.v7)],
platforms: [.iOS(.v14), .macOS(.v13), .watchOS(.v7)],
products: [
.library(
name: "ParseCareKit",
targets: ["ParseCareKit"])
],
dependencies: [
.package(url: "https://github.com/cbaker6/CareKit.git",
.upToNextMajor(from: "3.0.0-alpha.21")),
.upToNextMajor(from: "3.0.0-beta.1")),
.package(url: "https://github.com/netreconlab/Parse-Swift.git",
.upToNextMajor(from: "5.4.2"))
.upToNextMajor(from: "5.4.3"))
],
targets: [
.target(
Expand Down
228 changes: 211 additions & 17 deletions ParseCareKit.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions TestHostAll/Assets.xcassets/AccentColor.colorset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
63 changes: 63 additions & 0 deletions TestHostAll/Assets.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"images" : [
{
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "16x16"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "16x16"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "32x32"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "32x32"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "128x128"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "128x128"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "256x256"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "256x256"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "512x512"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "512x512"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
6 changes: 6 additions & 0 deletions TestHostAll/Assets.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
27 changes: 27 additions & 0 deletions TestHostAll/ContentView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
//
// ContentView.swift
// TestHostAll
//
// Created by Corey Baker on 5/8/23.
// Copyright © 2023 Network Reconnaissance Lab. All rights reserved.
//

import SwiftUI

struct ContentView: View {
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundColor(.accentColor)
Text("Hello, world!")
}
.padding()
}
}

struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
10 changes: 10 additions & 0 deletions TestHostAll/TestHostAll.entitlements
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?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>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
</dict>
</plist>
18 changes: 18 additions & 0 deletions TestHostAll/TestHostAllApp.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//
// TestHostAllApp.swift
// TestHostAll
//
// Created by Corey Baker on 5/8/23.
// Copyright © 2023 Network Reconnaissance Lab. All rights reserved.
//

import SwiftUI

@main
struct TestHostAllApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
}
}

0 comments on commit 3b09b47

Please sign in to comment.