When I start using Sync I always receive the following Exceptions displayed below. These exceptions only occur when using visual studio code. No exceptions seem to occur when running directly from the command line or from within Xcode. Despite this warning, everything seems to work fine. Any help to avoid this problem is appreciated.
Flutter doctor -v does not display any problems.
Realm version: ^0.11.0+rc
Flutter version: 3.7.0
Exception has occurred.
ArgumentError (Invalid argument(s): Failed to load dynamic library 'realm_dart': dlopen(realm_dart, 0x0001): tried: '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRootrealm_dart' (errno=2), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/realm_dart' (errno=2), '/usr/lib/swift/realm_dart' (errno=2, not in dyld cache), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/realm_dart' (errno=2), '/usr/lib/swift/realm_dart' (errno=2, not in dyld cache), '/Users/taco/Library/Developer/CoreSimulator/Devices/777429D3-82C2-4EEE-B4B1-E3822E51B9FA/data/Containers/Bundle/Application/69CD69C9-C345-439F-A1BD-2A7815A6EC4E/Runner.app/Frameworks/realm_dart' (errno=2), '/Users/taco/Library/Developer/CoreSimulator/Devices/777429D3-82C2-4EEE-B4B1-E3822E51B9FA/data/Containers/Bundle/Application/69CD69C9-C345-439F-A1BD-2A7815A6EC4E/Runner.app/Frameworks/realm_dart' (errno=2), '/Users/taco/Library/Developer/CoreSimulator/Devices/777429D3-82C2-4EEE-B4B1-E3822E51B9FA/data/Containers/Bundle/Application/69CD69C9-C345-439F-A1BD-2A7815A6EC4E/Runner.app/Frameworks/realm_dart' (errno=2), '/usr/lib/realm_dart' (errno=2, not in dyld cache), 'realm_dart' (errno=2), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/realm_dart' (errno=2))
Exception has occurred.
ArgumentError (Invalid argument(s): Failed to load dynamic library '/Users/taco/Library/Developer/CoreSimulator/Devices/777429D3-82C2-4EEE-B4B1-E3822E51B9FA/data/Containers/Bundle/Application/69CD69C9-C345-439F-A1BD-2A7815A6EC4E/Runner.app/realm_dart': dlopen(/Users/taco/Library/Developer/CoreSimulator/Devices/777429D3-82C2-4EEE-B4B1-E3822E51B9FA/data/Containers/Bundle/Application/69CD69C9-C345-439F-A1BD-2A7815A6EC4E/Runner.app/realm_dart, 0x0001): tried: '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Users/taco/Library/Developer/CoreSimulator/Devices/777429D3-82C2-4EEE-B4B1-E3822E51B9FA/data/Containers/Bundle/Application/69CD69C9-C345-439F-A1BD-2A7815A6EC4E/Runner.app/realm_dart' (errno=2), '/Users/taco/Library/Developer/CoreSimulator/Devices/777429D3-82C2-4EEE-B4B1-E3822E51B9FA/data/Containers/Bundle/Application/69CD69C9-C345-439F-A1BD-2A7815A6EC4E/Runner.app/realm_dart' (errno=2))