问题标签 [macos-high-sierra]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
82 浏览

c# - 从 Visual Studio 2017 for MacOS 部署 C# 项目

我已经使用 Visual Studio 2017 for Mac 有一段时间了,实际上我没有找到一种方法来将我的项目部署、打包或编译为发布可执行文件。我只有我的开发文件和文件夹。这是一个 C# 控制台应用程序。

除了社区版本之外,MacOS 似乎没有任何版本的 VS2017。我可以在他们的网站上看到专业/企业的下拉菜单,但下载的是同一个不起眼的视觉工作室,没有更改版本或启动试用的选项。

这似乎要么是我遗漏了一些重要的东西,要么是一个非常愚蠢的东西要省略。

Xamarin Studio 现在将用户转移到 Visual Studio。

我能得到一些帮助吗?

0 投票
2 回答
1273 浏览

swift - 是否可以(以编程方式)为 macOS 中的每个单独的“空间”/桌面设置壁纸?

我正在为自己制作一个小应用程序来定期更改桌面背景图像。

我的程序包含这段代码:

这有效,但仅适用于键盘关注的当前“空间”。

例如,如果我在一个全屏应用程序中,只有占满空间的全屏应用程序的背景会改变(而不是我的普通桌面的背景)。如果我有两个空间/桌面,它只会更改其中一个的背景图像。

是否可以以编程方式为每个空间单独设置壁纸?

0 投票
3 回答
1169 浏览

cocoa - macOS 10.13:“不再支持调度 NSURLDownload 加载程序。”

在 macOS 10.13 中运行我的 macOS 应用程序,我看到打印到控制台:

这是什么意思?

0 投票
4 回答
7241 浏览

xcode - Xcode 9 - 苹果网站上的可下载 xip 文件已损坏

我已经从 Apple 网站下载了新的 Xcode 9 版本

https://developer.apple.com/xcode/

但是,提取文件时出现以下错误

在此处输入图像描述

这是可下载文件的已知问题,还是我需要做其他事情才能提取xip文件。

我的 Mac 配置

0 投票
1 回答
3180 浏览

node.js - 安装节点最多需要 8 分钟

我正在使用最新的 High Sierra 版本。

当我安装一个 npm(节点)时,安装最多需要 8 分钟...

这是正常行为吗?

0 投票
2 回答
660 浏览

iphone - iphone模拟器(10.3)时间未根据mac OS(10.13)中的时区显示

我已经将我的 mac os 更新到 10.13 beta 版本,现在它显示了我的旧模拟器的 GMT 时间,iOS 版本为 10.3。它没有按照 mytimezone(IST) 显示。即使在重置它和模拟器的区域变化之后,它也只持续显示 GMT 时间。在此处输入图像描述

0 投票
5 回答
5068 浏览

safari - Safari 扩展应用程序未显示在 Safari 首选项“扩展”选项卡中

我已按照创建您的第一个 Safari 扩展应用程序中提到的所有说明进行操作。运行目标后,我打开了 Safari 首选项扩展选项卡,但在左侧窗格中FirstSafariExtensionApp找不到。My Extension我在 KeyChain 中拥有会员资格和Apple Developer安装证书。Mac DeveloperSafari Extension Developer

如何让我的第一个 Safari 扩展应用程序正常工作?

0 投票
1 回答
1024 浏览

xcode - 如何通过保留以前的版本来升级xcode?

无论如何升级最新版本的xcode并保留以前的版本?就像我将 xcode 从 8.3 版升级到 9.0 版一样,我怎样才能在我的 mac 中保留 8.3 版?会重复完成工作吗?我在 mac-os sierra 上。

0 投票
1 回答
1194 浏览

c++ - macOS : Correct programmatic way to determine volume info

Currently we use stafs to determine the information about the filesystem volume we are on.

We rely on

value to make decisions based on whether its HFS+ or APFS or network file system.

However, we are seeing following weird output on three different macOS systems for above small standalone reproducible code.

For 2] we get the f_type value for the network path (autofs) as 24 and while in 3] we get f_type as 24 for APFS whch doesnt seem consistent.

This brings us to the qustion, is statfs the correct programmatic way to find the filesystem volume info on macOS ?

If its not, then what would be the right way to do the same ?

0 投票
1 回答
6875 浏览

macos - How do I edit Vim's color scheme for better Syntax highlighting in Mac OS X Sierra/High Sierra?

I realize syntax highlighting is not enabled when editing files in vim by default. How do I activate it?