Symbol not found occurs when the application is run on a real machine or simulation. Is there any way to stop the error from occurring? Thank you in advance.
Symbol not found in beta 6 of Xcode version 15
The following message appears in the debug area dyld[859]: Symbol not found: _$s9SwiftData14ModelContainerC3for_AcA010PersistentC0_pXp_AA0C13ConfigurationVdtKcfC
If you are running iOS 17 beta 6 on the device, your app will not work if you use SwiftData because SwiftData was updated in iOS 17 beta 6 to a version that is incompatible with the version of SwiftData in Xcode 15 beta 6 and iOS 17 beta 5. If you need to continue working on that app while we all wait for Apple to release a new Xcode and/or iOS beta to fix this problem, you should use the iOS simulator in Xcode instead of a real device, unfortunately.
I solved the problem by using Xcode bata7.