Closed chenrui333 closed 8 months ago
Does the build.sh script work? There is a dependency on the Swift Argument Parser Swift package.
Xcode should resolve dependency automatically. It need Apple's Dev account?
👋 Is there anyway that we can get rid of apple dev account dependency? Also is there any way for me to build with swift
rather than xcodebuild
, I dont know how to pull in Swift Argument Parser Swift
dependency.
Please see: https://bargsten.org/wissen/publish-swift-app-via-homebrew/ It can be useful for deployment via hombrew.
That is a good direction, I will give that a shot.
I've run in issue where xcodebuild cannot be used in Homebrew, therefore I've created a Package.swift in order to update Homebrew formula from v2 to v3. But Homebrew won't accept that pull request (Homebrew/homebrew-core/pull/97394). Will you consider accepting that portion of the code into this repository, @kcrawford ?
The only thing I couldn't figure out was how to use Info.plist for versioning when swift build
is used... If you'll agree to accept, I'll try to come up with pull request + add automate CI using Github Actions.
It seems that #131 implements swift package manager support, something I proposed here.
Yes 3.1.0 is using swift package manager.
👋 trying to build the latest release, but run into some build issue. The error log is as below:
build error
``` $ $ xcodebuild -arch arm64 -project dockutil.xcodeproj -scheme dockutil -configuration Release CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO SYMROOT=build ... dockutil-3.0.0/dockutil/DockUtil.swift:10:8: error: no such module 'ArgumentParser' import ArgumentParser ^ ```relates to Homebrew/homebrew-core#96391