Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[msbuild] Add @(XcodeProject) action #21232

Open
wants to merge 23 commits into
base: net9.0
Choose a base branch
from
Open

Commits on Sep 12, 2024

  1. [msbuild] Add @(MaciOSXcodeProject) action

    Introduces a `@(MaciOSXcodeProject)` build action which can be used
    to build and consume the outputs of Xcode framework projects.
    
    The following metadata is supported on this item:
    
        <MaciOSXcodeProject Include="path/to/project.xcodeproj">
          <Configuration>Release</Configuration>
          <Kind>Framework</Kind>
          <OutputPath></OutputPath>
          <ReferenceXcFramework>true</ReferenceXcFramework>
          <SchemeName></SchemeName>
          <SharpieBind>true</SharpieBind>
          <SharpieNamespace></SharpieNamespace>
          <SmartLink>true</SmartLink>
        </MaciOSXcodeProject>
    
     * `%(Configuration)`: The name of the configuration to use to build
        the project. The default value is `Release`.
    
     * `%(OutputPath)`: Can be set to override the XCARCHIVE and XCFRAMEWORK
        output path of the Xcode project.
    
     * `%(ReferenceXcFramework)`: Output XCFRAMEWORK files will be added as
        a `@(NativeReference)` to be bound or otherwise used by the project.
        Metadata supported by `@(NativeReference)` like `%(Kind)` or
    	`%(SmartLink)` will be forwarded if set.
    
     * `%(SchemeName)`: The name of the build scheme that should be used to
        build the project. The default value is
        `$(IntermediateOutputPath)xcode/{SchemeName}-{Hash}`.
    
     * `%(SharpieBind)`: Output XCFRAMEWORK files will be bound using
        Objective Sharpie. The default value is `true`.
    
     * `%(SharpieNamespace)`: The namespace to use when binding output
        XCFRAMEWORK files with Objective Sharpie.
    
    A new `_BuildMaciOSXcodeProjectFrameworks` target will attempt to build
    XCARCHIVE and XCFRAMEWORK files for each `@(MaciOSXcodeProject)` item.
    These outputs will be created for the platform specified in the target
    framework. If multiple target frameworks are specified, the project
    will be built for each platform during each inner build.
    
    The built XCFRAMEWORK files will be added as `@(NativeReference)` items
    automatically, unless the `%(ReferenceXcFramework)` metadata is set to
    `false`.
    
    A new `$(MaciOSPrepareForBuildDependsOn)` build extension point has been
    added to allow customer projects to more easily hook into the beginning
    of the build process.
    pjcollins committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    6fb1013 View commit details
    Browse the repository at this point in the history
  2. Remove unused props

    pjcollins committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    9c16cdf View commit details
    Browse the repository at this point in the history
  3. Auto-format source code

    GitHub Actions Autoformatter committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    7a5cc7f View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Apply suggestions from code review

    Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
    pjcollins and rolfbjarne committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    d800655 View commit details
    Browse the repository at this point in the history
  2. Initial feedback

    pjcollins committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    0259cfe View commit details
    Browse the repository at this point in the history
  3. Auto-format source code

    GitHub Actions Autoformatter committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    140be1f View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    38f8bbf View commit details
    Browse the repository at this point in the history
  2. [net9.0] Update dependencies from dotnet/sdk (#21085)

    This pull request updates the following dependencies
    
    ## From https://github.com/dotnet/sdk
    
    - **Subscription**: 3727984b-7a79-4ba3-37dd-08dbe6bddf31
    - **Build**: 20240914.3
    - **Date Produced**: September 14, 2024 9:05:51 PM UTC
    - **Commit**: 1a658dfc714a5064eea57af48d5fd68a3ffab7ef
    - **Branch**: refs/heads/release/9.0.1xx
    
    - **Updates**:
      - **Microsoft.NET.Sdk**: [from 9.0.100-rc.2.24463.45 to 9.0.100-rc.2.24464.3][49]
    
    [49]: dotnet/sdk@0f07337...1a658df
    
    ## Coherency Updates
    
    The following updates ensure that dependencies with a *CoherentParentDependency*
    attribute were produced in a build used as input to the parent dependency's build.
    See [Dependency Description Format](https://github.com/dotnet/arcade/blob/master/Documentation/DependencyDescriptionFormat.md#dependency-description-overview)
    
    - **Coherency Updates**:
      - **Microsoft.NET.ILLink.Tasks**: from 9.0.0-rc.2.24461.16 to 9.0.0-rc.2.24462.10 (parent: Microsoft.NET.Sdk)
      - **Microsoft.AspNetCore.App.Ref**: from 9.0.0-rc.2.24462.5 to 9.0.0-rc.2.24463.6 (parent: Microsoft.NET.Sdk)
      - **Microsoft.NETCore.App.Ref**: from 9.0.0-rc.2.24461.16 to 9.0.0-rc.2.24462.10 (parent: Microsoft.NET.Sdk)
      - **Microsoft.NETCore.App.Ref**: from 9.0.0-rc.2.24461.16 to 9.0.0-rc.2.24462.10 (parent: Microsoft.NET.Sdk)
    dotnet-maestro[bot] authored and pjcollins committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    6e1c2b3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    12cc5ee View commit details
    Browse the repository at this point in the history
  4. Auto-format source code

    GitHub Actions Autoformatter committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    5d9d89e View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    adb905e View commit details
    Browse the repository at this point in the history
  2. Auto-format source code

    GitHub Actions Autoformatter committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    80590d7 View commit details
    Browse the repository at this point in the history
  3. Add docs

    pjcollins committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    28b6a88 View commit details
    Browse the repository at this point in the history
  4. Add remaining tests

    pjcollins committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    7502a22 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e007778 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Configuration menu
    Copy the full SHA
    dd55345 View commit details
    Browse the repository at this point in the history
  2. Update tests/dotnet/UnitTests/XcodeProjectTests.cs

    Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
    pjcollins and rolfbjarne committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    f704df4 View commit details
    Browse the repository at this point in the history
  3. Auto-format source code

    GitHub Actions Autoformatter committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    af944b3 View commit details
    Browse the repository at this point in the history
  4. Apply test feedback

    pjcollins committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    6f6167c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c379fb5 View commit details
    Browse the repository at this point in the history
  6. Update loc comment

    pjcollins committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    a7ef8a2 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Configuration menu
    Copy the full SHA
    fe25552 View commit details
    Browse the repository at this point in the history
  2. Fix multitargeting test

    pjcollins committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    446d6ef View commit details
    Browse the repository at this point in the history