Previews don't work when are inside of a static framework. Has anyone experimented it also?
MessageSendFailure: Message send failure for update
==================================
| RemoteHumanReadableError: Unknown preview provider "Provider_Previews_"
|
| XCPreviewAgent does not contain a preview provider named "Provider_Previews_". Check your build settings to ensure the preview provider is compiled into your product.
|
| Mangled name: 0012Provider_0021Provider_Previews_V
Thanks in advance
Yes this is a known issue. Currently previews are not supported inside of static libraries.
As a workaround you could create a dynamic library or framework target in addition to the static library and put the file in both targets. Then, make sure your scheme is building the framework/dynamic library target even if it's not being included into any of your shipping apps, etc.