You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
During a clean install of the MCUmgr via "go install github.com/apache/mynewt-mcumgr-cli/mcumgr@latest"
an error "error: function does not return NSString" has occurred.
Hi,
During a clean install of the MCUmgr via "go install github.com/apache/mynewt-mcumgr-cli/mcumgr@latest"
an error "error: function does not return NSString" has occurred.
MacBook-Pro-2:~ msedlak$ go install github.com/apache/mynewt-mcumgr-cli/mcumgr@latest
go: downloading github.com/apache/mynewt-mcumgr-cli v0.0.0-20221004073047-5c56bd24066c
go: downloading mynewt.apache.org/newtmgr v0.0.0-20201028150837-60b2da78788c
go: downloading mynewt.apache.org/newt v0.0.0-20201028015609-b57111dbd19f
go: downloading github.com/runtimeco/go-coap v0.0.0-20190911184520-8e5532820fc0
go: downloading github.com/JuulLabs-OSS/cbgo v0.0.1
go: downloading github.com/sirupsen/logrus v1.5.0
go: downloading github.com/spf13/cast v1.3.0
go: downloading github.com/spf13/cobra v0.0.5
go: downloading gopkg.in/abiosoft/ishell.v2 v2.0.0
go: downloading gopkg.in/cheggaaa/pb.v1 v1.0.28
go: downloading github.com/pkg/errors v0.8.1
go: downloading github.com/JuulLabs-OSS/ble v0.0.0-20200716215611-d4fcc9d598bb
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/joaojeronimo/go-crc16 v0.0.0-20140729130949-59bd0194935e
go: downloading github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07
go: downloading golang.org/x/net v0.0.0-20191119073136-fc4aabc6c914
go: downloading github.com/ugorji/go/codec v1.1.7
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/mattn/go-runewidth v0.0.6
go: downloading golang.org/x/sys v0.0.0-20220608164250-635b8c9b7f68
go: downloading github.com/ugorji/go v1.1.7
go: downloading github.com/abiosoft/readline v0.0.0-20180607040430-155bce2042db
go: downloading github.com/fatih/color v1.7.0
go: downloading github.com/flynn-archive/go-shlex v0.0.0-20150515145356-3f9db97f8568
go: downloading github.com/fatih/structs v1.1.0
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/mattn/go-colorable v0.1.6
go: downloading github.com/mgutz/logxi v0.0.0-20161027140823-aebf8a7d67ab
go: downloading github.com/raff/goble v0.0.0-20200327175727-d63360dcfd80
go: downloading github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b
_# github.com/JuulLabs-OSS/cbgo
In file included from go/pkg/mod/github.com/!juul!labs-!o!s!s/cbgo@v0.0.1/att.go:5:
In file included from ./bt.h:4:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12:
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:91:143: error: function does not return NSString
-- (NSAttributedString *)localizedAttributedStringForKey:(NSString *)key value:(nullable NSString *)value table:(nullable NSString *)tableName NS_FORMAT_ARGUMENT(1) NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
~~~~~~~~~~~~~~ ^ ~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:103:48: note: expanded from macro 'NS_FORMAT_ARGUMENT'
#define NS_FORMAT_ARGUMENT(A) __ attribute __ ((format_arg(A)))
^ ~
1 error generated.
I use macOS Big Sur (Version 11.5.2)
Is there a way how to resolve this?
Many Thanks.
The text was updated successfully, but these errors were encountered: