Giter Club home page Giter Club logo

Comments (11)

pixlwave avatar pixlwave commented on May 29, 2024 2

We just started seeing warnings from ASC that we're now missing the privacy manifest after upgrading to the latest XcodeGen. If it helps: our setup is separate manifests, one for each bundle which was working perfectly before this change - https://github.com/element-hq/element-x-ios

from xcodegen.

yonaskolb avatar yonaskolb commented on May 29, 2024 2

This has been reverted and released as 2.40.1 👍

from xcodegen.

nhelke avatar nhelke commented on May 29, 2024 1

I'm confused, because my reading of Apple's privacy manifest docs, specifically the first 'Note', is that they must be a target resource.

I get no error with a project with a single xcprivacy file which is in the copy resources build phase using Xcode 15.3 (Build version 15E204a) and Xcodegen 2.39.1:

CpResource /Users/<redacted>/Library/Developer/Xcode/DerivedData/<redacted>/Build/Products/Debug-iphoneos/<App>.app/PrivacyInfo.xcprivacy /Users/<redacted>/<Projects>/<Project>/<App>/PrivacyInfo.xcprivacy (in target '<App>' from project '<Project>')
    cd /Users/<redacted>/<Projects>/<Project>
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/<redacted>/<Projects>/<Project>/<App>/PrivacyInfo.xcprivacy /Users/<redacted>/Library/Developer/Xcode/DerivedData/<redacted>/Build/Products/Debug-iphoneos/<App>.app

And I'm concerned that this change is going to start suppressing the privacy manifests which may cause app rejections starting 1 May.

from xcodegen.

DeclanMcPartlin avatar DeclanMcPartlin commented on May 29, 2024 1

For those of us who were relying on the previous default behaviour, adding this to options: got us back to the previous behaviour:

fileTypes:
    xcprivacy:
      buildPhase: resources

from xcodegen.

yonaskolb avatar yonaskolb commented on May 29, 2024 1

Sounds like changing this default was perhaps an error. I will make a hotfix later today.
Can anyone else confirm the correct handling of this file, for assurance?

from xcodegen.

mcomisso avatar mcomisso commented on May 29, 2024 1

Our latest build is failing as well:

error: Multiple commands produce '/Users/[REDACTED]/Library/Developer/Xcode/DerivedData/redacted-gdlfekfxlrxrfhbnavwhuygpgppu/Build/Intermediates.noindex/ArchiveIntermediates/redacted/InstallationBuildProductsLocation/Applications/redacted.app/PrivacyInfo.xcprivacy'

We have one xcprivacy for multiple targets. The targets are using the same folders, and they are released on different stores depending on what's on each xcconfig.

from xcodegen.

arisupriatna14 avatar arisupriatna14 commented on May 29, 2024

UP!

from xcodegen.

yonaskolb avatar yonaskolb commented on May 29, 2024

It's possible to add this to a preceding path with an includes that sets a custom build phase, but the easiest way is to set a project wide file default

options:
  fileTypes:
    xcprivacy:
      buildPhase: none

I'll open this issue back up though as a marker for someone to open a one line PR to add this as an XcodeGen default here

"xctestplan": FileType(buildPhase: BuildPhaseSpec.none),

from xcodegen.

yonaskolb avatar yonaskolb commented on May 29, 2024

@arisupriatna14 back to your original question, do you have multiple targets referencing the same privacy file?

from xcodegen.

nhelke avatar nhelke commented on May 29, 2024

@arisupriatna14 or a single target referencing multiple privacy manifests?

from xcodegen.

psykologist90 avatar psykologist90 commented on May 29, 2024

Hi, I don't know if can be related, but we're not being able to link the xcprivacy file to the targets.
We've the file created in the root folder, at the same level as the plist

from xcodegen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.