├── Sample macOS App
├── Assets.xcassets
│ ├── Contents.json
│ ├── Push.imageset
│ │ ├── Push.png
│ │ ├── Push@2x.png
│ │ ├── Push@3x.png
│ │ └── Contents.json
│ ├── Test.imageset
│ │ ├── Test.png
│ │ ├── Test@2x.png
│ │ ├── Test@3x.png
│ │ └── Contents.json
│ ├── Build.imageset
│ │ ├── Build.png
│ │ ├── Build@2x.png
│ │ ├── Build@3x.png
│ │ └── Contents.json
│ ├── AppIcon.appiconset
│ │ ├── icon.png
│ │ ├── icon-1.png
│ │ ├── icon-2.png
│ │ ├── icon-3.png
│ │ ├── icon-4.png
│ │ ├── icon-5.png
│ │ ├── icon-6.png
│ │ ├── icon-7.png
│ │ ├── icon-8.png
│ │ ├── icon-9.png
│ │ └── Contents.json
│ ├── MCLogo.imageset
│ │ ├── MCLogo.png
│ │ ├── MCLogo@2x.png
│ │ ├── MCLogo@3x.png
│ │ └── Contents.json
│ ├── Crashes.imageset
│ │ ├── Crashes.png
│ │ ├── Crashes@2x.png
│ │ ├── Crashes@3x.png
│ │ └── Contents.json
│ └── Analytics.imageset
│ │ ├── Analytics.png
│ │ ├── Analytics@2x.png
│ │ ├── Analytics@3x.png
│ │ └── Contents.json
├── Sample macOS App.entitlements
├── CrashViewController.swift
├── AnalyticsViewController.swift
├── Info.plist
└── AppDelegate.swift
├── Podfile
├── Sample macOS App.xcworkspace
└── contents.xcworkspacedata
├── Podfile.lock
├── Sample macOS AppUITests
├── Info.plist
└── Sample_macOS_AppUITests.swift
├── azure-pipelines.yml
├── .gitignore
├── SECURITY.md
├── Sample macOS App.xcodeproj
├── xcshareddata
│ └── xcschemes
│ │ └── Sample macOS App.xcscheme
└── project.pbxproj
├── README.md
└── Resources
└── Base.lproj
├── Welcome.xib
├── Push.xib
├── Test.xib
├── Build.xib
├── Crashes.xib
├── Analytics.xib
└── MainMenu.xib
/Sample macOS App/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Push.imageset/Push.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/Push.imageset/Push.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Test.imageset/Test.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/Test.imageset/Test.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Build.imageset/Build.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/Build.imageset/Build.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Push.imageset/Push@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/Push.imageset/Push@2x.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Push.imageset/Push@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/Push.imageset/Push@3x.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Test.imageset/Test@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/Test.imageset/Test@2x.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Test.imageset/Test@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/Test.imageset/Test@3x.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Build.imageset/Build@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/Build.imageset/Build@2x.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Build.imageset/Build@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/Build.imageset/Build@3x.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/MCLogo.imageset/MCLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/MCLogo.imageset/MCLogo.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-1.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-2.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-3.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-4.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-5.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-6.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-7.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-8.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/AppIcon.appiconset/icon-9.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Crashes.imageset/Crashes.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/Crashes.imageset/Crashes.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/MCLogo.imageset/MCLogo@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/MCLogo.imageset/MCLogo@2x.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/MCLogo.imageset/MCLogo@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/MCLogo.imageset/MCLogo@3x.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Analytics.imageset/Analytics.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/Analytics.imageset/Analytics.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Crashes.imageset/Crashes@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/Crashes.imageset/Crashes@2x.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Crashes.imageset/Crashes@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/Crashes.imageset/Crashes@3x.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Analytics.imageset/Analytics@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/Analytics.imageset/Analytics@2x.png
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Analytics.imageset/Analytics@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-macos-swift/HEAD/Sample macOS App/Assets.xcassets/Analytics.imageset/Analytics@3x.png
--------------------------------------------------------------------------------
/Podfile:
--------------------------------------------------------------------------------
1 | platform :osx, '10.9'
2 |
3 | target 'Sample macOS App' do
4 | # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
5 | use_frameworks!
6 |
7 | # Pods for Sample macOS App
8 | pod 'AppCenter'
9 | pod 'AppCenter/Analytics'
10 | pod 'AppCenter/Crashes'
11 | end
12 |
--------------------------------------------------------------------------------
/Sample macOS App.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Sample macOS App/Sample macOS App.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 | com.apple.security.files.user-selected.read-only
8 |
9 | com.apple.security.network.client
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Push.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Push.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "Push@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "Push@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Test.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Test.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "Test@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "Test@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Build.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Build.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "Build@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "Build@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/MCLogo.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "MCLogo.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "MCLogo@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "MCLogo@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Crashes.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Crashes.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "Crashes@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "Crashes@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/Analytics.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Analytics.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "Analytics@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "Analytics@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - AppCenter (4.2.0):
3 | - AppCenter/Analytics (= 4.2.0)
4 | - AppCenter/Crashes (= 4.2.0)
5 | - AppCenter/Analytics (4.2.0):
6 | - AppCenter/Core
7 | - AppCenter/Core (4.2.0)
8 | - AppCenter/Crashes (4.2.0):
9 | - AppCenter/Core
10 |
11 | DEPENDENCIES:
12 | - AppCenter
13 | - AppCenter/Analytics
14 | - AppCenter/Crashes
15 |
16 | SPEC REPOS:
17 | trunk:
18 | - AppCenter
19 |
20 | SPEC CHECKSUMS:
21 | AppCenter: 87ef6eefd8ade4df59e88951288587429f3dd2a5
22 |
23 | PODFILE CHECKSUM: 40bf1c3610f26860914587b6bcab8816dcb8c8ae
24 |
25 | COCOAPODS: 1.10.1
26 |
--------------------------------------------------------------------------------
/Sample macOS App/CrashViewController.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 | import AppCenterCrashes
3 |
4 | class CrashViewController: NSViewController {
5 |
6 | @IBAction func crash(_: Any) {
7 | let alert = NSAlert()
8 | alert.messageText = "The app will close"
9 | alert.informativeText = "A crash report will be sent when you reopen the app."
10 | alert.addButton(withTitle: "Crash app")
11 | alert.addButton(withTitle: "Cancel")
12 | switch alert.runModal() {
13 | case NSApplication.ModalResponse.alertFirstButtonReturn:
14 |
15 | // Generate test crash
16 | Crashes.generateTestCrash()
17 | fatalError()
18 | default:
19 | break
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Sample macOS AppUITests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 |
22 |
23 |
--------------------------------------------------------------------------------
/azure-pipelines.yml:
--------------------------------------------------------------------------------
1 | # Xcode
2 | # Build, test, and archive an Xcode workspace on macOS.
3 | # Add steps that install certificates, test, sign, and distribute an app, save build artifacts, and more:
4 | # https://docs.microsoft.com/azure/devops/pipelines/languages/xcode
5 |
6 | trigger:
7 | branches:
8 | include:
9 | - master
10 | pr:
11 | - master
12 |
13 | pool:
14 | vmImage: 'macos-latest'
15 |
16 | steps:
17 | - task: CocoaPods@0
18 | inputs:
19 | forceRepoUpdate: true
20 | - task: Xcode@5
21 | inputs:
22 | actions: 'clean build'
23 | configuration: 'Release'
24 | sdk: 'macosx'
25 | xcWorkspacePath: '*.xcworkspace'
26 | scheme: 'Sample macOS App'
27 | xcodeVersion: 'specifyPath'
28 | xcodeDeveloperDir: '/Applications/Xcode_11.3.app'
29 | packageApp: false
30 | publishJUnitResults: true
31 |
--------------------------------------------------------------------------------
/Sample macOS App/AnalyticsViewController.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 | import AppCenterAnalytics
3 |
4 | class AnalyticsViewController: NSViewController {
5 |
6 | @IBAction func simple(_ sender: Any) {
7 | Analytics.trackEvent("Sample event")
8 | let alert = NSAlert()
9 | alert.messageText = "Event sent"
10 | alert.runModal()
11 | }
12 |
13 | @IBAction func color(_ sender: Any) {
14 | let alert = NSAlert()
15 | alert.messageText = "Choose a color"
16 | alert.addButton(withTitle: "💛 Yellow")
17 | alert.addButton(withTitle: "💙 Blue")
18 | alert.addButton(withTitle: "❤️ Red")
19 | switch alert.runModal() {
20 | case NSApplication.ModalResponse.alertFirstButtonReturn:
21 | Analytics.trackEvent("Color event", withProperties: ["Color": "Yellow"])
22 | case NSApplication.ModalResponse.alertSecondButtonReturn:
23 | Analytics.trackEvent("Color event", withProperties: ["Color": "Blue"])
24 | case NSApplication.ModalResponse.alertThirdButtonReturn:
25 | Analytics.trackEvent("Color event", withProperties: ["Color": "Red"])
26 | default:
27 | break
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Sample macOS App/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIconFile
10 |
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleVersion
22 | 1
23 | LSMinimumSystemVersion
24 | $(MACOSX_DEPLOYMENT_TARGET)
25 | NSHumanReadableCopyright
26 | Copyright © 2017 Microsoft. All rights reserved.
27 | NSMainNibFile
28 | MainMenu
29 | NSPrincipalClass
30 | NSApplication
31 |
32 |
33 |
--------------------------------------------------------------------------------
/Sample macOS AppUITests/Sample_macOS_AppUITests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Sample_macOS_AppUITests.swift
3 | // Sample macOS AppUITests
4 | //
5 | // Created by Murat Baysangurov on 15/10/2017.
6 | // Copyright © 2017 Microsoft. All rights reserved.
7 | //
8 |
9 | import XCTest
10 |
11 | class Sample_macOS_AppUITests: XCTestCase {
12 |
13 | override func setUp() {
14 | super.setUp()
15 |
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 |
18 | // In UI tests it is usually best to stop immediately when a failure occurs.
19 | continueAfterFailure = false
20 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
21 | XCUIApplication().launch()
22 |
23 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
24 | }
25 |
26 | override func tearDown() {
27 | // Put teardown code here. This method is called after the invocation of each test method in the class.
28 | super.tearDown()
29 | }
30 |
31 | func testExample() {
32 | // Use recording to get started writing UI tests.
33 | // Use XCTAssert and related functions to verify your tests produce the correct results.
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/Sample macOS App/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 | import AppCenter
3 | import AppCenterAnalytics
4 | import AppCenterCrashes
5 |
6 | @NSApplicationMain
7 | class AppDelegate: NSObject, NSApplicationDelegate, NSPageControllerDelegate {
8 |
9 | @IBOutlet weak var window: NSWindow!
10 | @IBOutlet weak var pageController: NSPageController!
11 |
12 | private var services: [String] = [ "Welcome", "Build", "Test", "Crashes", "Analytics", "Push"]
13 |
14 | func applicationDidFinishLaunching(_ aNotification: Notification) {
15 | // Start App Center
16 | AppCenter.start(withAppSecret: "", services: [
17 | Analytics.self,
18 | Crashes.self,
19 | ])
20 |
21 | pageController.arrangedObjects = services
22 | }
23 |
24 | func applicationWillTerminate(_ aNotification: Notification) {
25 | // Insert code here to tear down your application
26 | }
27 |
28 | // NSPageController delegate
29 | func pageController(_ pageController: NSPageController, identifierFor object: Any) -> String {
30 | return object as! String
31 | }
32 |
33 | func pageController(_ pageController: NSPageController, viewControllerForIdentifier identifier: String) -> NSViewController {
34 | switch identifier {
35 | case "Crashes":
36 | return CrashViewController(nibName: identifier, bundle: nil)
37 | case "Analytics":
38 | return AnalyticsViewController(nibName: identifier, bundle: nil)
39 | default:
40 | return NSViewController(nibName: identifier, bundle: nil)
41 | }
42 | }
43 | }
44 |
45 |
--------------------------------------------------------------------------------
/Sample macOS App/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "16x16",
5 | "idiom" : "mac",
6 | "filename" : "icon.png",
7 | "scale" : "1x"
8 | },
9 | {
10 | "size" : "16x16",
11 | "idiom" : "mac",
12 | "filename" : "icon-1.png",
13 | "scale" : "2x"
14 | },
15 | {
16 | "size" : "32x32",
17 | "idiom" : "mac",
18 | "filename" : "icon-2.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "32x32",
23 | "idiom" : "mac",
24 | "filename" : "icon-3.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "128x128",
29 | "idiom" : "mac",
30 | "filename" : "icon-4.png",
31 | "scale" : "1x"
32 | },
33 | {
34 | "size" : "128x128",
35 | "idiom" : "mac",
36 | "filename" : "icon-5.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "256x256",
41 | "idiom" : "mac",
42 | "filename" : "icon-6.png",
43 | "scale" : "1x"
44 | },
45 | {
46 | "size" : "256x256",
47 | "idiom" : "mac",
48 | "filename" : "icon-7.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "512x512",
53 | "idiom" : "mac",
54 | "filename" : "icon-8.png",
55 | "scale" : "1x"
56 | },
57 | {
58 | "size" : "512x512",
59 | "idiom" : "mac",
60 | "filename" : "icon-9.png",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4 |
5 | ## Build generated
6 | build/
7 | DerivedData/
8 |
9 | ## Various settings
10 | *.pbxuser
11 | !default.pbxuser
12 | *.mode1v3
13 | !default.mode1v3
14 | *.mode2v3
15 | !default.mode2v3
16 | *.perspectivev3
17 | !default.perspectivev3
18 | xcuserdata/
19 |
20 | ## Other
21 | *.moved-aside
22 | *.xccheckout
23 | *.xcscmblueprint
24 |
25 | ## Obj-C/Swift specific
26 | *.hmap
27 | *.ipa
28 | *.dSYM.zip
29 | *.dSYM
30 |
31 | # CocoaPods
32 | #
33 | # We recommend against adding the Pods directory to your .gitignore. However
34 | # you should judge for yourself, the pros and cons are mentioned at:
35 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
36 | Pods/
37 | *.xcworkspace
38 |
39 | # Carthage
40 | #
41 | # Add this line if you want to avoid checking in source code from Carthage dependencies.
42 | # Carthage/Checkouts
43 |
44 | Carthage/Build
45 |
46 | # fastlane
47 | #
48 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
49 | # screenshots whenever they are needed.
50 | # For more information about the recommended setup visit:
51 | # https://docs.fastlane.tools/best-practices/source-control/#source-control
52 |
53 | fastlane/report.xml
54 | fastlane/Preview.html
55 | fastlane/screenshots
56 | fastlane/test_output
57 |
58 | # Code Injection
59 | #
60 | # After new code Injection tools there's a generated folder /iOSInjectionProject
61 | # https://github.com/johnno1962/injectionforxcode
62 |
63 | iOSInjectionProject/
64 |
65 | .DS_Store
66 |
--------------------------------------------------------------------------------
/SECURITY.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | ## Security
4 |
5 | Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
6 |
7 | If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.
8 |
9 | ## Reporting Security Issues
10 |
11 | **Please do not report security vulnerabilities through public GitHub issues.**
12 |
13 | Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
14 |
15 | If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
16 |
17 | You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
18 |
19 | Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
20 |
21 | * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22 | * Full paths of source file(s) related to the manifestation of the issue
23 | * The location of the affected source code (tag/branch/commit or direct URL)
24 | * Any special configuration required to reproduce the issue
25 | * Step-by-step instructions to reproduce the issue
26 | * Proof-of-concept or exploit code (if possible)
27 | * Impact of the issue, including how an attacker might exploit the issue
28 |
29 | This information will help us triage your report more quickly.
30 |
31 | If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
32 |
33 | ## Preferred Languages
34 |
35 | We prefer all communications to be in English.
36 |
37 | ## Policy
38 |
39 | Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
40 |
41 |
42 |
--------------------------------------------------------------------------------
/Sample macOS App.xcodeproj/xcshareddata/xcschemes/Sample macOS App.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
33 |
39 |
40 |
41 |
42 |
43 |
53 |
55 |
61 |
62 |
63 |
64 |
70 |
72 |
78 |
79 |
80 |
81 |
83 |
84 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # App Center Sample App for macOS (Swift)
2 |
3 | The macOS application in this repository and its corresponding tutorials will help you quickly and easily onboard to Visual Studio App Center.
4 |
5 | ## About this repository
6 |
7 | The App Center SDK modules are already integrated within the application. Simply follow the tutorials to learn how to use each service.
8 |
9 | ### Build status (master branch)
10 |
11 | | Build Service | Status |
12 | | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
13 | | App Center | [](https://appcenter.ms) |
14 | | Azure Pipelines | [](https://dev.azure.com/msmobilecenter/Mobile-Center/_build/latest?definitionId=3727&branchName=master) |
15 |
16 | ## Build the sample app
17 |
18 | After forking the repository, you'll need to install CocoaPods to build the app.
19 |
20 | ```sh
21 | sudo gem install cocoapods
22 | ```
23 |
24 | Next, install the dependencies.
25 |
26 | ```sh
27 | pod install
28 | ```
29 |
30 | Open the .xcworkspace. The app can now build and run. You can learn to use the sample app with App Center with the tutorials below.
31 |
32 | ## Codesigning
33 |
34 | _Codesigning is optional, but recommended._
35 |
36 | Codesigning will allow you to deploy this sample app to your device. The **Build** and **Distribute** tutorials recommend that you codesign.
37 |
38 | To sign the app in Xcode:
39 |
40 | 1. Open **.xcworkspace** from the sample app's folder.
41 | 2. Go to **General** within the .xcworkspace file.
42 | 3. Under **Identity**, edit the **Bundle Identifier** to match the app ID.
43 | 4. Import and select the provisioning profile under **Signing (Debug)** and **Signing (Release)**.
44 |
45 | ## Tutorial links
46 |
47 | Begin with the [Getting Started](https://docs.microsoft.com/en-us/appcenter/quickstarts/macos/getting-started) tutorial. After you've completed that, you can do the rest in the order below, or choose a specific tutorial to follow.
48 |
49 | ## Contents
50 |
51 | | Tutorial | Description |
52 | | ----------------------------------------------------------------------------------------------- | ------------------------------------------ |
53 | | [Getting Started](https://docs.microsoft.com/en-us/appcenter/quickstarts/macos/getting-started) | Set up the app |
54 | | [Build](https://docs.microsoft.com/en-us/appcenter/quickstarts/macos/build) | Build the app |
55 | | [Distribute](https://docs.microsoft.com/en-us/appcenter/quickstarts/macos/distribute) | Distribute application to a group of users |
56 | | [Crashes](https://docs.microsoft.com/en-us/appcenter/quickstarts/macos/crashes) | Monitor application crashes |
57 | | [Analytics](https://docs.microsoft.com/en-us/appcenter/quickstarts/macos/analytics) | View user analytics |
58 |
--------------------------------------------------------------------------------
/Resources/Base.lproj/Welcome.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 | App Center is mission control for apps. It brings together multiple services, commonly used for mobile developers, into a single, integrated product.
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/Resources/Base.lproj/Push.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 | Engage your users by sending them targeted messages to specific sets of users at exactly the right time. Create segments of users based on device and custom properties.
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
--------------------------------------------------------------------------------
/Resources/Base.lproj/Test.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 | Run your tests on more than 400 unique device configurations. Tests can be written for iOS and Android apps with Xamarin, UITest, Appium, Espresso (Android), and XCUITest (iOS).
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
--------------------------------------------------------------------------------
/Resources/Base.lproj/Build.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 | Create an installable app package automatically with every push to your repository. Supports GitHub, or Git repos on Bitbucket and Visual Studio Team Services (VSTS).
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
--------------------------------------------------------------------------------
/Resources/Base.lproj/Crashes.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 | Collect crashes from all devices, prioritize them based on the number of users seeing the crash, and get the full stack traces to help you fix them.
34 |
35 |
36 |
37 |
38 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/Resources/Base.lproj/Analytics.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 | Collect crashes from all devices, prioritize them based on the number of users seeing the crash, and get the full stack traces to help you fix them.
34 |
35 |
36 |
37 |
38 |
49 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
--------------------------------------------------------------------------------
/Sample macOS App.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 51;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 8093E5261F93C300000FB6BE /* Test.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8093E5201F93C300000FB6BE /* Test.xib */; };
11 | 8093E5271F93C300000FB6BE /* Push.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8093E5221F93C300000FB6BE /* Push.xib */; };
12 | 8093E5281F93C301000FB6BE /* Build.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8093E5241F93C300000FB6BE /* Build.xib */; };
13 | 8093E52D1F93C722000FB6BE /* Analytics.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8093E5291F93C721000FB6BE /* Analytics.xib */; };
14 | 8093E52E1F93C722000FB6BE /* Crashes.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8093E52B1F93C722000FB6BE /* Crashes.xib */; };
15 | 8093E5311F93CB3F000FB6BE /* CrashViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8093E52F1F93CB3F000FB6BE /* CrashViewController.swift */; };
16 | 8093E5321F93CB3F000FB6BE /* AnalyticsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8093E5301F93CB3F000FB6BE /* AnalyticsViewController.swift */; };
17 | 80B0F0721F9380E200D8EBAC /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80B0F0711F9380E200D8EBAC /* AppDelegate.swift */; };
18 | 80B0F0741F9380E200D8EBAC /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 80B0F0731F9380E200D8EBAC /* Assets.xcassets */; };
19 | 80B0F0771F9380E200D8EBAC /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 80B0F0751F9380E200D8EBAC /* MainMenu.xib */; };
20 | 80B0F0831F9380E200D8EBAC /* Sample_macOS_AppUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80B0F0821F9380E200D8EBAC /* Sample_macOS_AppUITests.swift */; };
21 | 80B0F0991F9386EF00D8EBAC /* Welcome.xib in Resources */ = {isa = PBXBuildFile; fileRef = 80B0F0971F9386EF00D8EBAC /* Welcome.xib */; };
22 | BC0D86B446E56F4053292D57 /* Pods_Sample_macOS_App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D4BCCC285DF9921E1E64CAE /* Pods_Sample_macOS_App.framework */; };
23 | /* End PBXBuildFile section */
24 |
25 | /* Begin PBXContainerItemProxy section */
26 | 80B0F07F1F9380E200D8EBAC /* PBXContainerItemProxy */ = {
27 | isa = PBXContainerItemProxy;
28 | containerPortal = 80B0F0661F9380E200D8EBAC /* Project object */;
29 | proxyType = 1;
30 | remoteGlobalIDString = 80B0F06D1F9380E200D8EBAC;
31 | remoteInfo = "Sample macOS App";
32 | };
33 | /* End PBXContainerItemProxy section */
34 |
35 | /* Begin PBXFileReference section */
36 | 1838B151D7EAEADCBBFA90B5 /* Pods-Sample macOS App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Sample macOS App.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Sample macOS App/Pods-Sample macOS App.debug.xcconfig"; sourceTree = ""; };
37 | 5D4BCCC285DF9921E1E64CAE /* Pods_Sample_macOS_App.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Sample_macOS_App.framework; sourceTree = BUILT_PRODUCTS_DIR; };
38 | 75A469681B223B14891AF937 /* Pods-Sample macOS App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Sample macOS App.release.xcconfig"; path = "Pods/Target Support Files/Pods-Sample macOS App/Pods-Sample macOS App.release.xcconfig"; sourceTree = ""; };
39 | 8093E5211F93C300000FB6BE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/Test.xib; sourceTree = ""; };
40 | 8093E5231F93C300000FB6BE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/Push.xib; sourceTree = ""; };
41 | 8093E5251F93C300000FB6BE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/Build.xib; sourceTree = ""; };
42 | 8093E52A1F93C721000FB6BE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/Analytics.xib; sourceTree = ""; };
43 | 8093E52C1F93C722000FB6BE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/Crashes.xib; sourceTree = ""; };
44 | 8093E52F1F93CB3F000FB6BE /* CrashViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CrashViewController.swift; sourceTree = ""; };
45 | 8093E5301F93CB3F000FB6BE /* AnalyticsViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnalyticsViewController.swift; sourceTree = ""; };
46 | 8093E5331F93CDC0000FB6BE /* Sample macOS App.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "Sample macOS App.entitlements"; sourceTree = ""; };
47 | 80B0F06E1F9380E200D8EBAC /* Sample macOS App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Sample macOS App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
48 | 80B0F0711F9380E200D8EBAC /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
49 | 80B0F0731F9380E200D8EBAC /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
50 | 80B0F0761F9380E200D8EBAC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; };
51 | 80B0F0781F9380E200D8EBAC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
52 | 80B0F07E1F9380E200D8EBAC /* Sample macOS AppUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Sample macOS AppUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
53 | 80B0F0821F9380E200D8EBAC /* Sample_macOS_AppUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Sample_macOS_AppUITests.swift; sourceTree = ""; };
54 | 80B0F0841F9380E200D8EBAC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
55 | 80B0F0981F9386EF00D8EBAC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/Welcome.xib; sourceTree = ""; };
56 | /* End PBXFileReference section */
57 |
58 | /* Begin PBXFrameworksBuildPhase section */
59 | 80B0F06B1F9380E200D8EBAC /* Frameworks */ = {
60 | isa = PBXFrameworksBuildPhase;
61 | buildActionMask = 2147483647;
62 | files = (
63 | BC0D86B446E56F4053292D57 /* Pods_Sample_macOS_App.framework in Frameworks */,
64 | );
65 | runOnlyForDeploymentPostprocessing = 0;
66 | };
67 | 80B0F07B1F9380E200D8EBAC /* Frameworks */ = {
68 | isa = PBXFrameworksBuildPhase;
69 | buildActionMask = 2147483647;
70 | files = (
71 | );
72 | runOnlyForDeploymentPostprocessing = 0;
73 | };
74 | /* End PBXFrameworksBuildPhase section */
75 |
76 | /* Begin PBXGroup section */
77 | 80B0F0651F9380E200D8EBAC = {
78 | isa = PBXGroup;
79 | children = (
80 | 80B0F0961F93866100D8EBAC /* Resources */,
81 | 80B0F0701F9380E200D8EBAC /* Sample macOS App */,
82 | 80B0F0811F9380E200D8EBAC /* Sample macOS AppUITests */,
83 | 80B0F06F1F9380E200D8EBAC /* Products */,
84 | 80B0F08D1F93855500D8EBAC /* Frameworks */,
85 | BF4F105824E2BEA048FF0712 /* Pods */,
86 | );
87 | sourceTree = "";
88 | };
89 | 80B0F06F1F9380E200D8EBAC /* Products */ = {
90 | isa = PBXGroup;
91 | children = (
92 | 80B0F06E1F9380E200D8EBAC /* Sample macOS App.app */,
93 | 80B0F07E1F9380E200D8EBAC /* Sample macOS AppUITests.xctest */,
94 | );
95 | name = Products;
96 | sourceTree = "";
97 | };
98 | 80B0F0701F9380E200D8EBAC /* Sample macOS App */ = {
99 | isa = PBXGroup;
100 | children = (
101 | 8093E5301F93CB3F000FB6BE /* AnalyticsViewController.swift */,
102 | 80B0F0711F9380E200D8EBAC /* AppDelegate.swift */,
103 | 8093E52F1F93CB3F000FB6BE /* CrashViewController.swift */,
104 | 80B0F0731F9380E200D8EBAC /* Assets.xcassets */,
105 | 80B0F0781F9380E200D8EBAC /* Info.plist */,
106 | 8093E5331F93CDC0000FB6BE /* Sample macOS App.entitlements */,
107 | );
108 | path = "Sample macOS App";
109 | sourceTree = "";
110 | };
111 | 80B0F0811F9380E200D8EBAC /* Sample macOS AppUITests */ = {
112 | isa = PBXGroup;
113 | children = (
114 | 80B0F0821F9380E200D8EBAC /* Sample_macOS_AppUITests.swift */,
115 | 80B0F0841F9380E200D8EBAC /* Info.plist */,
116 | );
117 | path = "Sample macOS AppUITests";
118 | sourceTree = "";
119 | };
120 | 80B0F08D1F93855500D8EBAC /* Frameworks */ = {
121 | isa = PBXGroup;
122 | children = (
123 | 5D4BCCC285DF9921E1E64CAE /* Pods_Sample_macOS_App.framework */,
124 | );
125 | name = Frameworks;
126 | sourceTree = "";
127 | };
128 | 80B0F0961F93866100D8EBAC /* Resources */ = {
129 | isa = PBXGroup;
130 | children = (
131 | 8093E5291F93C721000FB6BE /* Analytics.xib */,
132 | 8093E52B1F93C722000FB6BE /* Crashes.xib */,
133 | 8093E5241F93C300000FB6BE /* Build.xib */,
134 | 8093E5221F93C300000FB6BE /* Push.xib */,
135 | 8093E5201F93C300000FB6BE /* Test.xib */,
136 | 80B0F0971F9386EF00D8EBAC /* Welcome.xib */,
137 | 80B0F0751F9380E200D8EBAC /* MainMenu.xib */,
138 | );
139 | path = Resources;
140 | sourceTree = "";
141 | };
142 | BF4F105824E2BEA048FF0712 /* Pods */ = {
143 | isa = PBXGroup;
144 | children = (
145 | 1838B151D7EAEADCBBFA90B5 /* Pods-Sample macOS App.debug.xcconfig */,
146 | 75A469681B223B14891AF937 /* Pods-Sample macOS App.release.xcconfig */,
147 | );
148 | name = Pods;
149 | sourceTree = "";
150 | };
151 | /* End PBXGroup section */
152 |
153 | /* Begin PBXNativeTarget section */
154 | 80B0F06D1F9380E200D8EBAC /* Sample macOS App */ = {
155 | isa = PBXNativeTarget;
156 | buildConfigurationList = 80B0F0871F9380E200D8EBAC /* Build configuration list for PBXNativeTarget "Sample macOS App" */;
157 | buildPhases = (
158 | 930449E377E90DB2D3A15EBA /* [CP] Check Pods Manifest.lock */,
159 | 80B0F06A1F9380E200D8EBAC /* Sources */,
160 | 80B0F06B1F9380E200D8EBAC /* Frameworks */,
161 | 80B0F06C1F9380E200D8EBAC /* Resources */,
162 | );
163 | buildRules = (
164 | );
165 | dependencies = (
166 | );
167 | name = "Sample macOS App";
168 | productName = "Sample macOS App";
169 | productReference = 80B0F06E1F9380E200D8EBAC /* Sample macOS App.app */;
170 | productType = "com.apple.product-type.application";
171 | };
172 | 80B0F07D1F9380E200D8EBAC /* Sample macOS AppUITests */ = {
173 | isa = PBXNativeTarget;
174 | buildConfigurationList = 80B0F08A1F9380E200D8EBAC /* Build configuration list for PBXNativeTarget "Sample macOS AppUITests" */;
175 | buildPhases = (
176 | 80B0F07A1F9380E200D8EBAC /* Sources */,
177 | 80B0F07B1F9380E200D8EBAC /* Frameworks */,
178 | 80B0F07C1F9380E200D8EBAC /* Resources */,
179 | );
180 | buildRules = (
181 | );
182 | dependencies = (
183 | 80B0F0801F9380E200D8EBAC /* PBXTargetDependency */,
184 | );
185 | name = "Sample macOS AppUITests";
186 | productName = "Sample macOS AppUITests";
187 | productReference = 80B0F07E1F9380E200D8EBAC /* Sample macOS AppUITests.xctest */;
188 | productType = "com.apple.product-type.bundle.ui-testing";
189 | };
190 | /* End PBXNativeTarget section */
191 |
192 | /* Begin PBXProject section */
193 | 80B0F0661F9380E200D8EBAC /* Project object */ = {
194 | isa = PBXProject;
195 | attributes = {
196 | LastSwiftUpdateCheck = 0900;
197 | LastUpgradeCheck = 1100;
198 | ORGANIZATIONNAME = Microsoft;
199 | TargetAttributes = {
200 | 80B0F06D1F9380E200D8EBAC = {
201 | CreatedOnToolsVersion = 9.0;
202 | LastSwiftMigration = 1100;
203 | ProvisioningStyle = Automatic;
204 | };
205 | 80B0F07D1F9380E200D8EBAC = {
206 | CreatedOnToolsVersion = 9.0;
207 | LastSwiftMigration = 1100;
208 | ProvisioningStyle = Automatic;
209 | TestTargetID = 80B0F06D1F9380E200D8EBAC;
210 | };
211 | };
212 | };
213 | buildConfigurationList = 80B0F0691F9380E200D8EBAC /* Build configuration list for PBXProject "Sample macOS App" */;
214 | compatibilityVersion = "Xcode 10.0";
215 | developmentRegion = en;
216 | hasScannedForEncodings = 0;
217 | knownRegions = (
218 | en,
219 | Base,
220 | );
221 | mainGroup = 80B0F0651F9380E200D8EBAC;
222 | productRefGroup = 80B0F06F1F9380E200D8EBAC /* Products */;
223 | projectDirPath = "";
224 | projectRoot = "";
225 | targets = (
226 | 80B0F06D1F9380E200D8EBAC /* Sample macOS App */,
227 | 80B0F07D1F9380E200D8EBAC /* Sample macOS AppUITests */,
228 | );
229 | };
230 | /* End PBXProject section */
231 |
232 | /* Begin PBXResourcesBuildPhase section */
233 | 80B0F06C1F9380E200D8EBAC /* Resources */ = {
234 | isa = PBXResourcesBuildPhase;
235 | buildActionMask = 2147483647;
236 | files = (
237 | 8093E52D1F93C722000FB6BE /* Analytics.xib in Resources */,
238 | 8093E5281F93C301000FB6BE /* Build.xib in Resources */,
239 | 80B0F0991F9386EF00D8EBAC /* Welcome.xib in Resources */,
240 | 8093E5271F93C300000FB6BE /* Push.xib in Resources */,
241 | 8093E5261F93C300000FB6BE /* Test.xib in Resources */,
242 | 8093E52E1F93C722000FB6BE /* Crashes.xib in Resources */,
243 | 80B0F0741F9380E200D8EBAC /* Assets.xcassets in Resources */,
244 | 80B0F0771F9380E200D8EBAC /* MainMenu.xib in Resources */,
245 | );
246 | runOnlyForDeploymentPostprocessing = 0;
247 | };
248 | 80B0F07C1F9380E200D8EBAC /* Resources */ = {
249 | isa = PBXResourcesBuildPhase;
250 | buildActionMask = 2147483647;
251 | files = (
252 | );
253 | runOnlyForDeploymentPostprocessing = 0;
254 | };
255 | /* End PBXResourcesBuildPhase section */
256 |
257 | /* Begin PBXShellScriptBuildPhase section */
258 | 930449E377E90DB2D3A15EBA /* [CP] Check Pods Manifest.lock */ = {
259 | isa = PBXShellScriptBuildPhase;
260 | buildActionMask = 2147483647;
261 | files = (
262 | );
263 | inputPaths = (
264 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
265 | "${PODS_ROOT}/Manifest.lock",
266 | );
267 | name = "[CP] Check Pods Manifest.lock";
268 | outputPaths = (
269 | "$(DERIVED_FILE_DIR)/Pods-Sample macOS App-checkManifestLockResult.txt",
270 | );
271 | runOnlyForDeploymentPostprocessing = 0;
272 | shellPath = /bin/sh;
273 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
274 | showEnvVarsInLog = 0;
275 | };
276 | /* End PBXShellScriptBuildPhase section */
277 |
278 | /* Begin PBXSourcesBuildPhase section */
279 | 80B0F06A1F9380E200D8EBAC /* Sources */ = {
280 | isa = PBXSourcesBuildPhase;
281 | buildActionMask = 2147483647;
282 | files = (
283 | 8093E5311F93CB3F000FB6BE /* CrashViewController.swift in Sources */,
284 | 80B0F0721F9380E200D8EBAC /* AppDelegate.swift in Sources */,
285 | 8093E5321F93CB3F000FB6BE /* AnalyticsViewController.swift in Sources */,
286 | );
287 | runOnlyForDeploymentPostprocessing = 0;
288 | };
289 | 80B0F07A1F9380E200D8EBAC /* Sources */ = {
290 | isa = PBXSourcesBuildPhase;
291 | buildActionMask = 2147483647;
292 | files = (
293 | 80B0F0831F9380E200D8EBAC /* Sample_macOS_AppUITests.swift in Sources */,
294 | );
295 | runOnlyForDeploymentPostprocessing = 0;
296 | };
297 | /* End PBXSourcesBuildPhase section */
298 |
299 | /* Begin PBXTargetDependency section */
300 | 80B0F0801F9380E200D8EBAC /* PBXTargetDependency */ = {
301 | isa = PBXTargetDependency;
302 | target = 80B0F06D1F9380E200D8EBAC /* Sample macOS App */;
303 | targetProxy = 80B0F07F1F9380E200D8EBAC /* PBXContainerItemProxy */;
304 | };
305 | /* End PBXTargetDependency section */
306 |
307 | /* Begin PBXVariantGroup section */
308 | 8093E5201F93C300000FB6BE /* Test.xib */ = {
309 | isa = PBXVariantGroup;
310 | children = (
311 | 8093E5211F93C300000FB6BE /* Base */,
312 | );
313 | name = Test.xib;
314 | sourceTree = "";
315 | };
316 | 8093E5221F93C300000FB6BE /* Push.xib */ = {
317 | isa = PBXVariantGroup;
318 | children = (
319 | 8093E5231F93C300000FB6BE /* Base */,
320 | );
321 | name = Push.xib;
322 | sourceTree = "";
323 | };
324 | 8093E5241F93C300000FB6BE /* Build.xib */ = {
325 | isa = PBXVariantGroup;
326 | children = (
327 | 8093E5251F93C300000FB6BE /* Base */,
328 | );
329 | name = Build.xib;
330 | sourceTree = "";
331 | };
332 | 8093E5291F93C721000FB6BE /* Analytics.xib */ = {
333 | isa = PBXVariantGroup;
334 | children = (
335 | 8093E52A1F93C721000FB6BE /* Base */,
336 | );
337 | name = Analytics.xib;
338 | sourceTree = "";
339 | };
340 | 8093E52B1F93C722000FB6BE /* Crashes.xib */ = {
341 | isa = PBXVariantGroup;
342 | children = (
343 | 8093E52C1F93C722000FB6BE /* Base */,
344 | );
345 | name = Crashes.xib;
346 | sourceTree = "";
347 | };
348 | 80B0F0751F9380E200D8EBAC /* MainMenu.xib */ = {
349 | isa = PBXVariantGroup;
350 | children = (
351 | 80B0F0761F9380E200D8EBAC /* Base */,
352 | );
353 | name = MainMenu.xib;
354 | sourceTree = "";
355 | };
356 | 80B0F0971F9386EF00D8EBAC /* Welcome.xib */ = {
357 | isa = PBXVariantGroup;
358 | children = (
359 | 80B0F0981F9386EF00D8EBAC /* Base */,
360 | );
361 | name = Welcome.xib;
362 | sourceTree = "";
363 | };
364 | /* End PBXVariantGroup section */
365 |
366 | /* Begin XCBuildConfiguration section */
367 | 80B0F0851F9380E200D8EBAC /* Debug */ = {
368 | isa = XCBuildConfiguration;
369 | buildSettings = {
370 | ALWAYS_SEARCH_USER_PATHS = NO;
371 | CLANG_ANALYZER_NONNULL = YES;
372 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
373 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
374 | CLANG_CXX_LIBRARY = "libc++";
375 | CLANG_ENABLE_MODULES = YES;
376 | CLANG_ENABLE_OBJC_ARC = YES;
377 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
378 | CLANG_WARN_BOOL_CONVERSION = YES;
379 | CLANG_WARN_COMMA = YES;
380 | CLANG_WARN_CONSTANT_CONVERSION = YES;
381 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
382 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
383 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
384 | CLANG_WARN_EMPTY_BODY = YES;
385 | CLANG_WARN_ENUM_CONVERSION = YES;
386 | CLANG_WARN_INFINITE_RECURSION = YES;
387 | CLANG_WARN_INT_CONVERSION = YES;
388 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
389 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
390 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
391 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
392 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
393 | CLANG_WARN_STRICT_PROTOTYPES = YES;
394 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
395 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
396 | CLANG_WARN_UNREACHABLE_CODE = YES;
397 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
398 | CODE_SIGN_IDENTITY = "-";
399 | COPY_PHASE_STRIP = NO;
400 | DEBUG_INFORMATION_FORMAT = dwarf;
401 | ENABLE_STRICT_OBJC_MSGSEND = YES;
402 | ENABLE_TESTABILITY = YES;
403 | GCC_C_LANGUAGE_STANDARD = gnu11;
404 | GCC_DYNAMIC_NO_PIC = NO;
405 | GCC_NO_COMMON_BLOCKS = YES;
406 | GCC_OPTIMIZATION_LEVEL = 0;
407 | GCC_PREPROCESSOR_DEFINITIONS = (
408 | "DEBUG=1",
409 | "$(inherited)",
410 | );
411 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
412 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
413 | GCC_WARN_UNDECLARED_SELECTOR = YES;
414 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
415 | GCC_WARN_UNUSED_FUNCTION = YES;
416 | GCC_WARN_UNUSED_VARIABLE = YES;
417 | MACOSX_DEPLOYMENT_TARGET = 10.11;
418 | MTL_ENABLE_DEBUG_INFO = YES;
419 | ONLY_ACTIVE_ARCH = YES;
420 | SDKROOT = macosx;
421 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
422 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
423 | SWIFT_VERSION = 5.0;
424 | };
425 | name = Debug;
426 | };
427 | 80B0F0861F9380E200D8EBAC /* Release */ = {
428 | isa = XCBuildConfiguration;
429 | buildSettings = {
430 | ALWAYS_SEARCH_USER_PATHS = NO;
431 | CLANG_ANALYZER_NONNULL = YES;
432 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
433 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
434 | CLANG_CXX_LIBRARY = "libc++";
435 | CLANG_ENABLE_MODULES = YES;
436 | CLANG_ENABLE_OBJC_ARC = YES;
437 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
438 | CLANG_WARN_BOOL_CONVERSION = YES;
439 | CLANG_WARN_COMMA = YES;
440 | CLANG_WARN_CONSTANT_CONVERSION = YES;
441 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
442 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
443 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
444 | CLANG_WARN_EMPTY_BODY = YES;
445 | CLANG_WARN_ENUM_CONVERSION = YES;
446 | CLANG_WARN_INFINITE_RECURSION = YES;
447 | CLANG_WARN_INT_CONVERSION = YES;
448 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
449 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
450 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
451 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
452 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
453 | CLANG_WARN_STRICT_PROTOTYPES = YES;
454 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
455 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
456 | CLANG_WARN_UNREACHABLE_CODE = YES;
457 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
458 | CODE_SIGN_IDENTITY = "-";
459 | COPY_PHASE_STRIP = NO;
460 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
461 | ENABLE_NS_ASSERTIONS = NO;
462 | ENABLE_STRICT_OBJC_MSGSEND = YES;
463 | GCC_C_LANGUAGE_STANDARD = gnu11;
464 | GCC_NO_COMMON_BLOCKS = YES;
465 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
466 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
467 | GCC_WARN_UNDECLARED_SELECTOR = YES;
468 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
469 | GCC_WARN_UNUSED_FUNCTION = YES;
470 | GCC_WARN_UNUSED_VARIABLE = YES;
471 | MACOSX_DEPLOYMENT_TARGET = 10.11;
472 | MTL_ENABLE_DEBUG_INFO = NO;
473 | SDKROOT = macosx;
474 | SWIFT_COMPILATION_MODE = wholemodule;
475 | SWIFT_OPTIMIZATION_LEVEL = "-O";
476 | SWIFT_VERSION = 5.0;
477 | };
478 | name = Release;
479 | };
480 | 80B0F0881F9380E200D8EBAC /* Debug */ = {
481 | isa = XCBuildConfiguration;
482 | baseConfigurationReference = 1838B151D7EAEADCBBFA90B5 /* Pods-Sample macOS App.debug.xcconfig */;
483 | buildSettings = {
484 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
485 | CODE_SIGN_ENTITLEMENTS = "Sample macOS App/Sample macOS App.entitlements";
486 | CODE_SIGN_IDENTITY = "-";
487 | CODE_SIGN_STYLE = Automatic;
488 | COMBINE_HIDPI_IMAGES = YES;
489 | INFOPLIST_FILE = "Sample macOS App/Info.plist";
490 | LD_RUNPATH_SEARCH_PATHS = (
491 | "$(inherited)",
492 | "@executable_path/../Frameworks",
493 | );
494 | PRODUCT_BUNDLE_IDENTIFIER = ms.appcenter.sampleapp.macos;
495 | PRODUCT_NAME = "$(TARGET_NAME)";
496 | SWIFT_SWIFT3_OBJC_INFERENCE = Off;
497 | SWIFT_VERSION = 5.0;
498 | };
499 | name = Debug;
500 | };
501 | 80B0F0891F9380E200D8EBAC /* Release */ = {
502 | isa = XCBuildConfiguration;
503 | baseConfigurationReference = 75A469681B223B14891AF937 /* Pods-Sample macOS App.release.xcconfig */;
504 | buildSettings = {
505 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
506 | CODE_SIGN_ENTITLEMENTS = "Sample macOS App/Sample macOS App.entitlements";
507 | CODE_SIGN_IDENTITY = "-";
508 | CODE_SIGN_STYLE = Automatic;
509 | COMBINE_HIDPI_IMAGES = YES;
510 | INFOPLIST_FILE = "Sample macOS App/Info.plist";
511 | LD_RUNPATH_SEARCH_PATHS = (
512 | "$(inherited)",
513 | "@executable_path/../Frameworks",
514 | );
515 | PRODUCT_BUNDLE_IDENTIFIER = ms.appcenter.sampleapp.macos;
516 | PRODUCT_NAME = "$(TARGET_NAME)";
517 | SWIFT_SWIFT3_OBJC_INFERENCE = Off;
518 | SWIFT_VERSION = 5.0;
519 | };
520 | name = Release;
521 | };
522 | 80B0F08B1F9380E200D8EBAC /* Debug */ = {
523 | isa = XCBuildConfiguration;
524 | buildSettings = {
525 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
526 | CODE_SIGN_STYLE = Automatic;
527 | COMBINE_HIDPI_IMAGES = YES;
528 | INFOPLIST_FILE = "Sample macOS AppUITests/Info.plist";
529 | LD_RUNPATH_SEARCH_PATHS = (
530 | "$(inherited)",
531 | "@executable_path/../Frameworks",
532 | "@loader_path/../Frameworks",
533 | );
534 | PRODUCT_BUNDLE_IDENTIFIER = "com.microsoft.appcenter.Sample-macOS-AppUITests";
535 | PRODUCT_NAME = "$(TARGET_NAME)";
536 | SWIFT_SWIFT3_OBJC_INFERENCE = Off;
537 | SWIFT_VERSION = 5.0;
538 | TEST_TARGET_NAME = "Sample macOS App";
539 | };
540 | name = Debug;
541 | };
542 | 80B0F08C1F9380E200D8EBAC /* Release */ = {
543 | isa = XCBuildConfiguration;
544 | buildSettings = {
545 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
546 | CODE_SIGN_STYLE = Automatic;
547 | COMBINE_HIDPI_IMAGES = YES;
548 | INFOPLIST_FILE = "Sample macOS AppUITests/Info.plist";
549 | LD_RUNPATH_SEARCH_PATHS = (
550 | "$(inherited)",
551 | "@executable_path/../Frameworks",
552 | "@loader_path/../Frameworks",
553 | );
554 | PRODUCT_BUNDLE_IDENTIFIER = "com.microsoft.appcenter.Sample-macOS-AppUITests";
555 | PRODUCT_NAME = "$(TARGET_NAME)";
556 | SWIFT_SWIFT3_OBJC_INFERENCE = Off;
557 | SWIFT_VERSION = 5.0;
558 | TEST_TARGET_NAME = "Sample macOS App";
559 | };
560 | name = Release;
561 | };
562 | /* End XCBuildConfiguration section */
563 |
564 | /* Begin XCConfigurationList section */
565 | 80B0F0691F9380E200D8EBAC /* Build configuration list for PBXProject "Sample macOS App" */ = {
566 | isa = XCConfigurationList;
567 | buildConfigurations = (
568 | 80B0F0851F9380E200D8EBAC /* Debug */,
569 | 80B0F0861F9380E200D8EBAC /* Release */,
570 | );
571 | defaultConfigurationIsVisible = 0;
572 | defaultConfigurationName = Release;
573 | };
574 | 80B0F0871F9380E200D8EBAC /* Build configuration list for PBXNativeTarget "Sample macOS App" */ = {
575 | isa = XCConfigurationList;
576 | buildConfigurations = (
577 | 80B0F0881F9380E200D8EBAC /* Debug */,
578 | 80B0F0891F9380E200D8EBAC /* Release */,
579 | );
580 | defaultConfigurationIsVisible = 0;
581 | defaultConfigurationName = Release;
582 | };
583 | 80B0F08A1F9380E200D8EBAC /* Build configuration list for PBXNativeTarget "Sample macOS AppUITests" */ = {
584 | isa = XCConfigurationList;
585 | buildConfigurations = (
586 | 80B0F08B1F9380E200D8EBAC /* Debug */,
587 | 80B0F08C1F9380E200D8EBAC /* Release */,
588 | );
589 | defaultConfigurationIsVisible = 0;
590 | defaultConfigurationName = Release;
591 | };
592 | /* End XCConfigurationList section */
593 | };
594 | rootObject = 80B0F0661F9380E200D8EBAC /* Project object */;
595 | }
596 |
--------------------------------------------------------------------------------
/Resources/Base.lproj/MainMenu.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
690 |
691 |
692 |
693 |
694 |
695 |
696 |
697 |
698 |
699 |
700 |
701 |
702 |
703 |
714 |
725 |
726 |
727 |
728 |
729 |
730 |
731 |
--------------------------------------------------------------------------------