Preview crashed when use this package
Open
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Hello Yandex, nice package but...
- Clean example app (SwiftUI)
- Xcode: Version 16.4 (16F6)
- SPM install from IDE
- Write simple wrapper
import YandexMapsMobile
struct YMapView: UIViewRepresentable {
func makeUIView(context: Context) -> YMKMapView {
YMKMapView(frame: .zero, vulkanPreferred: true) // true or false is not affected on work
}
func updateUIView(_ uiView: YMKMapView, context: Context) {
}
}
- insert this view inside ContentView and got this:
== PREVIEW UPDATE ERROR:
CrashReportError: Example crashed
Example crashed. Check ~/Library/Logs/DiagnosticReports for crash logs from your application.
Process: Example [29071]
Path: <none>
Date/Time: 2025-07-17 12:47:33 +0000
Application Specific Information:
libswiftCore.dylib:
failed to demangle witness for associated type 'Body' in conformance 'Example.ExampleApp: App' from mangled name 'G' - subject type x does not conform to protocol View
libsystem_sim_platform.dylib:
CoreSimulator 1043 - Device: iPhone 16 Pro (FE5C7F06-0BCF-4809-9CBD-4BDC2BC627B4) - Runtime: iOS 18.5 (22F77) - DeviceType: iPhone 16 Pro
libsystem_c.dylib:
abort() called
dyld:
dyld config: DYLD_SHARED_CACHE_DIR=/Library/Developer/CoreSimulator/Caches/dyld/24F74/com.apple.CoreSimulator.SimRuntime.iOS-18-5.22F77/ DYLD_ROOT_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator DYLD_INSERT_LIBRARIES=@executable_path/__preview.dylib:/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libLogRedirect.dylib:/System/Library/PrivateFrameworks/LiveExecutionResultsProbe.framework/LiveExecutionResultsProbe:/System/Library/PrivateFrameworks/PreviewsInjection.framework/PreviewsInjection DYLD_FRAMEWORK_PATH=/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks DYLD_FALLBACK_LIBRARY_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib
Crashing Thread:
0 libsystem_kernel.dylib 0x000008874 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000062ec pthread_kill + 264
2 libsystem_c.dylib 0x000073ea8 abort + 100
3 libswiftCore.dylib 0x0002cbfdc swift::fatalErrorv(unsigned int, char const*, char*) + 140
4 libswiftCore.dylib 0x0002cbff8 swift::fatalError(unsigned int, char const*, ...) + 28
5 libswiftCore.dylib 0x0002e7e2c swift_getAssociatedTypeWitnessSlowImpl(swift::MetadataRequest, swift::TargetWitnessTable<swift::InProcess>*, swift::TargetMetadata<swift::InProcess> const*, swift::TargetProtocolRequirement<swift::InProcess> const*, swift::TargetProtocolRequirement<swift::InProcess> const*) + 964
6 libswiftCore.dylib 0x0002e63a8 swift_getAssociatedTypeWitness + 48
7 SwiftUI 0x000f251e4 closure #1 in AppGraph.init<A>(app:) + 192
8 SwiftUI 0x000f25814 closure #1 in AppGraph.instantiateOutputs() + 632
9 SwiftUI 0x000f254a8 AppGraph.instantiateOutputs() + 236
10 SwiftUICore 0x00055c3b8 GraphHost.instantiate() + 148
11 SwiftUI 0x00085a564 closure #1 in runApp<A>(_:) + 160
12 SwiftUICore 0x0003d1cac static Update.dispatchImmediately<A>(reason:_:) + 308
13 SwiftUI 0x00085a37c runApp<A>(_:) + 144
14 SwiftUI 0x0005e5dc4 static App.main() + 148
15 ??? 0x340010550 ???
16 ??? 0x3400105fc ???
17 Example 0x0000014e8 __debug_blank_executor_run_user_entry_point + 128
18 PreviewsInjection 0x000029498 ???
19 PreviewsInjection 0x000029f30 ???
20 PreviewsInjection 0x000029e4c __previews_injection_run_user_entrypoint + 12
21 XOJITExecutor 0x0000061a8 __xojit_executor_run_program_wrapper + 1708
22 XOJITExecutor 0x000002554 ???
23 PreviewsInjection 0x000029d98 ???
24 Example 0x000000cc8 __debug_blank_executor_main + 992
25 ??? 0x1010313d4 ???
26 dyld 0x000006b98 start + 6076
Binary Images:
0x100dc4000 dyld <9cf0401a-a938-389e-a77d-9e9608076ccf> /usr/lib/dyld
0x100d70000 Example <85782600-d6c8-3f3e-bd5c-9a2c44a3b077> /Users/USER/Library/Developer/Xcode/UserData/Previews/Simulator Devices/FE5C7F06-0BCF-4809-9CBD-4BDC2BC627B4/data/Containers/Bundle/Application/3ECFE29F-80BA-4F87-820E-78E90457FEDF/Example.app/Example
0x100d94000 __preview.dylib <7e35ebbc-b29d-3856-a968-757a2408e501> /Users/USER/Library/Developer/Xcode/UserData/Previews/Simulator Devices/FE5C7F06-0BCF-4809-9CBD-4BDC2BC627B4/data/Containers/Bundle/Application/3ECFE29F-80BA-4F87-820E-78E90457FEDF/Example.app/__preview.dylib
0x100ef4000 libLogRedirect.dylib <225b261c-b0f3-30d5-b45d-faa0c058b066> /Volumes/VOLUME/*/libLogRedirect.dylib
0x100da0000 libsystem_platform.dylib <93afc0a9-eec9-3f50-9339-09c7757aa50a> /usr/lib/system/libsystem_platform.dylib
0x100f08000 libsystem_kernel.dylib <4068b2ee-a54f-397e-882d-c5e3a40b789a> /usr/lib/system/libsystem_kernel.dylib
0x100ff0000 libsystem_pthread.dylib <e9238785-e581-3e65-bedb-179c698d3554> /usr/lib/system/libsystem_pthread.dylib
0x1800fe000 libsystem_c.dylib <d8eab09a-74cb-346d-b14e-3187db1c40db> /Volumes/VOLUME/*/libsystem_c.dylib
0x1957bb000 libswiftCore.dylib <0c2ad407-9c4e-364d-b9a4-fc4560142a64> /Volumes/VOLUME/*/libswiftCore.dylib
0x1d3352000 SwiftUI <110f5834-acc6-3f0a-ab25-9776db108f7c> /Volumes/VOLUME/*/SwiftUI.framework/SwiftUI
0x1d44fd000 SwiftUICore <d91d6608-e991-3704-b954-fb4512a21ecd> /Volumes/VOLUME/*/SwiftUICore.framework/SwiftUICore
0x000000000 ??? <00000000-0000-0000-0000-000000000000> ???
0x23520a000 PreviewsInjection <0c51617c-c5a6-3b93-b918-bdd33c28bb7e> /Volumes/VOLUME/*/PreviewsInjection.framework/PreviewsInjection
0x246a3c000 XOJITExecutor <88eec839-475c-399a-a810-34de55acb7c3> /Volumes/VOLUME/*/XOJITExecutor.framework/XOJITExecutor
0x18017b000 libdispatch.dylib <990151a6-fd18-3496-84e3-f565307fbc2f> /Volumes/VOLUME/*/libdispatch.dylib
EOF
==================================
| FailedToLaunchAppError: Failed to launch iqqator.Example
|
| ==================================
|
| | [Remote] NSError.BSTransactionError.1: Не удалось завершить операцию. Transaction failed. Process failed to launch. (process launch failed)
| |
| | BSTransactionError (1):
| | ==transaction: <FBApplicationProcessLaunchTransaction: 0x6000079e63c0>
| | ==error-description: Process failed to launch.
| | ==error-reason: process launch failed
| | ==precipitating-error: Error Domain=FBProcessExit Code=4 "The process crashed." UserInfo={NSLocalizedFailureReason=The process crashed., BSErrorCodeDescription=crash, NSUnderlyingError=0x600000e7c810 {Error Domain=signal Code=6 "SIGABRT(6)" UserInfo={NSLocalizedFailureReason=SIGABRT(6)}}}
| | ==NSLocalizedFailureReason: Transaction failed. Process failed to launch. (process launch failed)
== PREVIEW UPDATE ERROR:
CrashReportError: Example crashed
Example crashed. Check ~/Library/Logs/DiagnosticReports for crash logs from your application.
Process: Example [29071]
Path: <none>
Date/Time: 2025-07-17 12:47:33 +0000
Application Specific Information:
libswiftCore.dylib:
failed to demangle witness for associated type 'Body' in conformance 'Example.ExampleApp: App' from mangled name 'G' - subject type x does not conform to protocol View
libsystem_sim_platform.dylib:
CoreSimulator 1043 - Device: iPhone 16 Pro (FE5C7F06-0BCF-4809-9CBD-4BDC2BC627B4) - Runtime: iOS 18.5 (22F77) - DeviceType: iPhone 16 Pro
libsystem_c.dylib:
abort() called
dyld:
dyld config: DYLD_SHARED_CACHE_DIR=/Library/Developer/CoreSimulator/Caches/dyld/24F74/com.apple.CoreSimulator.SimRuntime.iOS-18-5.22F77/ DYLD_ROOT_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator DYLD_INSERT_LIBRARIES=@executable_path/__preview.dylib:/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libLogRedirect.dylib:/System/Library/PrivateFrameworks/LiveExecutionResultsProbe.framework/LiveExecutionResultsProbe:/System/Library/PrivateFrameworks/PreviewsInjection.framework/PreviewsInjection DYLD_FRAMEWORK_PATH=/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks DYLD_FALLBACK_LIBRARY_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib
Crashing Thread:
0 libsystem_kernel.dylib 0x000008874 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000062ec pthread_kill + 264
2 libsystem_c.dylib 0x000073ea8 abort + 100
3 libswiftCore.dylib 0x0002cbfdc swift::fatalErrorv(unsigned int, char const*, char*) + 140
4 libswiftCore.dylib 0x0002cbff8 swift::fatalError(unsigned int, char const*, ...) + 28
5 libswiftCore.dylib 0x0002e7e2c swift_getAssociatedTypeWitnessSlowImpl(swift::MetadataRequest, swift::TargetWitnessTable<swift::InProcess>*, swift::TargetMetadata<swift::InProcess> const*, swift::TargetProtocolRequirement<swift::InProcess> const*, swift::TargetProtocolRequirement<swift::InProcess> const*) + 964
6 libswiftCore.dylib 0x0002e63a8 swift_getAssociatedTypeWitness + 48
7 SwiftUI 0x000f251e4 closure #1 in AppGraph.init<A>(app:) + 192
8 SwiftUI 0x000f25814 closure #1 in AppGraph.instantiateOutputs() + 632
9 SwiftUI 0x000f254a8 AppGraph.instantiateOutputs() + 236
10 SwiftUICore 0x00055c3b8 GraphHost.instantiate() + 148
11 SwiftUI 0x00085a564 closure #1 in runApp<A>(_:) + 160
12 SwiftUICore 0x0003d1cac static Update.dispatchImmediately<A>(reason:_:) + 308
13 SwiftUI 0x00085a37c runApp<A>(_:) + 144
14 SwiftUI 0x0005e5dc4 static App.main() + 148
15 ??? 0x340010550 ???
16 ??? 0x3400105fc ???
17 Example 0x0000014e8 __debug_blank_executor_run_user_entry_point + 128
18 PreviewsInjection 0x000029498 ???
19 PreviewsInjection 0x000029f30 ???
20 PreviewsInjection 0x000029e4c __previews_injection_run_user_entrypoint + 12
21 XOJITExecutor 0x0000061a8 __xojit_executor_run_program_wrapper + 1708
22 XOJITExecutor 0x000002554 ???
23 PreviewsInjection 0x000029d98 ???
24 Example 0x000000cc8 __debug_blank_executor_main + 992
25 ??? 0x1010313d4 ???
26 dyld 0x000006b98 start + 6076
Binary Images:
0x100dc4000 dyld <9cf0401a-a938-389e-a77d-9e9608076ccf> /usr/lib/dyld
0x100d70000 Example <85782600-d6c8-3f3e-bd5c-9a2c44a3b077> /Users/USER/Library/Developer/Xcode/UserData/Previews/Simulator Devices/FE5C7F06-0BCF-4809-9CBD-4BDC2BC627B4/data/Containers/Bundle/Application/3ECFE29F-80BA-4F87-820E-78E90457FEDF/Example.app/Example
0x100d94000 __preview.dylib <7e35ebbc-b29d-3856-a968-757a2408e501> /Users/USER/Library/Developer/Xcode/UserData/Previews/Simulator Devices/FE5C7F06-0BCF-4809-9CBD-4BDC2BC627B4/data/Containers/Bundle/Application/3ECFE29F-80BA-4F87-820E-78E90457FEDF/Example.app/__preview.dylib
0x100ef4000 libLogRedirect.dylib <225b261c-b0f3-30d5-b45d-faa0c058b066> /Volumes/VOLUME/*/libLogRedirect.dylib
0x100da0000 libsystem_platform.dylib <93afc0a9-eec9-3f50-9339-09c7757aa50a> /usr/lib/system/libsystem_platform.dylib
0x100f08000 libsystem_kernel.dylib <4068b2ee-a54f-397e-882d-c5e3a40b789a> /usr/lib/system/libsystem_kernel.dylib
0x100ff0000 libsystem_pthread.dylib <e9238785-e581-3e65-bedb-179c698d3554> /usr/lib/system/libsystem_pthread.dylib
0x1800fe000 libsystem_c.dylib <d8eab09a-74cb-346d-b14e-3187db1c40db> /Volumes/VOLUME/*/libsystem_c.dylib
0x1957bb000 libswiftCore.dylib <0c2ad407-9c4e-364d-b9a4-fc4560142a64> /Volumes/VOLUME/*/libswiftCore.dylib
0x1d3352000 SwiftUI <110f5834-acc6-3f0a-ab25-9776db108f7c> /Volumes/VOLUME/*/SwiftUI.framework/SwiftUI
0x1d44fd000 SwiftUICore <d91d6608-e991-3704-b954-fb4512a21ecd> /Volumes/VOLUME/*/SwiftUICore.framework/SwiftUICore
0x000000000 ??? <00000000-0000-0000-0000-000000000000> ???
0x23520a000 PreviewsInjection <0c51617c-c5a6-3b93-b918-bdd33c28bb7e> /Volumes/VOLUME/*/PreviewsInjection.framework/PreviewsInjection
0x246a3c000 XOJITExecutor <88eec839-475c-399a-a810-34de55acb7c3> /Volumes/VOLUME/*/XOJITExecutor.framework/XOJITExecutor
0x18017b000 libdispatch.dylib <990151a6-fd18-3496-84e3-f565307fbc2f> /Volumes/VOLUME/*/libdispatch.dylib
EOF
==================================
| FailedToLaunchAppError: Failed to launch iqqator.Example
|
| ==================================
|
| | [Remote] NSError.BSTransactionError.1: Не удалось завершить операцию. Transaction failed. Process failed to launch. (process launch failed)
| |
| | BSTransactionError (1):
| | ==transaction: <FBApplicationProcessLaunchTransaction: 0x6000079e63c0>
| | ==error-description: Process failed to launch.
| | ==error-reason: process launch failed
| | ==precipitating-error: Error Domain=FBProcessExit Code=4 "The process crashed." UserInfo={NSLocalizedFailureReason=The process crashed., BSErrorCodeDescription=crash, NSUnderlyingError=0x600000e7c810 {Error Domain=signal Code=6 "SIGABRT(6)" UserInfo={NSLocalizedFailureReason=SIGABRT(6)}}}
| | ==NSLocalizedFailureReason: Transaction failed. Process failed to launch. (process launch failed)
== VERSION INFO:
Tools: 16F6
OS: 24F74
PID: 28518
Model: MacBook Pro
Arch: arm64e
== EXECUTION MODE PROPERTIES:
Automatically Refresh Previews: true
JIT Mode User Enabled: true
Falling back to Dynamic Replacement: false
== ENVIRONMENT:
openFiles = [
/Users/iqqator/Desktop/Example/Example/ContentView.swift
]
wantsNewBuildSystem = true
newBuildSystemAvailable = true
activeScheme = Example
activeRunDestination = iPhone 16 Pro variant iphonesimulator arm64
workspaceArena = [x]
buildArena = [x]
buildableEntries = [
Example.app
]
runMode = JIT Executor
== SELECTED RUN DESTINATION:
Simulator - iOS 18.5 | iphonesimulator | arm64 | iPhone 16 Pro | no proxy
== PACKAGE RESOLUTION ERRORS:
== REFERENCED SOURCE PACKAGES:
<IDESwiftPackageCore.IDESwiftPackageDependency:0x13d304450 path:'/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/SourcePackages/checkouts/mapkit-ios'>
== JIT LINKAGE:
Run Destination: C48A7629-7BF7-47F9-B420-89275E1FCC9B-iphonesimulator18.5-arm64-iphonesimulator
JIT Link Description {
5:Example.app [
2:YandexMapsMobileFull
1:YandexMapsMobileFullResources
]
}
== SESSION GROUP 3848:
workspace identifier: WorkspaceIdentifier(identifier: 8856B52E-DD26-46FF-ACCB-269AF863CAB0)
providers: [
Preview Provider | Registry-ContentView.swift#1[preview] [Editor(3557)]
]
translation units: [
/Users/iqqator/Desktop/Example/Example/ContentView.swift
]
attributes: [
Editor(3557): []
]
session: 3852
request sessions: [
Registry[Registry-ContentView.swift#1[preview] (line 25)]: not completed
]
== UPDATE SESSION 3852:
Start Date: Thursday, 17 July 2025 at 15:47:32 Moscow Standard Time
Timing {
Elapsed Time: 0.9736770391464233s
bdaa1e82b065ee45,774449252.709559,0.9736770391464233s,,PreviewUpdateSession,id:3852
35b5e54b633d87fa,774449252.751636,0.0003809928894042969s,,MakeBuildGraph,
9f90f74616a46bf1,774449252.753034,0.02040696144104004s,,AllBuiltTargetDescriptions,
46e91d6e131da08d,774449252.753086,0.02030003070831299s,,IDEBuiltTargetDescriptionRequest,
654f8964b845c9be,774449252.775916,0.15903306007385254s,,ThunkBuild,ContentView.swift
8ee0b668aa656686,774449252.776695,0.6590789556503296s,,AgentLaunch,
}
Preview Preflight {
UpdaterStore {
updaterLimit: single
expectedAbandonedIdentifiers: [3712, 3784, 3761, 3733, 3805, 3858, 3675, 3638, 3817, 3691]
}
Simulator {
platform: iphonesimulator
device: FE5C7F06-0BCF-4809-9CBD-4BDC2BC627B4 iPhone 16 Pro
buildNumber: 22F77
runtimePath: /Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime
}
host bundle:
iqqator.Example {
url: file:///Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator/Example.app
version: 3619
signingInformation:
Code Signing {
identifier: iqqator.Example
hasGetTaskAllow: false
isSandboxed: false
}
attributes: [
LaunchConfigEnvironmentVariablesPreviewAttributesKey: ["IDE_DISABLED_OS_ACTIVITY_DT_MODE": "1", "__XPC_DYLD_LIBRARY_PATH": "/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator", "OS_ACTIVITY_TOOLS_OVERSIZE": "YES", "PACKAGE_RESOURCE_BUNDLE_PATH": "/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator", "OS_ACTIVITY_TOOLS_PRIVACY": "YES", "DYLD_INSERT_LIBRARIES": "/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libLogRedirect.dylib", "__XCODE_BUILT_PRODUCTS_DIR_PATHS": "/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator", "DYLD_LIBRARY_PATH": "/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator", "OS_LOG_DT_HOOK_PREFIX": "OSLOG-0D168852-4E61-4FED-BBE4-98B5028DD09B", "OS_LOG_DT_HOOK_MODE": "0x07", "SQLITE_ENABLE_THREAD_ASSERTIONS": "1", "TERM": "dumb", "CFLOG_FORCE_DISABLE_STDERR": "1", "OS_LOG_TRANSLATE_PRINT_MODE": "0x80", "__XPC_DYLD_FRAMEWORK_PATH": "/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator", "DYLD_FRAMEWORK_PATH": "/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator"],
AgentCompanionAppBundleIdentifierKey: nil,
AgentRoleKey: Previews,
LaunchConfigArgumentsPreviewAttributesKey: [],
AppExtensionIdentifierPreviewAttributeKey: nil,
AgentRunModeKey: JIT Executor,
]
}
builtTargetDescriptions: Build Logs/ResolvedBuiltTargetDescriptions-request-1-iqqator.Example.txt
}
Preview Provider {
UpdaterStore {
updaterLimit: single
expectedAbandonedIdentifiers: [3712, 3784, 3761, 3733, 3805, 3858, 3675, 3638, 3817, 3691]
}
Simulator {
platform: iphonesimulator
device: FE5C7F06-0BCF-4809-9CBD-4BDC2BC627B4 iPhone 16 Pro
buildNumber: 22F77
runtimePath: /Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime
}
host bundle:
iqqator.Example {
url: file:///Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator/Example.app
version: 3619
signingInformation:
Code Signing {
identifier: iqqator.Example
hasGetTaskAllow: false
isSandboxed: false
}
attributes: [
LaunchConfigEnvironmentVariablesPreviewAttributesKey: ["IDE_DISABLED_OS_ACTIVITY_DT_MODE": "1", "__XPC_DYLD_LIBRARY_PATH": "/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator", "OS_ACTIVITY_TOOLS_OVERSIZE": "YES", "PACKAGE_RESOURCE_BUNDLE_PATH": "/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator", "OS_ACTIVITY_TOOLS_PRIVACY": "YES", "DYLD_INSERT_LIBRARIES": "/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libLogRedirect.dylib", "__XCODE_BUILT_PRODUCTS_DIR_PATHS": "/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator", "DYLD_LIBRARY_PATH": "/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator", "OS_LOG_DT_HOOK_PREFIX": "OSLOG-0D168852-4E61-4FED-BBE4-98B5028DD09B", "OS_LOG_DT_HOOK_MODE": "0x07", "SQLITE_ENABLE_THREAD_ASSERTIONS": "1", "TERM": "dumb", "CFLOG_FORCE_DISABLE_STDERR": "1", "OS_LOG_TRANSLATE_PRINT_MODE": "0x80", "__XPC_DYLD_FRAMEWORK_PATH": "/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator", "DYLD_FRAMEWORK_PATH": "/Users/iqqator/Library/Developer/Xcode/DerivedData/Example-ehyhdllsttxuzadqygnshsezuaab/Build/Products/Debug-iphonesimulator"],
AgentCompanionAppBundleIdentifierKey: nil,
AgentRoleKey: Previews,
LaunchConfigArgumentsPreviewAttributesKey: [],
AppExtensionIdentifierPreviewAttributeKey: nil,
AgentRunModeKey: JIT Executor,
]
}
builtTargetDescriptions: Build Logs/ResolvedBuiltTargetDescriptions-request-2-iqqator.Example.txt
}
Build Graph {
Example.app (#5)
YandexMapsMobileFull (#2)
YandexMapsMobileFullResources (#1)
sourceFile(file:///Users/iqqator/Desktop/Example/Example/ContentView.swift -> ContentView.swift) (#3)
ContentView.swift (#4)
}
Update Plan {
iOS [arm64 iphonesimulator18.5 iphonesimulator] (iPhone 16 Pro, C48A7629-7BF7-47F9-B420-89275E1FCC9B-iphonesimulator18.5-arm64-iphonesimulator), [], thinning disabled, thunking enabled) {
Destination: iPhone 16 Pro C48A7629-7BF7-47F9-B420-89275E1FCC9B | default device for iphonesimulator [
Example app - Previews {
execution point packs [
[source: ContentView.swift, role: Previews] (in Example)
]
translation units [
ContentView.swift (in Example.app)
]
modules [
Example.app
YandexMapsMobileFull
YandexMapsMobileFullResources
]
jit link description [
Example.app {
merged static libs [
YandexMapsMobileFull
YandexMapsMobileFullResources
]
}
]
}
]
}
}
== BUILD PRODUCTS CACHE:
BuildCache {
Workspace Builds [
iOS [arm64 iphonesimulator18.5 iphonesimulator] (iPhone 16 Pro, C48A7629-7BF7-47F9-B420-89275E1FCC9B-iphonesimulator18.5-arm64-iphonesimulator), [], thinning disabled, thunking enabled) {
id: 3616
future: succeeded<XcodeWorkspaceBuildOutput>
}
]
Thunk Builds [
file:///Users/iqqator/Desktop/Example/Example/ContentView.swift -> ContentView.swift {
BuildTarget(arch: arm64, platform: iphonesimulator, sdkPath: iPhoneSimulator18.5.sdk, deploymentTarget: 18.5)
[incremental]
[]
in: Example
id: 3854
future: succeeded<PreviewProduct>
}
]
Launch Thunks [
file:///Users/iqqator/Desktop/Example/Example/ContentView.swift -> ContentView.swift {
BuildTarget(arch: arm64, platform: iphonesimulator, sdkPath: iPhoneSimulator18.5.sdk, deploymentTarget: 18.5)
workspace: iOS [arm64 iphonesimulator18.5 iphonesimulator] (iPhone 16 Pro, C48A7629-7BF7-47F9-B420-89275E1FCC9B-iphonesimulator18.5-arm64-iphonesimulator), [], thinning disabled, thunking enabled)
in: Example
id: 3631
future: succeeded<PreviewProduct>
}
]
Translation Units [
file:///Users/iqqator/Desktop/Example/Example/ContentView.swift -> ContentView.swift {
workspace: iOS [arm64 iphonesimulator18.5 iphonesimulator] (iPhone 16 Pro, C48A7629-7BF7-47F9-B420-89275E1FCC9B-iphonesimulator18.5-arm64-iphonesimulator), [], thinning disabled, thunking enabled)
Previews_ContentView
}
]
}
== POWER STATE LOGS:
17.07.2025, 15:44 Received power source state: Battery Powered (lowPowerMode: false, status: charged, level: 100%)
17.07.2025, 15:44 No device power state user override user default value.Current power state: Full Power
Any real work examples with Canvas (Preview) works?)
P.s.: Any use classes from package (for example YMKMapKit) break Preview mechanism at all :)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the clean SwiftUI app using the shown YMKMapView wrapper, SPM installation, Xcode 16.4, and iOS 18.5 simulator. Compare behavior with and without the map view and inspect the reported SwiftUI preview crash; done means the preview launches without the reported crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100