Maintainer of swift-library
- maintainer of swift-redux
- ๐ญ Iโm currently working at Tencent.
- ๐ฎ I'm currently working on something cool.
- ๐ซ How to reach me: [email protected]
ToolKit for Compiled Asset Catalogs (.car file) written in Swift.
License: MIT License
Maintainer of swift-library
brew tap 0xxd0/tap
==> Tapping 0xxd0/tap
Cloning into '/opt/homebrew/Library/Taps/0xxd0/homebrew-tap'...
remote: Enumerating objects: 74, done.
remote: Counting objects: 100% (74/74), done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 74 (delta 27), reused 41 (delta 11), pack-reused 0
Receiving objects: 100% (74/74), 11.50 KiB | 692.00 KiB/s, done.
Resolving deltas: 100% (27/27), done.
Tapped 1 formula (16 files, 22.7KB).
brew install cartool
==> Fetching 0xxd0/tap/cartool
==> Downloading https://github.com/0xxd0/cartools/archive/1.0.0-alpha.tar.gz
==> Downloading from https://codeload.github.com/showxu/cartools/tar.gz/refs/tags/1.0.0-alpha
##=O#- #
==> Installing cartool from 0xxd0/tap
==> xcodebuild
-resolvePackageDependencies
Last 15 lines from /Users/messina/Library/Logs/Homebrew/cartool/01.xcodebuild:
2024-02-23 18:33:41 +0000
xcodebuild
-resolvePackageDependencies
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
sh: line 1: -resolvePackageDependencies: command not found
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/0xxd0/homebrew-tap/issues
/opt/homebrew/Library/Homebrew/utils/github/api.rb:356:in `raise_error': Validation Failed: [{"message"=>"The listed users and repositories cannot be searched either because the resources do not exist or you do not have permission to view them.", "resource"=>"Search", "field"=>"q", "code"=>"invalid"}] (GitHub::API::ValidationFailedError)
from /opt/homebrew/Library/Homebrew/utils/github/api.rb:272:in `open_rest'
from /opt/homebrew/Library/Homebrew/utils/github.rb:178:in `search'
from /opt/homebrew/Library/Homebrew/utils/github.rb:182:in `search_results_items'
from /opt/homebrew/Library/Homebrew/utils/github.rb:36:in `search_issues'
from /opt/homebrew/Library/Homebrew/utils/github.rb:62:in `issues_for_formula'
from /opt/homebrew/Library/Homebrew/exceptions.rb:502:in `fetch_issues'
from /opt/homebrew/Library/Homebrew/exceptions.rb:497:in `issues'
from /opt/homebrew/Library/Homebrew/exceptions.rb:553:in `dump'
from /opt/homebrew/Library/Homebrew/brew.rb:143:in `rescue in <main>'
from /opt/homebrew/Library/Homebrew/brew.rb:131:in `<main>'
/opt/homebrew/Library/Homebrew/formula.rb:2829:in `block in system': Failed executing: xcodebuild (BuildError)
-resolvePackageDependencies
from /opt/homebrew/Library/Homebrew/formula.rb:2765:in `open'
from /opt/homebrew/Library/Homebrew/formula.rb:2765:in `system'
from /opt/homebrew/Library/Taps/0xxd0/homebrew-tap/Formula/cartool.rb:33:in `install'
from /opt/homebrew/Library/Homebrew/build.rb:177:in `block (3 levels) in install'
from /opt/homebrew/Library/Homebrew/extend/kernel.rb:493:in `with_env'
from /opt/homebrew/Library/Homebrew/build.rb:139:in `block (2 levels) in install'
from /opt/homebrew/Library/Homebrew/formula.rb:1407:in `block in brew'
from /opt/homebrew/Library/Homebrew/formula.rb:2997:in `block (2 levels) in stage'
from /opt/homebrew/Library/Homebrew/extend/kernel.rb:493:in `with_env'
from /opt/homebrew/Library/Homebrew/formula.rb:2996:in `block in stage'
from /opt/homebrew/Library/Homebrew/resource.rb:129:in `block (2 levels) in unpack'
from /opt/homebrew/Library/Homebrew/download_strategy.rb:126:in `chdir'
from /opt/homebrew/Library/Homebrew/download_strategy.rb:126:in `chdir'
from /opt/homebrew/Library/Homebrew/download_strategy.rb:113:in `stage'
from /opt/homebrew/Library/Homebrew/resource.rb:125:in `block in unpack'
from /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `block in run'
from /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `chdir'
from /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `run'
from /opt/homebrew/Library/Homebrew/resource.rb:226:in `stage_resource'
from /opt/homebrew/Library/Homebrew/resource.rb:124:in `unpack'
from /opt/homebrew/Library/Homebrew/resource.rb:98:in `stage'
from /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/forwardable.rb:238:in `stage'
from /opt/homebrew/Library/Homebrew/formula.rb:2976:in `stage'
from /opt/homebrew/Library/Homebrew/formula.rb:1400:in `brew'
from /opt/homebrew/Library/Homebrew/build.rb:133:in `block in install'
from /opt/homebrew/Library/Homebrew/extend/kernel.rb:493:in `with_env'
from /opt/homebrew/Library/Homebrew/build.rb:125:in `install'
from /opt/homebrew/Library/Homebrew/build.rb:229:in `<main>'
How can I find the Appearance in CUIThemeRendition class.
I want to place the dark type image file to another folder. So I can drag it to Xcode manualy.
I use this command to export info as a json. In this I can see the Appearance type if have
assetutil --info Assets.car > a.json
{
"Appearance" : "UIAppearanceDark",
"AssetType" : "Image",
"BitsPerComponent" : 8,
"ColorModel" : "RGB",
"Colorspace" : "srgb",
"Compression" : "deepmap2",
"DeploymentTarget" : "2019",
"Encoding" : "ARGB",
"Idiom" : "universal",
"Name" : "BubbleIncomingNoTailOld",
"NameIdentifier" : 49186,
"Opaque" : false,
"PixelHeight" : 105,
"PixelWidth" : 114,
"RenditionName" : "[email protected]",
"Scale" : 3,
"SHA1Digest" : "9C19C47D535B81D7B0EC07A9367A38A2EE72EDFD",
"SizeOnDisk" : 342,
"State" : "Normal",
"Template Mode" : "automatic",
"Value" : "Off"
},
When I drag the image into Xcode, if the file name contains "@2x", Xcode will place this image to 2x place. It's OK.
But If the type appearance type is dark, it can not be identify as dark though filename.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.