最近升级了 WatchOS 11, 想新增几张照片, 发现 Portraits 表盘被合并到了 Photos 里面, 但 Photos 表盘的字体实在太丑, 于是研究了下之前备份的 Portraits.watchface 文件。 发现把后缀名改为 zip 即可成功解压缩, 解压出来的文件结构如下:
.
├── Resources
│ ... ...
│ └── Images.plist
├── face.json
├── metadata.json
├── no_borders_snapshot.png
└── snapshot.png
尝试把图片加到 Resources 目录下并编辑 Images.plist, 压缩, 改后缀名为 watchface 后导入提示: Cannot send Watch Face This file is corrupted and will not be sent.
于是想着自己是不是哪里编辑错了, 于是重复上述解压步骤, 解压后不对文件做任何更改, 直接压缩改后缀, 仍提示: Cannot send Watch Face This file is corrupted and will not be sent.
百思不得其解, 网上只能搜到一个 WatchFaceDumper 的项目, 但貌似无法正常使用, 有人成功编辑过 watchface 文件吗?