diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml new file mode 100644 index 0000000..09c9019 --- /dev/null +++ b/.github/workflows/build-and-test.yml @@ -0,0 +1,123 @@ +# +# This source file is part of the TemplatePackage open source project +# +# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) +# +# SPDX-License-Identifier: MIT +# + +name: Build and Test + +on: + workflow_call: + +jobs: + reuse_action: + name: REUSE Compliance Check + uses: StanfordBDHG/.github/.github/workflows/reuse.yml@v2 + swiftlint: + name: SwiftLint + uses: StanfordBDHG/.github/.github/workflows/swiftlint.yml@v2 + packageios: + name: Build and Test Swift Package iOS + uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 + with: + scheme: TemplatePackage + resultBundle: TemplatePackage-iOS.xcresult + artifactname: TemplatePackage-iOS.xcresult + packagewatchos: + name: Build and Test Swift Package watchOS + uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 + with: + scheme: TemplatePackage + destination: 'platform=watchOS Simulator,name=Apple Watch Series 9 (45mm)' + resultBundle: TemplatePackage-watchOS.xcresult + artifactname: TemplatePackage-watchOS.xcresult + packagevisionos: + name: Build and Test Swift Package visionOS + uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 + with: + scheme: TemplatePackage + destination: 'platform=visionOS Simulator,name=Apple Vision Pro' + resultBundle: TemplatePackage-visionOS.xcresult + artifactname: TemplatePackage-visionOS.xcresult + packagetvos: + name: Build and Test Swift Package tvOS + uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 + with: + scheme: TemplatePackage + resultBundle: TemplatePackage-tvOS.xcresult + destination: 'platform=tvOS Simulator,name=Apple TV 4K (3rd generation)' + artifactname: TemplatePackage-tvOS.xcresult + packagemacos: + name: Build and Test Swift Package macOS + uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 + with: + scheme: TemplatePackage + resultBundle: TemplatePackage-macOS.xcresult + destination: 'platform=macOS,arch=arm64' + artifactname: TemplatePackage-macOS.xcresult + ios: + name: Build and Test iOS + uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 + with: + path: 'Tests/UITests' + scheme: TestApp + resultBundle: TestApp-iOS.xcresult + artifactname: TestApp-iOS.xcresult + ipados: + name: Build and Test iPadOS + uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 + with: + path: 'Tests/UITests' + scheme: TestApp + destination: 'platform=iOS Simulator,name=iPad Air (5th generation)' + resultBundle: TestApp-iPadOS.xcresult + artifactname: TestApp-iPadOS.xcresult + watchos: + name: Build and Test watchOS + uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 + with: + runsonlabels: '["macOS", "self-hosted"]' + path: 'Tests/UITests' + scheme: TestAppWatchApp + destination: 'platform=watchOS Simulator,name=Apple Watch Series 9 (45mm)' + resultBundle: TestApp-watchOS.xcresult + artifactname: TestApp-watchOS.xcresult + visionos: + name: Build and Test visionOS + uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 + with: + runsonlabels: '["macOS", "self-hosted"]' + path: 'Tests/UITests' + scheme: TestApp + destination: 'platform=visionOS Simulator,name=Apple Vision Pro' + resultBundle: TestApp-visionOS.xcresult + artifactname: TestApp-visionOS.xcresult + tvos: + name: Build and Test tvOS + uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 + with: + path: 'Tests/UITests' + scheme: TestApp + destination: 'platform=tvOS Simulator,name=Apple TV 4K (3rd generation)' + resultBundle: TestApp-tvOS.xcresult + artifactname: TestApp-tvOS.xcresult + codeql: + name: CodeQL + uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 + with: + codeql: true + test: false + scheme: TemplatePackage + permissions: + security-events: write + actions: read + uploadcoveragereport: + name: Upload Coverage Report + needs: [packageios, packagewatchos, packagevisionos, packagetvos, packagemacos, ios, ipados, watchos, visionos, tvos] + uses: StanfordBDHG/.github/.github/workflows/create-and-upload-coverage-report.yml@v2 + with: + coveragereports: TemplatePackage-iOS.xcresult TemplatePackage-watchOS.xcresult TemplatePackage-visionOS.xcresult TemplatePackage-tvOS.xcresult TemplatePackage-macOS.xcresult TestApp-iOS.xcresult TestApp-iPadOS.xcresult TestApp-watchOS.xcresult TestApp-visionOS.xcresult TestApp-tvOS.xcresult + secrets: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..c64e9ff --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +# +# This source file is part of the TemplatePackage open source project +# +# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) +# +# SPDX-License-Identifier: MIT +# + +name: Main + +on: + push: + branches: + - main + workflow_dispatch: + +concurrency: + group: main + cancel-in-progress: false + +jobs: + buildandtest: + name: Build and Test + uses: ./.github/workflows/build-and-test.yml + secrets: inherit diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml new file mode 100644 index 0000000..272edeb --- /dev/null +++ b/.github/workflows/pull_request.yml @@ -0,0 +1,23 @@ +# +# This source file is part of the TemplatePackage open source project +# +# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) +# +# SPDX-License-Identifier: MIT +# + +name: Pull Request + +on: + pull_request: + workflow_dispatch: + +concurrency: + group: build-${{ github.ref }} + cancel-in-progress: true + +jobs: + buildandtest: + name: Build and Test + uses: ./.github/workflows/build-and-test.yml + secrets: inherit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f9a765f --- /dev/null +++ b/.gitignore @@ -0,0 +1,34 @@ +# +# This source file is part of the TemplatePackage open source project +# +# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) +# +# SPDX-License-Identifier: MIT +# + +# Swift Package Manager +Package.resolved +*.xcodeproj +.swiftpm +.build +.xcodebuild +.derivedData +coverage.lcov +*.xcresult + +# IDE related folders +.idea + +# Xcode User settings +xcuserdata/ + +# Other files +.DS_Store +.env + +# Documentation generation +*.doccarchive +docs/ + +# UITests Project +!UITests.xcodeproj diff --git a/.spi.yml b/.spi.yml new file mode 100644 index 0000000..504bb5a --- /dev/null +++ b/.spi.yml @@ -0,0 +1,14 @@ +# +# This source file is part of the TemplatePackage open source project +# +# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) +# +# SPDX-License-Identifier: MIT +# + +version: 1 +builder: + configs: + - platform: ios + documentation_targets: + - TemplatePackage diff --git a/.swiftlint.yml b/.swiftlint.yml new file mode 100644 index 0000000..3c7bab5 --- /dev/null +++ b/.swiftlint.yml @@ -0,0 +1,452 @@ +# +# This source file is part of the TemplatePackage open source project +# +# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) +# +# SPDX-License-Identifier: MIT +# + +# The whitelist_rules configuration also includes rules that are enabled by default to provide a good overview of all rules. +only_rules: + # All Images that provide context should have an accessibility label. Purely decorative images can be hidden from accessibility. + - accessibility_label_for_image + # Attributes should be on their own lines in functions and types, but on the same line as variables and imports. + - attributes + # Prefer using Array(seq) over seq.map { $0 } to convert a sequence into an Array. + - array_init + # Prefer the new block based KVO API with keypaths when using Swift 3.2 or later. + - block_based_kvo + # Non-constant variables should not be listed in a closure’s capture list to avoid confusion about closures capturing variables at creation time. + - capture_variable + # Delegate protocols should be class-only so they can be weakly referenced. + - class_delegate_protocol + # Closing brace with closing parenthesis should not have any whitespaces in the middle. + - closing_brace + # Closure bodies should not span too many lines. + - closure_body_length + # Closure end should have the same indentation as the line that started it. + - closure_end_indentation + # Closure parameters should be on the same line as opening brace. + - closure_parameter_position + # Closure expressions should have a single space inside each brace. + - closure_spacing + # Use commas to separate types in inheritance lists + - comma_inheritance + # Prefer at least one space after slashes for comments. + - comment_spacing + # All elements in a collection literal should be vertically aligned + - collection_alignment + # Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. + - colon + # There should be no space before and one after any comma. + - comma + # The initializers declared in compiler protocols such as ExpressibleByArrayLiteral shouldn't be called directly. + - compiler_protocol_init + # Getter and setters in computed properties and subscripts should be in a consistent order. + - computed_accessors_order + # Conditional statements should always return on the next line + - conditional_returns_on_newline + # Prefer contains over comparing filter(where:).count to 0. + - contains_over_filter_count + # Prefer contains over using filter(where:).isEmpty + - contains_over_filter_is_empty + # Prefer `contains` over `first(where:) != nil` + - contains_over_first_not_nil + # Prefer contains over range(of:) != nil and range(of:) == nil + - contains_over_range_nil_comparison + # if, for, guard, switch, while, and catch statements shouldn't unnecessarily wrap their conditionals or arguments in parentheses. + - control_statement + # Types used for hosting only static members should be implemented as a caseless enum to avoid instantiation. + - convenience_type + # Complexity of function bodies should be limited. + - cyclomatic_complexity + # Availability checks or attributes shouldn’t be using older versions that are satisfied by the deployment target. + - deployment_target + # When registering for a notification using a block, the opaque observer that is returned should be stored so it can be removed later. + - discarded_notification_center_observer + # Discouraged direct initialization of types that can be harmful. e.g. UIDevice(), Bundle() + - discouraged_direct_init + # Prefer initializers over object literals. + - discouraged_object_literal + # Prefer non-optional booleans over optional booleans. + - discouraged_optional_boolean + # Prefer empty collection over optional collection. + - discouraged_optional_collection + # Dictionary literals with duplicated keys will crash in runtime. + - duplicated_key_in_dictionary_literal + # Duplicate Imports + - duplicate_imports + # Avoid using 'dynamic' and '@inline(__always)' together. + - dynamic_inline + # Prefer checking isEmpty over comparing collection to an empty array or dictionary literal. + - empty_collection_literal + # Prefer checking `isEmpty` over comparing `count` to zero. + - empty_count + # Arguments can be omitted when matching enums with associated types if they are not used. + - empty_enum_arguments + # Prefer () -> over Void ->. + - empty_parameters + # When using trailing closures, empty parentheses should be avoided after the method call. + - empty_parentheses_with_trailing_closure + # Prefer checking `isEmpty` over comparing string to an empty string literal. + - empty_string + # Empty XCTest method should be avoided. + - empty_xctest_method + # Number of associated values in an enum case should be low + - enum_case_associated_values_count + # Explicitly calling .init() should be avoided. + - explicit_init + # A fatalError call should have a message. + - fatal_error_message + # Files should not span too many lines. + # See file_length below for the exact configuration. + - file_length + # File name should not contain any whitespace. + - file_name_no_space + # Specifies how the types within a file should be ordered. + - file_types_order + # Prefer using ``.first(where:)`` over ``.filter { }.first` in collections. + - first_where + # Prefer flatMap over map followed by reduce([], +). + - flatmap_over_map_reduce + # where clauses are preferred over a single if inside a for. + - for_where + # Force casts should be avoided. + - force_cast + # Force tries should be avoided. + - force_try + # Force unwrapping should be avoided. + - force_unwrapping + # Prefer to locate parameters with defaults toward the end of the parameter list. + - function_default_parameter_at_end + # Functions bodies should not span too many lines. + # See function_body_length below for the exact configuration. + - function_body_length + # Number of function parameters should be low. + # See function_parameter_count below for the exact configuration. + - function_parameter_count + # Generic type name should only contain alphanumeric characters, start with an uppercase character and span between 1 and 20 characters in length. + - generic_type_name + # Comparing two identical operands is likely a mistake. + - identical_operands + # Identifier names should only contain alphanumeric characters and start with a lowercase character or should only contain capital letters. + # In an exception to the above, variable names may start with a capital letter when they are declared static and immutable. + # Variable names should not be too long or too short. Excluded names are listed below. + - identifier_name + # Computed read-only properties and subscripts should avoid using the get keyword. + - implicit_getter + # Prefer implicit returns in closures. + - implicit_return + # Implicitly unwrapped optionals should be avoided when possible. + - implicitly_unwrapped_optional + # Identifiers should use inclusive language that avoids discrimination against groups of people based on race, gender, or socioeconomic status + - inclusive_language + # Prefer using Set.isDisjoint(with:) over Set.intersection(_:).isEmpty. + - is_disjoint + # Discouraged explicit usage of the default separator. + - joined_default_parameter + # Tuples shouldn't have too many members. Create a custom type instead. + # See large_tuple below for the exact configuration. + - large_tuple + # Prefer using .last(where:) over .filter { }.last in collections. + - last_where + # Files should not contain leading whitespace. + - leading_whitespace + # CGGeometry: Struct extension properties and methods are preferred over legacy functions + - legacy_cggeometry_functions + # Struct-scoped constants are preferred over legacy global constants (CGSize, CGRect, NSPoint, ...). + - legacy_constant + # Swift constructors are preferred over legacy convenience functions (CGPointMake, CGSizeMake, UIOffsetMake, ...). + - legacy_constructor + # Prefer using the hash(into:) function instead of overriding hashValue + - legacy_hashing + # Prefer using the isMultiple(of:) function instead of using the remainder operator (%). + - legacy_multiple + # Struct extension properties and methods are preferred over legacy functions + - legacy_nsgeometry_functions + # Prefer using type.random(in:) over legacy functions. + - legacy_random + # Lines should not span too many characters. + # See line_length below for the exact configuration. + - line_length + # Array and dictionary literal end should have the same indentation as the line that started it. + - literal_expression_end_indentation + # Ensure definitions have a lower access control level than their enclosing parent + - lower_acl_than_parent + # MARK comment should be in valid format. e.g. '// MARK: ...' or '// MARK: - ...' + - mark + # Declarations should be documented. + - missing_docs + # Modifier order should be consistent. + - modifier_order + # Arguments should be either on the same line, or one per line. + - multiline_arguments + # Multiline arguments should have their surrounding brackets in a new line. + - multiline_arguments_brackets + # Chained function calls should be either on the same line, or one per line. + - multiline_function_chains + # Multiline literals should have their surrounding brackets in a new line. + - multiline_literal_brackets + # Functions and methods parameters should be either on the same line, or one per line. + - multiline_parameters + # Multiline parameters should have their surrounding brackets in a new line. + - multiline_parameters_brackets + # Types and functions should only be nested to a certain level deep. + # See nesting below for the exact configuration. + - nesting + # Prefer Nimble operator overloads over free matcher functions. + - nimble_operator + # Prefer not to use extension access modifiers + - no_extension_access_modifier + # Fallthroughs can only be used if the case contains at least one other statement. + - no_fallthrough_only + # Don’t add a space between the method name and the parentheses. + - no_space_in_method_call + # An object should only remove itself as an observer in deinit. + - notification_center_detachment + # Static strings should be used as key in NSLocalizedString in order to genstrings work. + - nslocalizedstring_key + # NSObject subclasses should implement isEqual instead of ==. + - nsobject_prefer_isequal + # Prefer object literals over image and color inits. + - object_literal + # Opening braces should be preceded by a single space and on the same line as the declaration. + - opening_brace + # Operators should be surrounded by a single whitespace when they are being used. + - operator_usage_whitespace + # Operators should be surrounded by a single whitespace when defining them. + - operator_whitespace + # Matching an enum case against an optional enum without ‘?’ is supported on Swift 5.1 and above. + - optional_enum_case_matching + # A doc comment should be attached to a declaration. + - orphaned_doc_comment + # Extensions shouldn’t override declarations. + - override_in_extension + # Some overridden methods should always call super + - overridden_super_call + # Combine multiple pattern matching bindings by moving keywords out of tuples. + - pattern_matching_keywords + # Prefer Self over type(of: self) when accessing properties or calling methods. + - prefer_self_type_over_type_of_self + # Prefer .zero over explicit init with zero parameters (e.g. CGPoint(x: 0, y: 0)) + - prefer_zero_over_explicit_init + # Prefer private over fileprivate declarations. + - private_over_fileprivate + # Combine Subject should be private. + - private_subject + # Unit tests marked private are silently skipped. + - private_unit_test + # Creating views using Interface Builder should be avoided. + - prohibited_interface_builder + # Some methods should not call super ( + # NSFileProviderExtension: providePlaceholder(at:completionHandler:) + # NSTextInput doCommand(by:) + # NSView updateLayer() + # UIViewController loadView()) + - prohibited_super_call + # When declaring properties in protocols, the order of accessors should be get set. + - protocol_property_accessors_order + # Prefer using .allSatisfy() or .contains() over reduce(true) or reduce(false) + - reduce_boolean + # Prefer reduce(into:_:) over reduce(_:_:) for copy-on-write types + - reduce_into + # Prefer _ = foo() over let _ = foo() when discarding a result from a function. + - redundant_discardable_let + # nil coalescing operator is only evaluated if the lhs is nil, coalescing operator with nil as rhs is redundant + - redundant_nil_coalescing + # Objective-C attribute (@objc) is redundant in declaration. + - redundant_objc_attribute + # Initializing an optional variable with nil is redundant. + - redundant_optional_initialization + # Property setter access level shouldn't be explicit if it's the same as the variable access level. + - redundant_set_access_control + # String enum values can be omitted when they are equal to the enumcase name. + - redundant_string_enum_value + # Variables should not have redundant type annotation + - redundant_type_annotation + # Returning Void in a function declaration is redundant. + - redundant_void_return + # Return arrow and return type should be separated by a single space or on a separate line. + - return_arrow_whitespace + # Returning values from Void functions should be avoided. + - return_value_from_void_function + # Re-bind self to a consistent identifier name. + - self_binding + # Prefer shorthand operators (+=, -=, *=, /=) over doing the operation and assigning. + - shorthand_operator + # Test files should contain a single QuickSpec or XCTestCase class. + - single_test_class + # Prefer using `min()`` or `max()`` over `sorted().first` or `sorted().last` + - sorted_first_last + # Imports should be sorted. + - sorted_imports + # Else and catch should be on the same line, one space after the previous declaration. + - statement_position + # Operators should be declared as static functions, not free functions. + - static_operator + # SwiftLint ‘disable’ commands are superfluous when the disabled rule would not have triggered a violation in the disabled region. Use “ - ” if you wish to document a command. + - superfluous_disable_command + # Case statements should vertically align with their enclosing switch statement, or indented if configured otherwise. + - switch_case_alignment + # Shorthand syntactic sugar should be used, i.e. [Int] instead of Array. + - syntactic_sugar + # TODOs and FIXMEs should be resolved. + - todo + # Prefer someBool.toggle() over someBool = !someBool. + - toggle_bool + # Trailing closure syntax should be used whenever possible. + - trailing_closure + # Trailing commas in arrays and dictionaries should be avoided/enforced. + - trailing_comma + # Files should have a single trailing newline. + - trailing_newline + # Lines should not have trailing semicolons. + - trailing_semicolon + # Lines should not have trailing whitespace. + # Ignored lines are specified below. + - trailing_whitespace + # Type bodies should not span too many lines. + # See large_tuple below for the exact configuration. + - type_body_length + # Specifies the order of subtypes, properties, methods & more within a type. + - type_contents_order + # Type name should only contain alphanumeric characters, start with an uppercase character and span between 3 and 40 characters in length. + # Excluded types are listed below. + - type_name + # Prefer using Array(seq) over seq.map { $0 } to convert a sequence into an Array. + - typesafe_array_init + # Use #unavailable/#available instead of #available/#unavailable with an empty body. + - unavailable_condition + # Unimplemented functions should be marked as unavailable. + - unavailable_function + # Avoid using unneeded break statements. + - unneeded_break_in_switch + # Parentheses are not needed when declaring closure arguments. + - unneeded_parentheses_in_closure_argument + # Prefer capturing references as weak to avoid potential crashes. + - unowned_variable_capture + # Catch statements should not declare error variables without type casting. + - untyped_error_in_catch + # Unused parameter in a closure should be replaced with _. + - unused_closure_parameter + # Unused control flow label should be removed. + - unused_control_flow_label + # Declarations should be referenced at least once within all files linted. + - unused_declaration + # When the index or the item is not used, .enumerated() can be removed. + - unused_enumerated + # All imported modules should be required to make the file compile. + - unused_import + # Prefer != nil over let _ = + - unused_optional_binding + # Setter value is not used. + - unused_setter_value + # @IBInspectable should be applied to variables only, have its type explicit and be of a supported type + - valid_ibinspectable + # Function parameters should be aligned vertically if they're in multiple lines in a declaration. + - vertical_parameter_alignment + # Function parameters should be aligned vertically if they're in multiple lines in a method call. + - vertical_parameter_alignment_on_call + # Limit vertical whitespace to a single empty line. + # See vertical_whitespace below for the exact configuration. + - vertical_whitespace + # Don’t include vertical whitespace (empty line) before closing braces. + - vertical_whitespace_closing_braces + # Don’t include vertical whitespace (empty line) after opening braces. + - vertical_whitespace_opening_braces + # Using ternary to call Void functions should be avoided. + - void_function_in_ternary + # Prefer -> Void over -> (). + - void_return + # Delegates should be weak to avoid reference cycles. + - weak_delegate + # Prefer specific XCTest matchers over XCTAssertEqual and XCTAssertNotEqual + - xct_specific_matcher + # An XCTFail call should include a description of the assertion. + - xctfail_message + # The variable should be placed on the left, the constant on the right of a comparison operator. + - yoda_condition + +attributes: + attributes_with_arguments_always_on_line_above: false + +deployment_target: # Availability checks or attributes shouldn’t be using older versions that are satisfied by the deployment target. + iOSApplicationExtension_deployment_target: 16.0 + iOS_deployment_target: 16.0 + +excluded: # paths to ignore during linting. Takes precedence over `included`. + - .build + - .swiftpm + - .derivedData + - Tests/UITests/.derivedData + +closure_body_length: # Closure bodies should not span too many lines. + - 35 # warning - default: 20 + - 35 # error - default: 100 + +enum_case_associated_values_count: # Number of associated values in an enum case should be low + - 5 # warning - default: 5 + - 5 # error - default: 6 + +file_length: # Files should not span too many lines. + - 500 # warning - default: 400 + - 500 # error - default: 1000 + +function_body_length: # Functions bodies should not span too many lines. + - 50 # warning - default: 40 + - 50 # error - default: 100 + +function_parameter_count: # Number of function parameters should be low. + - 5 # warning - default: 5 + - 5 # error - default: 8 + +identifier_name: + excluded: # excluded names + - id + - ok + - or + - p8 + - of + - s3 + - at + - to + - in + +large_tuple: # Tuples shouldn't have too many members. Create a custom type instead. + - 2 # warning - default: 2 + - 2 # error - default: 3 + +line_length: # Lines should not span too many characters. + warning: 150 # default: 120 + error: 150 # default: 200 + ignores_comments: true # default: false + ignores_urls: true # default: false + ignores_function_declarations: false # default: false + ignores_interpolated_strings: true # default: false + +nesting: # Types should be nested at most 2 level deep, and functions should be nested at most 5 levels deep. + type_level: + warning: 2 # warning - default: 1 + function_level: + warning: 5 # warning - default: 5 + +trailing_closure: + only_single_muted_parameter: true + +type_body_length: # Type bodies should not span too many lines. + - 250 # warning - default: 200 + - 250 # error - default: 200 + +type_name: + excluded: # excluded names + - ID + +trailing_whitespace: + ignores_empty_lines: true # default: false + ignores_comments: true # default: false + +unused_optional_binding: + ignore_optional_try: true + +vertical_whitespace: # Limit vertical whitespace to a single empty line. + max_empty_lines: 2 # warning - default: 1 diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..ee53639 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,20 @@ +# +# This source file is part of the TemplatePackage open source project +# +# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) +# +# SPDX-License-Identifier: MIT +# + +cff-version: 1.2.0 +message: "If you use this software, please cite it as below." +authors: +- family-names: "Schmiedmayer" + given-names: "Paul" + orcid: "https://orcid.org/0000-0002-8607-9148" +- family-names: "Ravi" + given-names: "Vishnu" + orcid: "https://orcid.org/0000-0003-0359-1275" +title: "TemplatePackage" +doi: 10.5281/zenodo.7538165 +url: "https://github.com/StanfordBDHG/SwiftPackageTemplate" diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md new file mode 100644 index 0000000..7574c84 --- /dev/null +++ b/CONTRIBUTORS.md @@ -0,0 +1,17 @@ + + +TemplatePackage contributors +==================== + +* [Paul Schmiedmayer](https://github.com/PSchmiedmayer) +* [Vishnu Ravi](https://github.com/vishnuravi) diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..6998b5f --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) 2022 Stanford University and the project authors (see CONTRIBUTORS.md) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 0000000..6998b5f --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) 2022 Stanford University and the project authors (see CONTRIBUTORS.md) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..d567050 --- /dev/null +++ b/Package.swift @@ -0,0 +1,37 @@ +// swift-tools-version:5.9 + +// +// This source file is part of the TemplatePackage open source project +// +// SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + +import PackageDescription + + +let package = Package( + name: "TemplatePackage", + platforms: [ + .iOS(.v17), + .watchOS(.v10), + .visionOS(.v1), + .tvOS(.v17), + .macOS(.v14) + ], + products: [ + .library(name: "TemplatePackage", targets: ["TemplatePackage"]) + ], + targets: [ + .target( + name: "TemplatePackage" + ), + .testTarget( + name: "TemplatePackageTests", + dependencies: [ + .target(name: "TemplatePackage") + ] + ) + ] +) diff --git a/README.md b/README.md new file mode 100644 index 0000000..d2e1676 --- /dev/null +++ b/README.md @@ -0,0 +1,55 @@ + + +# TemplatePackage + +[![Build and Test](https://github.com/StanfordBDHG/SwiftPackageTemplate/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/StanfordBDHG/SwiftPackageTemplate/actions/workflows/build-and-test.yml) +[![codecov](https://codecov.io/gh/StanfordBDHG/SwiftPackageTemplate/branch/main/graph/badge.svg?token=X7BQYSUKOH)](https://codecov.io/gh/StanfordBDHG/SwiftPackageTemplate) +[![DOI](https://zenodo.org/badge/573230182.svg)](https://zenodo.org/badge/latestdoi/573230182) +[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FStanfordBDHG%2FSwiftPackageTemplate%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/StanfordBDHG/SwiftPackageTemplate) +[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FStanfordBDHG%2FSwiftPackageTemplate%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/StanfordBDHG/SwiftPackageTemplate) + + +## How To Use This Template + +The template repository contains a template Swift Package, including a continuous integration setup. + +Follow these steps to customize it to your needs: +1. Rename the Swift Package. Be sure that you update the name in the `build-and-test.yml` GitHub Action accordingly. If you have multiple targets in your Swift Package, you need to pass the name of the Swift Package followed by an `-Package` as the scheme to the GitHub Action, e.g., `StanfordProject-Package` if your Swift Package is named `StanfordProject`. +2. If your Swift Package does not provide any user interface or does not require an iOS application environment to function, you can remove the `UITests` application from the `Tests` folder. You need to update the `build-and-test.yml` GitHub Action accordingly by removing the GitHub Action that builds and tests the application, removing the dependency from the code coverage upload step, and removing the UI test `.xresult` input from the code coverage test. +3. If your Swift Package uses UI test, you need to ... + - ... add it to the scheme editor (*Scheme > Edit Scheme*) and your targets to the "Build" configuration and ensure that it is built before the test app target when building for the "Test" configuration. It is not required to enable building for other configurations like "Analyze", "Run", "Profile", or "Archive". + - ... add it as a linked framework in the main target configuration (In your Xcode project settings, select your *test app target > General > Frameworks, Libraries, and Embedded Comments*). + - ... add ensure that the targets are all added in the code coverage settings of your .xctestplan file in the Xcode Project (*Shared Settings > Code Coverage > Code Coverage*). +4. You will either need to add the [CodeCov GitHub App](https://github.com/apps/codecov) or add a codecov.io token to your [GitHub Actions Secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-an-environment) following the instructions of the [Codecov GitHub Action](https://github.com/marketplace/actions/codecov#usage). The StanfordBDHG organization already has the [CodeCov GitHub App](https://github.com/apps/codecov) installed. If you do not want to cover test coverage data, you can remove the code coverage job in the `build-and-test.yml` GitHub Action. +5. Adjust this README.md to describe your project and adjust the badges at the top to point to the correct GitHub Action of your repository and Codecov badge. +6. The Swift Package template includes a Swift Package Index configuration file to automatically build the package and [host the documentation on the Swift Package Index website](https://blog.swiftpackageindex.com/posts/auto-generating-auto-hosting-and-auto-updating-docc-documentation/). Adjust the `.spi.yml` file to include all targets that you want to build documentation for. You can follow the [instructions of the Swift Package Index](https://swiftpackageindex.com/add-a-package) to include your Swift Package in the Swift Package Index. You can link to the [API documentation](https://swiftpackageindex.com/StanfordBDHG/SwiftPackageTemplate/documentation) from your README file. +7. Adjust the CITATION.cff file to amend information about the new Swift Package ([learn more about CITATION files on GitHub](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files)) and [register the Swift Package on Zenodo](https://docs.github.com/en/repositories/archiving-a-github-repository/referencing-and-citing-content). + + +## Installation + +The project can be added to your Xcode project or Swift Package using the [Swift Package Manager](https://github.com/apple/swift-package-manager). + +**Xcode:** For an Xcode project, follow the instructions on [adding package dependencies to your app](https://developer.apple.com/documentation/xcode/adding-package-dependencies-to-your-app). + +**Swift Package:** You can follow the [Swift Package Manager documentation about defining dependencies](https://github.com/apple/swift-package-manager/blob/main/Documentation/Usage.md#defining-dependencies) to add this project as a dependency to your Swift Package. + + +## License +This project is licensed under the MIT License. See [Licenses](https://github.com/StanfordBDHG/TemplatePackage/tree/main/LICENSES) for more information. + + +## Contributors +This project is developed as part of the Stanford Byers Center for Biodesign at Stanford University. +See [CONTRIBUTORS.md](https://github.com/StanfordBDHG/TemplatePackage/tree/main/CONTRIBUTORS.md) for a full list of all TemplatePackage contributors. + +![Stanford Byers Center for Biodesign Logo](https://raw.githubusercontent.com/StanfordBDHG/.github/main/assets/biodesign-footer-light.png#gh-light-mode-only) +![Stanford Byers Center for Biodesign Logo](https://raw.githubusercontent.com/StanfordBDHG/.github/main/assets/biodesign-footer-dark.png#gh-dark-mode-only) diff --git a/Sources/TemplatePackage/TemplatePackage.docc/TemplatePackage.md b/Sources/TemplatePackage/TemplatePackage.docc/TemplatePackage.md new file mode 100644 index 0000000..2417f3d --- /dev/null +++ b/Sources/TemplatePackage/TemplatePackage.docc/TemplatePackage.md @@ -0,0 +1,23 @@ +# ``TemplatePackage`` + + + +The template repository contains a template Swift Package, including a continuous integration setup. + +## Overview + +Please follow the steps in the README.md file to customize the code to your needs. + +## Types + +### Template Package + +- ``TemplatePackage`` diff --git a/Sources/TemplatePackage/TemplatePackage.swift b/Sources/TemplatePackage/TemplatePackage.swift new file mode 100644 index 0000000..fb06b53 --- /dev/null +++ b/Sources/TemplatePackage/TemplatePackage.swift @@ -0,0 +1,19 @@ +// +// This source file is part of the TemplatePackage open source project +// +// SPDX-FileCopyrightText: 2024 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + +/// The main type of the Swift Package template. +public struct TemplatePackage { + /// The Swift Package template package is provided by Stanford University. + public var stanford: String { + "Stanford University" + } + + + /// The main type of the Swift Package template. + public init() {} +} diff --git a/Tests/TemplatePackageTests/TemplatePackageTests.swift b/Tests/TemplatePackageTests/TemplatePackageTests.swift new file mode 100644 index 0000000..bc52b5f --- /dev/null +++ b/Tests/TemplatePackageTests/TemplatePackageTests.swift @@ -0,0 +1,18 @@ +// +// This source file is part of the TemplatePackage open source project +// +// SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + +@testable import TemplatePackage +import XCTest + + +final class TemplatePackageTests: XCTestCase { + func testTemplatePackage() throws { + let templatePackage = TemplatePackage() + XCTAssertEqual(templatePackage.stanford, "Stanford University") + } +} diff --git a/Tests/UITests/TestApp.xctestplan b/Tests/UITests/TestApp.xctestplan new file mode 100644 index 0000000..54e441a --- /dev/null +++ b/Tests/UITests/TestApp.xctestplan @@ -0,0 +1,37 @@ +{ + "configurations" : [ + { + "id" : "074FA9C1-7635-4C64-BF5D-90402604CC46", + "name" : "Default", + "options" : { + + } + } + ], + "defaultOptions" : { + "codeCoverage" : { + "targets" : [ + { + "containerPath" : "container:..\/..", + "identifier" : "TemplatePackage", + "name" : "TemplatePackage" + } + ] + }, + "targetForVariableExpansion" : { + "containerPath" : "container:UITests.xcodeproj", + "identifier" : "2F6D139128F5F384007C25D6", + "name" : "TestApp" + } + }, + "testTargets" : [ + { + "target" : { + "containerPath" : "container:UITests.xcodeproj", + "identifier" : "2F6D13AB28F5F386007C25D6", + "name" : "TestAppUITests" + } + } + ], + "version" : 1 +} diff --git a/Tests/UITests/TestApp.xctestplan.license b/Tests/UITests/TestApp.xctestplan.license new file mode 100644 index 0000000..d77e33d --- /dev/null +++ b/Tests/UITests/TestApp.xctestplan.license @@ -0,0 +1,5 @@ +This source file is part of the TemplatePackage open-source project + +SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) + +SPDX-License-Identifier: MIT \ No newline at end of file diff --git a/Tests/UITests/TestApp/Assets.xcassets/AccentColor.colorset/Contents.json b/Tests/UITests/TestApp/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/Tests/UITests/TestApp/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Tests/UITests/TestApp/Assets.xcassets/AccentColor.colorset/Contents.json.license b/Tests/UITests/TestApp/Assets.xcassets/AccentColor.colorset/Contents.json.license new file mode 100644 index 0000000..d77e33d --- /dev/null +++ b/Tests/UITests/TestApp/Assets.xcassets/AccentColor.colorset/Contents.json.license @@ -0,0 +1,5 @@ +This source file is part of the TemplatePackage open-source project + +SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) + +SPDX-License-Identifier: MIT \ No newline at end of file diff --git a/Tests/UITests/TestApp/Assets.xcassets/AppIcon.appiconset/Contents.json b/Tests/UITests/TestApp/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..330a63e --- /dev/null +++ b/Tests/UITests/TestApp/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,18 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "idiom" : "universal", + "platform" : "watchos", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Tests/UITests/TestApp/Assets.xcassets/AppIcon.appiconset/Contents.json.license b/Tests/UITests/TestApp/Assets.xcassets/AppIcon.appiconset/Contents.json.license new file mode 100644 index 0000000..d77e33d --- /dev/null +++ b/Tests/UITests/TestApp/Assets.xcassets/AppIcon.appiconset/Contents.json.license @@ -0,0 +1,5 @@ +This source file is part of the TemplatePackage open-source project + +SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) + +SPDX-License-Identifier: MIT \ No newline at end of file diff --git a/Tests/UITests/TestApp/Assets.xcassets/Contents.json b/Tests/UITests/TestApp/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Tests/UITests/TestApp/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Tests/UITests/TestApp/Assets.xcassets/Contents.json.license b/Tests/UITests/TestApp/Assets.xcassets/Contents.json.license new file mode 100644 index 0000000..d77e33d --- /dev/null +++ b/Tests/UITests/TestApp/Assets.xcassets/Contents.json.license @@ -0,0 +1,5 @@ +This source file is part of the TemplatePackage open-source project + +SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) + +SPDX-License-Identifier: MIT \ No newline at end of file diff --git a/Tests/UITests/TestApp/OperatingSystem.swift b/Tests/UITests/TestApp/OperatingSystem.swift new file mode 100644 index 0000000..201ed6e --- /dev/null +++ b/Tests/UITests/TestApp/OperatingSystem.swift @@ -0,0 +1,20 @@ +// +// This source file is part of the TemplatePackage open-source project +// +// SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + + +#if os(macOS) +let operatingSystem = "macOS" +#elseif os(iOS) +let operatingSystem = "iOS" +#elseif os(watchOS) +let operatingSystem = "watchOS" +#elseif os(visionOS) +let operatingSystem = "visionOS" +#elseif os(tvOS) +let operatingSystem = "tvOS" +#endif diff --git a/Tests/UITests/TestApp/TestApp.swift b/Tests/UITests/TestApp/TestApp.swift new file mode 100644 index 0000000..4ddb27e --- /dev/null +++ b/Tests/UITests/TestApp/TestApp.swift @@ -0,0 +1,21 @@ +// +// This source file is part of the TemplatePackage open-source project +// +// SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + +import SwiftUI +import TemplatePackage + + +@main +struct UITestsApp: App { + var body: some Scene { + WindowGroup { + Text(TemplatePackage().stanford) + Text(operatingSystem) + } + } +} diff --git a/Tests/UITests/TestAppUITests/TestAppUITests.swift b/Tests/UITests/TestAppUITests/TestAppUITests.swift new file mode 100644 index 0000000..82a97bb --- /dev/null +++ b/Tests/UITests/TestAppUITests/TestAppUITests.swift @@ -0,0 +1,28 @@ +// +// This source file is part of the TemplatePackage open-source project +// +// SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + +import OSLog +import XCTest + + +class TestAppUITests: XCTestCase { + override func setUpWithError() throws { + try super.setUpWithError() + + continueAfterFailure = false + } + + + func testTemplatePackage() throws { + let app = XCUIApplication() + app.launch() + + XCTAssert(app.staticTexts["Stanford University"].waitForExistence(timeout: 0.1)) + XCTAssert(app.staticTexts[operatingSystem].exists) + } +} diff --git a/Tests/UITests/TestAppWatchApp.xctestplan b/Tests/UITests/TestAppWatchApp.xctestplan new file mode 100644 index 0000000..6f6f2dd --- /dev/null +++ b/Tests/UITests/TestAppWatchApp.xctestplan @@ -0,0 +1,37 @@ +{ + "configurations" : [ + { + "id" : "B8537494-39D3-45EC-98D4-B3C417844ADD", + "name" : "Default", + "options" : { + + } + } + ], + "defaultOptions" : { + "codeCoverage" : { + "targets" : [ + { + "containerPath" : "container:..\/..", + "identifier" : "TemplatePackage", + "name" : "TemplatePackage" + } + ] + }, + "targetForVariableExpansion" : { + "containerPath" : "container:UITests.xcodeproj", + "identifier" : "2F9CBEA52A76C40E009818FF", + "name" : "TestAppWatchApp" + } + }, + "testTargets" : [ + { + "target" : { + "containerPath" : "container:UITests.xcodeproj", + "identifier" : "2F9CBEBE2A76C412009818FF", + "name" : "TestAppWatchAppUITests" + } + } + ], + "version" : 1 +} diff --git a/Tests/UITests/TestAppWatchApp.xctestplan.license b/Tests/UITests/TestAppWatchApp.xctestplan.license new file mode 100644 index 0000000..d77e33d --- /dev/null +++ b/Tests/UITests/TestAppWatchApp.xctestplan.license @@ -0,0 +1,5 @@ +This source file is part of the TemplatePackage open-source project + +SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) + +SPDX-License-Identifier: MIT \ No newline at end of file diff --git a/Tests/UITests/UITests.xcodeproj/project.pbxproj b/Tests/UITests/UITests.xcodeproj/project.pbxproj new file mode 100644 index 0000000..e880b01 --- /dev/null +++ b/Tests/UITests/UITests.xcodeproj/project.pbxproj @@ -0,0 +1,993 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 2F68C3C8292EA52000B3E12C /* TemplatePackage in Frameworks */ = {isa = PBXBuildFile; productRef = 2F68C3C7292EA52000B3E12C /* TemplatePackage */; }; + 2F6D139A28F5F386007C25D6 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2F6D139928F5F386007C25D6 /* Assets.xcassets */; }; + 2F8A431329130A8C005D2B8F /* TestAppUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F8A431229130A8C005D2B8F /* TestAppUITests.swift */; }; + 2F9CBEC92A76C412009818FF /* TestApp Watch App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = 2F9CBEA62A76C40E009818FF /* TestApp Watch App.app */; platformFilter = ios; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; + 2F9CBED72A76C752009818FF /* TestApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FA7382B290ADFAA007ACEB9 /* TestApp.swift */; }; + 2F9CBED82A76C75E009818FF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2F6D139928F5F386007C25D6 /* Assets.xcassets */; }; + 2F9CBEDA2A76C795009818FF /* TemplatePackage in Frameworks */ = {isa = PBXBuildFile; productRef = 2F9CBED92A76C795009818FF /* TemplatePackage */; }; + 2F9CBEDB2A76C7EC009818FF /* TestAppUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F8A431229130A8C005D2B8F /* TestAppUITests.swift */; }; + 2FA7382C290ADFAA007ACEB9 /* TestApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FA7382B290ADFAA007ACEB9 /* TestApp.swift */; }; + 2FB5B6E02C2F6C50009162E6 /* OperatingSystem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FB5B6DF2C2F6C50009162E6 /* OperatingSystem.swift */; }; + 2FB5B6E12C2F6DBC009162E6 /* OperatingSystem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FB5B6DF2C2F6C50009162E6 /* OperatingSystem.swift */; }; + 2FB5B6E22C2F707A009162E6 /* OperatingSystem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FB5B6DF2C2F6C50009162E6 /* OperatingSystem.swift */; }; + 2FB5B6E32C2F707B009162E6 /* OperatingSystem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FB5B6DF2C2F6C50009162E6 /* OperatingSystem.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 2F6D13AD28F5F386007C25D6 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 2F6D138A28F5F384007C25D6 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2F6D139128F5F384007C25D6; + remoteInfo = Example; + }; + 2F9CBEC02A76C412009818FF /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 2F6D138A28F5F384007C25D6 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2F9CBEA52A76C40E009818FF; + remoteInfo = "TestAppWatchOS Watch App"; + }; + 2F9CBEC72A76C412009818FF /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 2F6D138A28F5F384007C25D6 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2F9CBEA52A76C40E009818FF; + remoteInfo = "TestAppWatchOS Watch App"; + }; + 2FF8922F2A770DE200903A5A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 2F6D138A28F5F384007C25D6 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2F6D139128F5F384007C25D6; + remoteInfo = TestApp; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 2F9CBECE2A76C412009818FF /* Embed Watch Content */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = "$(CONTENTS_FOLDER_PATH)/Watch"; + dstSubfolderSpec = 16; + files = ( + 2F9CBEC92A76C412009818FF /* TestApp Watch App.app in Embed Watch Content */, + ); + name = "Embed Watch Content"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 2F68C3C6292E9F8F00B3E12C /* TemplatePackage */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = TemplatePackage; path = ../..; sourceTree = ""; }; + 2F6D139228F5F384007C25D6 /* TestApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TestApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 2F6D139928F5F386007C25D6 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 2F6D13AC28F5F386007C25D6 /* TestAppUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TestAppUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 2F8A431229130A8C005D2B8F /* TestAppUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestAppUITests.swift; sourceTree = ""; }; + 2F9CBEA62A76C40E009818FF /* TestApp Watch App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "TestApp Watch App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 2F9CBEBF2A76C412009818FF /* TestAppWatchAppUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TestAppWatchAppUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 2FA7382B290ADFAA007ACEB9 /* TestApp.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestApp.swift; sourceTree = ""; }; + 2FB0758A299DDB9000C0B37F /* TestApp.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = TestApp.xctestplan; sourceTree = ""; }; + 2FB5B6DF2C2F6C50009162E6 /* OperatingSystem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OperatingSystem.swift; sourceTree = ""; }; + 2FF8922E2A770D4200903A5A /* TestAppWatchApp.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = TestAppWatchApp.xctestplan; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 2F6D138F28F5F384007C25D6 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2F68C3C8292EA52000B3E12C /* TemplatePackage in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F6D13A928F5F386007C25D6 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F9CBEA32A76C40E009818FF /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2F9CBEDA2A76C795009818FF /* TemplatePackage in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F9CBEBC2A76C412009818FF /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 2F6D138928F5F384007C25D6 = { + isa = PBXGroup; + children = ( + 2FB0758A299DDB9000C0B37F /* TestApp.xctestplan */, + 2FF8922E2A770D4200903A5A /* TestAppWatchApp.xctestplan */, + 2F68C3C6292E9F8F00B3E12C /* TemplatePackage */, + 2F6D139428F5F384007C25D6 /* TestApp */, + 2F6D13AF28F5F386007C25D6 /* TestAppUITests */, + 2F6D139328F5F384007C25D6 /* Products */, + 2F6D13C228F5F3BE007C25D6 /* Frameworks */, + ); + sourceTree = ""; + }; + 2F6D139328F5F384007C25D6 /* Products */ = { + isa = PBXGroup; + children = ( + 2F6D139228F5F384007C25D6 /* TestApp.app */, + 2F6D13AC28F5F386007C25D6 /* TestAppUITests.xctest */, + 2F9CBEA62A76C40E009818FF /* TestApp Watch App.app */, + 2F9CBEBF2A76C412009818FF /* TestAppWatchAppUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 2F6D139428F5F384007C25D6 /* TestApp */ = { + isa = PBXGroup; + children = ( + 2FA7382B290ADFAA007ACEB9 /* TestApp.swift */, + 2FB5B6DF2C2F6C50009162E6 /* OperatingSystem.swift */, + 2F6D139928F5F386007C25D6 /* Assets.xcassets */, + ); + path = TestApp; + sourceTree = ""; + }; + 2F6D13AF28F5F386007C25D6 /* TestAppUITests */ = { + isa = PBXGroup; + children = ( + 2F8A431229130A8C005D2B8F /* TestAppUITests.swift */, + ); + path = TestAppUITests; + sourceTree = ""; + }; + 2F6D13C228F5F3BE007C25D6 /* Frameworks */ = { + isa = PBXGroup; + children = ( + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 2F6D139128F5F384007C25D6 /* TestApp */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2F6D13B628F5F386007C25D6 /* Build configuration list for PBXNativeTarget "TestApp" */; + buildPhases = ( + 2F6D138E28F5F384007C25D6 /* Sources */, + 2F6D138F28F5F384007C25D6 /* Frameworks */, + 2F6D139028F5F384007C25D6 /* Resources */, + 2F9CBECE2A76C412009818FF /* Embed Watch Content */, + ); + buildRules = ( + ); + dependencies = ( + 2F9CBEC82A76C412009818FF /* PBXTargetDependency */, + ); + name = TestApp; + packageProductDependencies = ( + 2F68C3C7292EA52000B3E12C /* TemplatePackage */, + ); + productName = Example; + productReference = 2F6D139228F5F384007C25D6 /* TestApp.app */; + productType = "com.apple.product-type.application"; + }; + 2F6D13AB28F5F386007C25D6 /* TestAppUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2F6D13BC28F5F386007C25D6 /* Build configuration list for PBXNativeTarget "TestAppUITests" */; + buildPhases = ( + 2F6D13A828F5F386007C25D6 /* Sources */, + 2F6D13A928F5F386007C25D6 /* Frameworks */, + 2F6D13AA28F5F386007C25D6 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 2F6D13AE28F5F386007C25D6 /* PBXTargetDependency */, + ); + name = TestAppUITests; + productName = ExampleUITests; + productReference = 2F6D13AC28F5F386007C25D6 /* TestAppUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; + 2F9CBEA52A76C40E009818FF /* TestAppWatchApp */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2F9CBECA2A76C412009818FF /* Build configuration list for PBXNativeTarget "TestAppWatchApp" */; + buildPhases = ( + 2F9CBEA22A76C40E009818FF /* Sources */, + 2F9CBEA32A76C40E009818FF /* Frameworks */, + 2F9CBEA42A76C40E009818FF /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = TestAppWatchApp; + packageProductDependencies = ( + 2F9CBED92A76C795009818FF /* TemplatePackage */, + ); + productName = "TestAppWatchOS Watch App"; + productReference = 2F9CBEA62A76C40E009818FF /* TestApp Watch App.app */; + productType = "com.apple.product-type.application"; + }; + 2F9CBEBE2A76C412009818FF /* TestAppWatchAppUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2F9CBED32A76C412009818FF /* Build configuration list for PBXNativeTarget "TestAppWatchAppUITests" */; + buildPhases = ( + 2F9CBEBB2A76C412009818FF /* Sources */, + 2F9CBEBC2A76C412009818FF /* Frameworks */, + 2F9CBEBD2A76C412009818FF /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 2F9CBEC12A76C412009818FF /* PBXTargetDependency */, + 2FF892302A770DE200903A5A /* PBXTargetDependency */, + ); + name = TestAppWatchAppUITests; + productName = "TestAppWatchOS Watch AppUITests"; + productReference = 2F9CBEBF2A76C412009818FF /* TestAppWatchAppUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 2F6D138A28F5F384007C25D6 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1500; + LastUpgradeCheck = 1500; + TargetAttributes = { + 2F6D139128F5F384007C25D6 = { + CreatedOnToolsVersion = 14.1; + }; + 2F6D13AB28F5F386007C25D6 = { + CreatedOnToolsVersion = 14.1; + TestTargetID = 2F6D139128F5F384007C25D6; + }; + 2F9CBEA52A76C40E009818FF = { + CreatedOnToolsVersion = 15.0; + }; + 2F9CBEBE2A76C412009818FF = { + CreatedOnToolsVersion = 15.0; + TestTargetID = 2F9CBEA52A76C40E009818FF; + }; + }; + }; + buildConfigurationList = 2F6D138D28F5F384007C25D6 /* Build configuration list for PBXProject "UITests" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 2F6D138928F5F384007C25D6; + productRefGroup = 2F6D139328F5F384007C25D6 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 2F6D139128F5F384007C25D6 /* TestApp */, + 2F6D13AB28F5F386007C25D6 /* TestAppUITests */, + 2F9CBEA52A76C40E009818FF /* TestAppWatchApp */, + 2F9CBEBE2A76C412009818FF /* TestAppWatchAppUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 2F6D139028F5F384007C25D6 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2F6D139A28F5F386007C25D6 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F6D13AA28F5F386007C25D6 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F9CBEA42A76C40E009818FF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2F9CBED82A76C75E009818FF /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F9CBEBD2A76C412009818FF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 2F6D138E28F5F384007C25D6 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2FA7382C290ADFAA007ACEB9 /* TestApp.swift in Sources */, + 2FB5B6E02C2F6C50009162E6 /* OperatingSystem.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F6D13A828F5F386007C25D6 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2FB5B6E22C2F707A009162E6 /* OperatingSystem.swift in Sources */, + 2F8A431329130A8C005D2B8F /* TestAppUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F9CBEA22A76C40E009818FF /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2FB5B6E12C2F6DBC009162E6 /* OperatingSystem.swift in Sources */, + 2F9CBED72A76C752009818FF /* TestApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F9CBEBB2A76C412009818FF /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2FB5B6E32C2F707B009162E6 /* OperatingSystem.swift in Sources */, + 2F9CBEDB2A76C7EC009818FF /* TestAppUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 2F6D13AE28F5F386007C25D6 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2F6D139128F5F384007C25D6 /* TestApp */; + targetProxy = 2F6D13AD28F5F386007C25D6 /* PBXContainerItemProxy */; + }; + 2F9CBEC12A76C412009818FF /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2F9CBEA52A76C40E009818FF /* TestAppWatchApp */; + targetProxy = 2F9CBEC02A76C412009818FF /* PBXContainerItemProxy */; + }; + 2F9CBEC82A76C412009818FF /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + platformFilter = ios; + target = 2F9CBEA52A76C40E009818FF /* TestAppWatchApp */; + targetProxy = 2F9CBEC72A76C412009818FF /* PBXContainerItemProxy */; + }; + 2FF892302A770DE200903A5A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2F6D139128F5F384007C25D6 /* TestApp */; + targetProxy = 2FF8922F2A770DE200903A5A /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 2F6D13B428F5F386007C25D6 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + MACOSX_DEPLOYMENT_TARGET = 14.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TVOS_DEPLOYMENT_TARGET = 17.0; + WATCHOS_DEPLOYMENT_TARGET = 10.0; + XROS_DEPLOYMENT_TARGET = 1.0; + }; + name = Debug; + }; + 2F6D13B528F5F386007C25D6 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + MACOSX_DEPLOYMENT_TARGET = 14.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + TVOS_DEPLOYMENT_TARGET = 17.0; + VALIDATE_PRODUCT = YES; + WATCHOS_DEPLOYMENT_TARGET = 10.0; + XROS_DEPLOYMENT_TARGET = 1.0; + }; + name = Release; + }; + 2F6D13B728F5F386007C25D6 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = ""; + DEVELOPMENT_TEAM = 637867499T; + ENABLE_PREVIEWS = YES; + ENABLE_TESTING_SEARCH_PATHS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.templatepackage.testapp; + PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_STRICT_CONCURRENCY = complete; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,3,7"; + }; + name = Debug; + }; + 2F6D13B828F5F386007C25D6 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = ""; + DEVELOPMENT_TEAM = 637867499T; + ENABLE_PREVIEWS = YES; + ENABLE_TESTING_SEARCH_PATHS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.templatepackage.testapp; + PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_STRICT_CONCURRENCY = complete; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,3,7"; + }; + name = Release; + }; + 2F6D13BD28F5F386007C25D6 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 637867499T; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.templatepackage.testapp.uitests; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE = ""; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,3,7"; + TEST_TARGET_NAME = TestApp; + }; + name = Debug; + }; + 2F6D13BE28F5F386007C25D6 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 637867499T; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.templatepackage.testapp.uitests; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE = ""; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,3,7"; + TEST_TARGET_NAME = TestApp; + }; + name = Release; + }; + 2F9CBECB2A76C412009818FF /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 637867499T; + ENABLE_PREVIEWS = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; + INFOPLIST_KEY_WKCompanionAppBundleIdentifier = edu.stanford.templatepackage.testapp; + INFOPLIST_KEY_WKRunsIndependentlyOfCompanionApp = YES; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.templatepackage.testapp.watchkitapp; + PRODUCT_NAME = "TestApp Watch App"; + SDKROOT = watchos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 4; + }; + name = Debug; + }; + 2F9CBECC2A76C412009818FF /* Test */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 637867499T; + ENABLE_PREVIEWS = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; + INFOPLIST_KEY_WKCompanionAppBundleIdentifier = edu.stanford.templatepackage.testapp; + INFOPLIST_KEY_WKRunsIndependentlyOfCompanionApp = YES; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.templatepackage.testapp.watchkitapp; + PRODUCT_NAME = "TestApp Watch App"; + SDKROOT = watchos; + SKIP_INSTALL = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 4; + }; + name = Test; + }; + 2F9CBECD2A76C412009818FF /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 637867499T; + ENABLE_PREVIEWS = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; + INFOPLIST_KEY_WKCompanionAppBundleIdentifier = edu.stanford.templatepackage.testapp; + INFOPLIST_KEY_WKRunsIndependentlyOfCompanionApp = YES; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.templatepackage.testapp.watchkitapp; + PRODUCT_NAME = "TestApp Watch App"; + SDKROOT = watchos; + SKIP_INSTALL = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 4; + }; + name = Release; + }; + 2F9CBED42A76C412009818FF /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 637867499T; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GENERATE_INFOPLIST_FILE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.templatepackage.testapp.watchkitapp.uitests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = watchos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 4; + TEST_TARGET_NAME = TestAppWatchApp; + }; + name = Debug; + }; + 2F9CBED52A76C412009818FF /* Test */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 637867499T; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GENERATE_INFOPLIST_FILE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.templatepackage.testapp.watchkitapp.uitests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = watchos; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 4; + TEST_TARGET_NAME = TestAppWatchApp; + }; + name = Test; + }; + 2F9CBED62A76C412009818FF /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 637867499T; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GENERATE_INFOPLIST_FILE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.templatepackage.testapp.watchkitapp.uitests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = watchos; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 4; + TEST_TARGET_NAME = TestAppWatchApp; + }; + name = Release; + }; + 2FB07587299DDB6000C0B37F /* Test */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + MACOSX_DEPLOYMENT_TARGET = 14.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = TEST; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TVOS_DEPLOYMENT_TARGET = 17.0; + WATCHOS_DEPLOYMENT_TARGET = 10.0; + XROS_DEPLOYMENT_TARGET = 1.0; + }; + name = Test; + }; + 2FB07588299DDB6000C0B37F /* Test */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = ""; + DEVELOPMENT_TEAM = 637867499T; + ENABLE_PREVIEWS = YES; + ENABLE_TESTING_SEARCH_PATHS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.templatepackage.testapp; + PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_STRICT_CONCURRENCY = complete; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,3,7"; + }; + name = Test; + }; + 2FB07589299DDB6000C0B37F /* Test */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 637867499T; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.templatepackage.testapp.uitests; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE = ""; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,3,7"; + TEST_TARGET_NAME = TestApp; + }; + name = Test; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 2F6D138D28F5F384007C25D6 /* Build configuration list for PBXProject "UITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2F6D13B428F5F386007C25D6 /* Debug */, + 2FB07587299DDB6000C0B37F /* Test */, + 2F6D13B528F5F386007C25D6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2F6D13B628F5F386007C25D6 /* Build configuration list for PBXNativeTarget "TestApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2F6D13B728F5F386007C25D6 /* Debug */, + 2FB07588299DDB6000C0B37F /* Test */, + 2F6D13B828F5F386007C25D6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2F6D13BC28F5F386007C25D6 /* Build configuration list for PBXNativeTarget "TestAppUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2F6D13BD28F5F386007C25D6 /* Debug */, + 2FB07589299DDB6000C0B37F /* Test */, + 2F6D13BE28F5F386007C25D6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2F9CBECA2A76C412009818FF /* Build configuration list for PBXNativeTarget "TestAppWatchApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2F9CBECB2A76C412009818FF /* Debug */, + 2F9CBECC2A76C412009818FF /* Test */, + 2F9CBECD2A76C412009818FF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2F9CBED32A76C412009818FF /* Build configuration list for PBXNativeTarget "TestAppWatchAppUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2F9CBED42A76C412009818FF /* Debug */, + 2F9CBED52A76C412009818FF /* Test */, + 2F9CBED62A76C412009818FF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCSwiftPackageProductDependency section */ + 2F68C3C7292EA52000B3E12C /* TemplatePackage */ = { + isa = XCSwiftPackageProductDependency; + productName = TemplatePackage; + }; + 2F9CBED92A76C795009818FF /* TemplatePackage */ = { + isa = XCSwiftPackageProductDependency; + productName = TemplatePackage; + }; +/* End XCSwiftPackageProductDependency section */ + }; + rootObject = 2F6D138A28F5F384007C25D6 /* Project object */; +} diff --git a/Tests/UITests/UITests.xcodeproj/project.pbxproj.license b/Tests/UITests/UITests.xcodeproj/project.pbxproj.license new file mode 100644 index 0000000..d77e33d --- /dev/null +++ b/Tests/UITests/UITests.xcodeproj/project.pbxproj.license @@ -0,0 +1,5 @@ +This source file is part of the TemplatePackage open-source project + +SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) + +SPDX-License-Identifier: MIT \ No newline at end of file diff --git a/Tests/UITests/UITests.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Tests/UITests/UITests.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/Tests/UITests/UITests.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Tests/UITests/UITests.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license b/Tests/UITests/UITests.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license new file mode 100644 index 0000000..d77e33d --- /dev/null +++ b/Tests/UITests/UITests.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license @@ -0,0 +1,5 @@ +This source file is part of the TemplatePackage open-source project + +SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) + +SPDX-License-Identifier: MIT \ No newline at end of file diff --git a/Tests/UITests/UITests.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Tests/UITests/UITests.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Tests/UITests/UITests.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Tests/UITests/UITests.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license b/Tests/UITests/UITests.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license new file mode 100644 index 0000000..d77e33d --- /dev/null +++ b/Tests/UITests/UITests.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license @@ -0,0 +1,5 @@ +This source file is part of the TemplatePackage open-source project + +SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) + +SPDX-License-Identifier: MIT \ No newline at end of file diff --git a/Tests/UITests/UITests.xcodeproj/xcshareddata/xcschemes/TestApp.xcscheme b/Tests/UITests/UITests.xcodeproj/xcshareddata/xcschemes/TestApp.xcscheme new file mode 100644 index 0000000..2d60ede --- /dev/null +++ b/Tests/UITests/UITests.xcodeproj/xcshareddata/xcschemes/TestApp.xcscheme @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/UITests/UITests.xcodeproj/xcshareddata/xcschemes/TestApp.xcscheme.license b/Tests/UITests/UITests.xcodeproj/xcshareddata/xcschemes/TestApp.xcscheme.license new file mode 100644 index 0000000..d77e33d --- /dev/null +++ b/Tests/UITests/UITests.xcodeproj/xcshareddata/xcschemes/TestApp.xcscheme.license @@ -0,0 +1,5 @@ +This source file is part of the TemplatePackage open-source project + +SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) + +SPDX-License-Identifier: MIT \ No newline at end of file diff --git a/Tests/UITests/UITests.xcodeproj/xcshareddata/xcschemes/TestAppWatchApp.xcscheme b/Tests/UITests/UITests.xcodeproj/xcshareddata/xcschemes/TestAppWatchApp.xcscheme new file mode 100644 index 0000000..50c8406 --- /dev/null +++ b/Tests/UITests/UITests.xcodeproj/xcshareddata/xcschemes/TestAppWatchApp.xcscheme @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/UITests/UITests.xcodeproj/xcshareddata/xcschemes/TestAppWatchApp.xcscheme.license b/Tests/UITests/UITests.xcodeproj/xcshareddata/xcschemes/TestAppWatchApp.xcscheme.license new file mode 100644 index 0000000..d77e33d --- /dev/null +++ b/Tests/UITests/UITests.xcodeproj/xcshareddata/xcschemes/TestAppWatchApp.xcscheme.license @@ -0,0 +1,5 @@ +This source file is part of the TemplatePackage open-source project + +SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) + +SPDX-License-Identifier: MIT \ No newline at end of file