I'm running into an error trying use Xcode Live Previews in my project.
Our main project is really large and previews have never worked there, so I've been creating smaller targets with fewer dependencies and have had some luck getting previews to work there.
So now I'm starting to move a feature over into a Feature Module (an isolated target with tests and an example iOS host app to demo it).
The demo app runs fine, but the previews never work for me.
I filed a FB on this with some detail: FB9162267
Things I have tried:
Changing my preview provider to just render Color.blue - same result
Looked in ~/Library/Logs/DiagnosticReports for a crash related to the preview agent - nothing
Read through the generated report, mentions a Library not loaded @rpath/SomeDependency, but I can see this dependency successfully built in the Derived data build artifacts for the preview build
Project setup is like this:
Example - iOS app
Pods - Some internal pods + a few external ones
The internal pods are all path based references, so I can edit them directly in this workspace.
Example app depends on FeatureModuleA which is a framework built by the Pods project.
My preview lives in FeatureModuleA.
Any ideas on what I can do next?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
We tried to adopt OSLog in past years, but it was really cumbersome to retrieve the logs from customers.
Doing a sysdiagnose is a really cumbersome task for most non-technical users to perform. Additionally they contain WAY more information than we need and are generally very large.
This is true for macOS and iOS apps.
Are there any new facilities for retrieving just the logs for a given subsystem that we could trigger with code, for instance in a help menu?