Comments (5)
Personally seems a bit out of scope for Xcodegen. You might consider using a tool such as: https://github.com/mono0926/LicensePlist
from xcodegen.
@markst thank you for your response
So a tool like that will have to have access to SPM's Package.swift file, which is a file managed by Xcodegen. When we use Xcodegen we don't actually manage the Package.swift file manually. Instead we are telling Xcodegen which dependencies we need. So it seems appropriate that the application that manages the actual dependencies (Xcodegen) generates also the acknowledgements for them.
This is true in case of Cocoapods as well. In that case Cocoapods is managing the dependencies, hence it's able to generate the acknowledgements for them too.
Regards
from xcodegen.
The LicensePlist uses the project.xcworkspace/xcshareddata/swiftpm/Package.resolved
in order to generate the output Acknowledgements. This file file will exist after a project generated by XcodeGen has resolved dependencies.
So in order to use LicensePlist you can update your project.yml
to add a buildToolPlugins
to execute the LicensePlistBuildTool
. I'm happy to create a demonstration as an example if it's not clear.
from xcodegen.
You might hit a blocker trusting the build tool - "Trust & Enable All".
Depending on how you are running your build you could pass -skipPackagePluginValidation
to your xcodebuild.
from xcodegen.
Thanks for the info here @markst, I learned something too 😄
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
- Exclude PrivacyInfo.xcprivacy from Copy Bundle Resources HOT 11
- Xcode removing Package.resolved HOT 8
- 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.