gon
swift-corelibs-foundation
gon | swift-corelibs-foundation | |
---|---|---|
6 | 19 | |
1,454 | 5,313 | |
- | 0.3% | |
0.0 | 9.2 | |
about 1 year ago | 3 days ago | |
Go | C | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gon
-
Sickcodes/Docker-OS X: Run macOS VM in a Docker
It might be less effort to use something like this: https://gregoryszorc.com/blog/2021/04/14/pure-rust-implement...
Might even be able to modify `gon` to use that instead of Apple's `codesign` and then you'll have notarization too: https://github.com/mitchellh/gon
-
A Completely Open-Source Implementation of Apple Code Signing and Notarization
I’ve always used gon ( https://github.com/mitchellh/gon ) for this, which is open source golang, but I don’t think it supports mach-o embedding. I’ll have to try this tool out.
-
How do I bundle a Golang executable into a MacOS .app file?
There is no need for some special solution to pack your .app, you need to create .app directories, copy your binary, create Info.plist with metadata about your binary, icon, etc. I did this for a couple of apps and it is simple. It is another thing if you want to sign and notarize the binary, there are other tools for that, like https://github.com/mitchellh/gon.
-
Signing app for MacOS is like alien cryptographic language
I use gon to sign and notarize a DMG file. Once you set it up, it's a simple one-line command that will upload the DMG to Apple, await notarization, and give you back a DMG that's ready for distribution.
-
The Gates to Hell: Apples Notarizing
My advice from years of notarizing my apps is to make sure you do it at least once per day for each of your apps. If you only notarize once every release (say, every month or so), you are almost guaranteed to encounter some new cryptic error that you've never seen before, either due to some glitch in signing your app or frameworks, or else some server-side error such as new terms & conditions that you are being "encouraged" to agree to. It will take you hours to research and resolve them if they aren't spotted right away.
As others pointed out, https://github.com/mitchellh/gon is a great tool for doing this on your local machine (e.g., with a cron job). In addition, if you are building your app using a GitHub action (which I highly recommend if it is open-source), you can use my https://github.com/hubomatic/hubomat action to package and notarize a release in one shot. The sample/template app does this automatically on every commit as well as once per day: https://github.com/hubomatic/MicroVector/actions.
So when this fails from a scheduled job, you at least know that something has changed on the Apple side and can investigate that right away. And if it fails as a result of a commit, then at least you can start looking at what changes you may have made to your entitlements or code signing settings or embedded frameworks or any of the other million things that can cause it to fail.
swift-corelibs-foundation
-
Handling Cookies Is a Minefield
Re Safari’s networking code being closed source, a good substitute might be the Swift port of Foundation. You can see checks for control and delete characters here: https://github.com/swiftlang/swift-corelibs-foundation/blob/...
-
Apple didn't fix Swift's biggest flaw
I'm not deep in Swift, but this would make it seem Foundation is open source: https://github.com/apple/swift-corelibs-foundation/tree/main
-
Mixing Swift and C++
a : https://github.com/apple/swift-corelibs-foundation/blob/main...
I wouldn't want to be the guy relying on this table advancement for this project. The fact that they're rewriting it in pure swift probably says a lot about the quality of the current approach.
b: makes absolutely no difference from a developer perspective. if you want to run threads in swift you're going to use gcd.
c: my take with all apple software tech has been to wait until they've dogfooded their own tech long enough to make it useable. Worked very well for me so far, thank you very much.
- Roast my supposedly impressive iOS developer resume
-
Apple Announces Full Swift Rewrite of the Foundation Framework
Correction: rewrite of PARTS of Foundation
There already was an open-source project to rewrite ALL of foundation, but it had stalled on the shores of having to re-implement everything:
https://github.com/apple/swift-corelibs-foundation
-
Apple's Swift rewrite of its Foundation framework will be open source
The (shitty) old Linux implementation has been on GitHub for years.
-
There is no “software supply chain”
Sigh... The traditional argument is that every dependency is of the same quality and trustworthiness of the language Standard Library.
If I use the SL, then I should also have no problem using some lashed-up chimera that has a dependency hierarchy that spans three continents.
Like I said, I'll do things my way.
For the record, here's a peek at some of the "worthless" packages that I use in my own work: https://github.com/RiftValleySoftware
Also, for the record, here's the Swift Foundation Library: https://github.com/apple/swift-corelibs-foundation
It has plenty of open issues: https://github.com/apple/swift-corelibs-foundation/issues
If every dependency chain can match these, yhen I'll be open to considering them.
As it is, I do use the occasional external package, but I'm picky.
-
A Completely Open-Source Implementation of Apple Code Signing and Notarization
CoreFoundation is (partially?) open-source and cross-platform now: https://github.com/apple/swift-corelibs-foundation
-
Show HN: Particles – the URL contains the whole program code
Partly this is doable because although RFC 2616 specifies a max URL length of 2048 bytes, most browsers allow much longer, with Chrome and Firefox allowing at least 64k chars (that's what they'll display but it seems like more is happily processed), while Safari allows URL strings up to 2GB in size[1]!
[1] https://github.com/apple/swift-corelibs-foundation/blob/b23d...
-
What is missing in the Swift ecosystem?
Regarding your point #3, Swift does indeed have an open-source cross-platform implementation of Foundation. swift-corelibs-foundation
What are some alternatives?
corona - Solar2D Game Engine main repository (ex Corona SDK)
Unwrap - Learn Swift interactively on your iPhone.
httptoolkit-desktop - Electron wrapper to build and distribute HTTP Toolkit for the desktop
JWM - Cross-platform window management and OS integration library for Java
gow - Missing watch mode for Go commands. Watch Go files and execute a command like "go run" or "go test"
google-api-objectivec-client-for-rest - Google APIs Client Library for Objective-C for REST
lemur - Repository for the Lemur Certificate Manager
swift - The Swift Programming Language
appify - Create a macOS Application from an executable (like a Go binary)
Publish - A static site generator for Swift developers
xcnotary - the missing macOS app notarization helper, built with Rust
chapel - a Productive Parallel Programming Language