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

[New Build System] error: duplicate header #58

Closed
jerrymarino opened this issue Sep 28, 2018 · 1 comment
Closed

[New Build System] error: duplicate header #58

jerrymarino opened this issue Sep 28, 2018 · 1 comment

Comments

@jerrymarino
Copy link
Collaborator

Ran into this error after bumping XcodeGen.

At first look, xcodegen is duplicating symlinked files in a copyfiles phase.

Build system information
error: Multiple commands produce '/Users/jerry/Library/Developer/Xcode/DerivedData/UrlGet-evlfsbrrogjoftawvtpkwphhiltc/Build/Products/Debug-iphonesimulator/include/PINCache-Arc-exception-safe-ios-12.0/PINCache.h':
1) Target 'PINCache-Arc-exception-safe-ios-12.0' (project 'UrlGet') has copy command from '/Users/jerry/Projects/xchammer-github/IntegrationTests/Sandbox/UrlGet/Vendor/PINCache/Source/PINCache.h' to '/Users/jerry/Library/Developer/Xcode/DerivedData/UrlGet-evlfsbrrogjoftawvtpkwphhiltc/Build/Products/Debug-iphonesimulator/include/PINCache-Arc-exception-safe-ios-12.0/PINCache.h'
2) Target 'PINCache-Arc-exception-safe-ios-12.0' (project 'UrlGet') has copy command from '/Users/jerry/Projects/xchammer-github/IntegrationTests/Sandbox/UrlGet/Vendor/PINCache/pod_support/Headers/Public/PINCache/PINCache.h' to '/Users/jerry/Library/Developer/Xcode/DerivedData/UrlGet-evlfsbrrogjoftawvtpkwphhiltc/Build/Products/Debug-iphonesimulator/include/PINCache-Arc-exception-safe-ios-12.0/PINCache.h'
jerrymarino added a commit that referenced this issue Sep 28, 2018
Please find more info here:
#58
@jerrymarino
Copy link
Collaborator Author

Based under the current logic of XCHammer, we don't really want to do this. For now, we can set the header visibility to private:
yonaskolb/XcodeGen@a784a0d

jerrymarino added a commit that referenced this issue Oct 9, 2018
Recently, XcodeGen gained the ability to copy files for headers. This
behavior doesn't really add value for XCHammer and slows down project
gen for some cases by ~ 1 order of mangitude.

Fixes #58
jerrymarino added a commit that referenced this issue Oct 9, 2018
Recently, XcodeGen gained the ability to copy files for headers. This
behavior doesn't really add value for XCHammer and slows down project
gen for some cases by ~ 1 order of mangitude.

Fixes #58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant