我们正在使用一个小助手应用程序在登录后启动我们的主应用程序.但是我们无法启动我们的主应用程序,因为LSOpenFromURLSpec()返回错误代码-10827.
我们使用是否无关紧要:
[[NSWorkspace sharedWorkspace] launchApplication:@"/Applications/Appname.app"];
Run Code Online (Sandbox Code Playgroud)
要么:
[[NSWorkspace sharedWorkspace] launchApplication:@"Appname"];
Run Code Online (Sandbox Code Playgroud)
它每次都返回错误.我们如何解决这个问题?
我有一个本地存储库,我想添加一个远程仓库.我一直在用
git remote add --track master origin https://username@bitbucket.org/xxxx/xxxx.git
Run Code Online (Sandbox Code Playgroud)
如果我想推送到那个回购,我得到这个错误:
错误:无法访问URL https://username@bitbucket.org/xxxx/xxxx.git,返回代码77错误:无法将某些引用推送到'https://username@bitbucket.org/xxxx/xxxx.git
有谁知道我为什么会收到这个错误?