Comments (3)
@mornin-sculpture Thanks for reporting the issue! I could reproduce the issue by setting up according to Package.swift
you provided. I didn't imagine that this plugin is used from executable target, but that usage is completely valid.
I'll fix the issue and create a new release soon.
from licensesplugin.
📝
I came up with three options to solve this issue.
- Add executable target to copy the file, and use it instead of
cp
command. - Add binary target to copy the file, and use it instead of
cp
command. - Specify absolute path of
cp
command. Replacetry context.tool(named: "cp").path
withPath("/bin/cp")
.
I tried 1 in #19 , it seemed that it worked well but there were some problem ref: #20 . And 2 and 3 seems solutions that far from ideal... 2 is too complicated and 3 can be not reliable.
from licensesplugin.
Fixed by 0.1.6
from licensesplugin.
Related Issues (12)
- Provide default UI
- Format generated code
- Use .buildCommand instead of .prebuildCommand
- Make sort order of licenses case insensitive HOT 1
- Add tests
- Add demo projects
- Not working on Xcode Cloud. HOT 7
- Support XcodeProjectPlugin HOT 1
- hotfix_v1.0.0: タイポ修正
- Provide example license
- Publish `License` struct as a package HOT 1
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 licensesplugin.