
macOS
独步夜雨
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Mac Framework Version(Minor, Compatibility version)
refer:https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/VersionInformation.htmlMinor VersionsWithin a major version of a framework, you can also designate the current minor version. Minor versions are..转载 2020-05-21 12:13:46 · 400 阅读 · 0 评论 -
Mac启动过程中禁止挂载指定分区
原文地址:https://www.jianshu.com/p/38bc919f9138Mac启动过程中禁止挂载指定分区祖传大苹果关注0.12018.09.12 10:27字数 564阅读 924评论 0喜欢 1最近心血来潮折腾着把家里的台式机装上了黑苹果(Hackintosh),在登陆Mac的时候发现Win10的系统盘也挂载到了Finder中,这个让人看着很不...转载 2019-05-09 14:05:21 · 3508 阅读 · 0 评论 -
如何设置/禁用Mac Sleep
# 查看当前系统的sleep状态$ sudo systemsetup -getsleepSleep: Computer sleeps NeverSleep: Display sleeps after 2 minutesSleep: Disk sleeps Never# 禁用计算机的Sleep。$ sudo systemsetup -setcomputersleep Off# ...原创 2019-05-15 17:33:47 · 1498 阅读 · 0 评论 -
Authenticating with the iTunes store” 或 “正在通过 iTunes Store进行鉴定”的完美解决办法
原文地址:https://www.jianshu.com/p/696f4f4be0c0问题描述用 Xcode 提交 app 到 iTunes store 时总是卡死在 “Authenticating with the iTunes store”。改DNS、用VPN都不行,全局、自动代理模式全都试过了。网上找解决办法,有很多人推荐使用“Application Loader”上传:...转载 2019-05-16 12:38:20 · 2726 阅读 · 1 评论 -
在Makefile中我们经常看到 = := ?= +=这几个赋值运算符,那么他们有什么区别呢?
在Makefile中我们经常看到 = := ?= +=这几个赋值运算符,那么他们有什么区别呢?我们来做个简单的实验新建一个Makefile,内容为:ifdef DEFINE_VREVRE = “Hello World!”elseendififeq ($(OPT),define)VRE ?= “Hello World! First!”endififeq ($(...转载 2019-05-31 08:45:44 · 189 阅读 · 0 评论 -
Mac下动态库的install_name
1.什么是install_name?每个动态库(dylib)都有一个install_name,可以认为是动态库初次安装时的默认路径,这个install_name保存在dylib文件中。举例:比如一个系统动态库:libSystem.B.dylib。利用otool可以查看install_name。$ cd /usr/lib$ otool -D libSystem.B.dylib# ...转载 2019-06-03 22:41:14 · 1739 阅读 · 0 评论 -
shell 如何将命令的执行结果重定向到变量
var1=$(command)var2=`command`#To save both stdout and stderr to a variable, you need add 2>&1 at the ending.var3=$(command2>&1)ref:https://stackoverflow.com/questions/...转载 2019-06-10 20:45:40 · 9845 阅读 · 0 评论