Comments (11)
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.
This has been reverted and released as 2.40.1 👍
from xcodegen.
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.
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.
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.
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.
UP!
from xcodegen.
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
XcodeGen/Sources/ProjectSpec/FileType.swift
Line 122 in 9df3e62
from xcodegen.
@arisupriatna14 back to your original question, do you have multiple targets referencing the same privacy file?
from xcodegen.
@arisupriatna14 or a single target referencing multiple privacy manifests?
from xcodegen.
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)
- Why Isn't watchOS a Supported Destination? HOT 2
- Add DESTDIR support to Makefile HOT 2
- Can't specify preferredScreenCaptureFormat in scheme's test actions HOT 1
- XcodeGenKit/resource_bundle_accessor.swift:44: Fatal error: unable to find bundle named XcodeGen_XcodeGenKit HOT 17
- XcodeGen doesn't support the full set of C++ file extensions that Xcode itself does
- [BUG] Optional source path doesn't work if executing xcodegen from outer directory
- Where should I set the App version? HOT 2
- Specify additional build/run targets for target-scheme HOT 2
- Xcodegen cache bug? HOT 2
- Strange behavior of SwiftUI App HOT 2
- Xcode removing Package.resolved HOT 7
- Indentation options are not applied to files being part of Packages HOT 1
- Deintegration of GraphViz HOT 1
- Using 'supportedDestinations' with watchOS app doesn't generate an 'Embed Watch Content' build phase HOT 12
- Setting a default device target HOT 1
- Prefetch resource tags (ODR, On Demand Resources) HOT 1
- Specify multiple package products broken HOT 1
- settings DEVELOPMENT_TEAM doesn't work HOT 1
- Sources "name" property ignored if specifying "group"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcodegen.