[Technical Questions] Issues and Mitigations - Previewing and running the starter project app on Xcode #112
-
In what area do you have a technical challenge?Xcode, Simulator & Previews DescriptionI am in the team NeutroFeverGuard. While trying to run the starter app, I have encountered some issues.
SourceKittenFramework/library_wrapper.swift:58: Fatal error: Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed After I run, My issue was resolved. Previewing - Issue Still Open On TestFlight - Issue Still Open ReproductionPreview Issue details:First, it cannot find other views in scope(even though they have the same target membership), and then after the indexing ends, it gives the error that the details below do not conform to View.
I changed that code snippet to the following:
However, it is still taking forever, and can't see anything in Preview. Is it normal given the size of the project? Should we just drop using Preview? (Below, it started reindexing so that's why it gives the error of file not in scope, but then it fixes) ![]() TestFlight App Stuck in Loading ScreenExpected behaviorFor Running, I expected it to be built and run without any errors. Now it is working. Additional contextNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @mmervecerit, thank you for bringing up these issues! Regarding the previews issue you are encountering, please refer to this PR from @PSchmiedmayer which fixes the issue. You can use this fix on any previews which give you the same problem. The problem was occurring because the Scheduler module was missing in the preview modifier and previews are created independently from the main app and app delegate. In the future, to figure out the exact preview error that is occurring you can click the icon in the preview window as shown below. This will give you a full diagnostic report: ![]() ![]() Regarding the issue with the "Sign in with Apple" feature, this may be an underlying issue in the Spezi Account module. @Supereg, can you please look into this? Thank you! |
Beta Was this translation helpful? Give feedback.
Hi @mmervecerit, thank you for bringing up these issues!
Regarding the previews issue you are encountering, please refer to this PR from @PSchmiedmayer which fixes the issue. You can use this fix on any previews which give you the same problem. The problem was occurring because the Scheduler module was missing in the preview modifier and previews are created independently from the main app and app delegate.
In the future, to figure out the exact preview error that is occurring you can click the icon in the preview window as shown below. This will give you a full diagnostic report:
Regarding the issue with the "Sign in with Apple" feature, this may be an underlying issue in the Spezi Acc…