Xcode
文章平均质量分 67
Victor张
这个作者很懒,什么都没留下…
展开
-
macOS Sandboxed app 多个程序共享 存入 Group preference的bookmark失败
Share security scoped bookmark in app group翻译 2023-02-15 11:51:19 · 202 阅读 · 0 评论 -
MacOS平台下@rpath在动态链接库中的应用
@rpath. framework 配置原创 2022-09-20 09:52:35 · 775 阅读 · 0 评论 -
Build Metal-based Core Image kernels with Xcode
Apple 文档:Building a Library with Metal’s Command-Line ToolsMetal Shading Language for Core Image Kernels1. 在 Build Rules 结合 xcrun 编译生成Core Image 用的 kernel 文件*.metal: .metal 格式文件*.ci.metal: 是自定义的文件后缀格式.1.工程引入两个文件:ColorLUT_1.ci.metal 和 ColorLUT_1.ci.me原创 2022-03-08 16:14:02 · 770 阅读 · 0 评论 -
Xcode 相关问题
Build Settings1. Xcode 版本升级后找不到网上提到的相关配置了在学习 Metal Shading Language for Core Image Kernels时,在 Building Settings | Metal Compiler 中设置-fcikernel, 但是最新xcode 创建的项目中没有 Metal Compiler 生成选项。这时 可以选中工程文件,设置 Project Format选项:针对我的问题,更好的解决方法:Apple 课程Build Metal-原创 2022-03-08 16:05:17 · 2514 阅读 · 0 评论 -
macos / xcode 快捷的将选中的文本注释掉(/* ... */)
参考: stackoverflow使用Automator 创建service打开Automator, 选择 Quick Action勾选 Output replaces selected text在左侧Library搜索 AppleScript, 双击Run AppleScript代码如下:on run {input, parameters} repeat with anInput in input if "/*" is in anInput then set input t.原创 2021-06-08 18:16:56 · 282 阅读 · 0 评论