目录
目录README.md

Swiftui Xcode previews module resources fix

A demo of a fix for a XCPreviewAgent crash due to resource dependencies accross modules.

It specificially fixes crashes like this:

unable to find bundle named <PACKAGE>_<TARGET>

----------------------------------------

CrashReportError: `fatalError` in resource_bundle_accessor.swift

XCPreviewAgent crashed due to fatalError in resource_bundle_accessor.swift at line 27.

unable to find bundle named <PACKAGE>_<TARGET>

Process: XCPreviewAgent

See the crash

To see the crash in action: git switch crash.
The crash branch demonstrates the implementation as it should work with XCPreviews.
Just try to open ModulUI‘s preview.

Resouces

关于
76.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号