yonaskolb / Beak

A command line interface for your Swift scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

upgrade to version 0.5.0 failed

rocklyve opened this issue · comments

Hey,
I recently tried to upgrade Beak to version 0.5.0.

XCode Version: 10.2
Swift Version:

Apple Swift version 5.0 (swiftlang-1001.0.69.5 clang-1001.0.46.3)
Target: x86_64-apple-darwin18.5.0

with following error:

[16:44:10 | NewProjectTemplate-iOS ] brew upgrade beak
==> Upgrading 1 outdated package:
yonaskolb/beak/beak 0.4.0 -> 0.5.0
==> Upgrading yonaskolb/beak/beak
==> Downloading https://github.com/yonaskolb/Beak/archive/0.5.0.tar.gz
Already downloaded: /Users/rocklyve/Library/Caches/Homebrew/downloads/5a0b9ae96158b12b7843a3cd617ee54c57b492fedc00433aaad78083fde4e6ee--Beak-0.5.0.tar.gz
==> Building Beak
==> swift build --disable-sandbox -c release -Xswiftc -static-stdlib
Last 15 lines from /Users/rocklyve/Library/Logs/Homebrew/beak/01.swift:
      _$s8SwiftCLI4TaskC6launch030_19E0ACB72F1C972020BFBD69850F9J1FLLyyF in Task.swift.o
  "_swift_weakLoadStrong", referenced from:
      _$s8SwiftCLI10LineStreamC4eachACySSc_tcfcyycfU_ in Stream.swift.o
      _$s8SwiftCLI13CaptureStreamCACycfcyycfU_ in Stream.swift.o
      _$s8SwiftCLI4TaskC6launch030_19E0ACB72F1C972020BFBD69850F9J1FLLyyFySo6NSTaskCcfU_ in Task.swift.o
  "_swift_willThrow", referenced from:
      _$s7BeakCLI11EditCommandC05SwiftB00D0AadEP7executeyyKFTWTm in BeakCommand.swift.o
      _$s7BeakCLI11EditCommandCAA0aD0A2aDP7execute4path8beakFiley7PathKit0I0V_0A4Core0aH0VtKFTW in EditCommand.swift.o
      _$s7BeakCLI11EditCommandC7execute4path8beakFiley7PathKit0I0V_0A4Core0aH0VtKFTf4nxn_n in EditCommand.swift.o
      _$s7BeakCLI15FunctionCommandCAA0aD0A2aDP7execute4path8beakFiley7PathKit0I0V_0A4Core0aH0VtKFTW in FunctionCommand.swift.o
      _$s7BeakCLI15FunctionCommandC7execute4path8beakFiley7PathKit0I0V_0A4Core0aH0VtKFTf4nxn_n in FunctionCommand.swift.o
      _$s7BeakCLI11ListCommandCAA0aD0A2aDP7execute4path8beakFiley7PathKit0I0V_0A4Core0aH0VtKFTW in ListCommand.swift.o
      _$s7BeakCLI10RunCommandCAA0aD0A2aDP7execute4path8beakFiley7PathKit0I0V_0A4Core0aH0VtKFTW in RunCommand.swift.o
      ...
ld: symbol(s) not found for architecture x86_64

If reporting this issue please do so to (not Homebrew/brew or Homebrew/core):
yonaskolb/beak

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"}]

Fixed in 0.5.1 👍

Tested and it worked! Thanks :)