Skip to content

<XcodeProject> and artifacts folder fails #24222

@mattleibow

Description

@mattleibow

Apple platform

No response

Framework version

net9.0-*

Affected platform version

All

Description

When using xcode project and artifacts, the xcode is put inside the project directory.

Steps to Reproduce

  1. Add <XcodeProject
  2. Enable artifacts
  3. Build
  4. Observe the files in <reporoot>src/AI/src/Essentials.AI/Users/matthew/Documents/GitHub/maui/artifacts/obj/Essentials.AI/Debug/net10.0-ios26.0

I see the

<_XcodeProjectDefaultOutputPathRoot>$(MSBuildProjectDirectory)/$(IntermediateOutputPath)xcode/</_XcodeProjectDefaultOutputPathRoot>

<_XcodeProjectDefaultOutputPathRoot>$(MSBuildProjectDirectory)/$(IntermediateOutputPath)xcode/</_XcodeProjectDefaultOutputPathRoot>

This should probably not have the $(MSBuildProjectDirectory) at the start. In the old way, the $(IntermediateOutputPath) was relative (but could be absolute), the artifacts way is absolute as it could be anywhere.

Did you find any workaround?

No

Build logs

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions