Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.24.1 Change Causing -> iOS "Bundle with identifier *** not found" Error #747

Open
mattjung opened this issue Jul 18, 2024 · 14 comments
Open
Assignees
Labels
bug Something isn't working
Milestone

Comments

@mattjung
Copy link

Hi, we are experiencing the following error:

kotlin.IllegalArgumentException: bundle with identifier *** not found

We think it's due to the following changes introduced in 0.24.1:

https://github.com/icerockdev/moko-resources/pull/715/files#diff-74b2961a5d6d48ad53d5ab6e4529f3688bdae02391f7d66628bdb6086a06854eL14-L16

This change limits the use of bundles to be in the main bundle only.

We encounter the crash when attempting to access MR.strings() in a framework while running unit tests against the framework target. We are using copyFrameworkResourcesToApp in a build phase for the framework target using $CONTENTS_FOLDER_PATH, which, in this case, points to the framework product and not the path for the main bundle.

Could you revert the line change from the PR or make it possible to inject a path to the moko-generated bundle via the moko plugin or some other method?

@Egi10
Copy link

Egi10 commented Jul 21, 2024

I am also experiencing the same issue with the error kotlin.IllegalArgumentException: bundle with identifier ***.main not found.

@Alex009
Copy link
Member

Alex009 commented Jul 22, 2024

This change limits the use of bundles to be in the main bundle only.

hi @mattjung ! thx for analysis. can you please create reproducer of itssue from some sample? to deploy fix we should reproduce issue first

@3moly
Copy link

3moly commented Jul 22, 2024

Hello, @Alex009
Here is copy project of moko resources and reproduction of the bug in folder samples/ios-cocoapods-static-framework
https://github.com/3moly/moko_bundle_bug

I reproduced this error in my work project and also in ios-cocoapods-static-framework.

So the main step is to create build configuration for xcode project, for example Debug_beta, Release_beta.
And then write in gradle cocoapods something like this:
xcodeConfigurationToNativeBuildType["Debug_beta"] = NativeBuildType.DEBUG
xcodeConfigurationToNativeBuildType["Release_beta"] = NativeBuildType.RELEASE

Switching to Debug_beta and get this error. I hope this helps. I struggled with this bug in a long time, but didn't find time to create project with this error.

@mattjung
Copy link
Author

I also want to add that we have the same issue when using SwiftUI previews and running unit tests. In these cases, the main bundle isn't the expected $CONTENTS_FOLDER_PATH that is used for copyFrameworkResourcesToApp. Therefore the same error is thrown when accessing MR.strings() due to not finding the bundle in the main bundle.

It would be great if we could configure the bundle path for these scenarios. And if the bundle path isn't provided then default to the main bundle.

@Egi10
Copy link

Egi10 commented Jul 22, 2024

If you need another example, you can find it here: https://github.com/Egi10/resources. I have also experienced the same issue with this.

@nunoonun
Copy link

nunoonun commented Jul 25, 2024

I also think this is related with my appExtension being broken. Since the change introduced by this change seems to force the bundle only to load if the mainBundle is the main application. If you're running an appExtension the mainBundle is not the app bundle, it's the extension bundle.

@MAX-POLKOVNIK
Copy link

MAX-POLKOVNIK commented Sep 5, 2024

I face same issue with SwiftUI previews in Framework Projects (bundle with identifier *** not found). App runs ok and all resources available.

My projects structure (using framework, not cocoapods)

- shared (dynamic framework)
- resources (dynamic framework)
- feature1
- feature2
- androidApp
- iosApp
-- iosAppWorkspace
-- iosApp (previews working by default)
-- framework1 (previews not working)
-- framework2 (previews not working)

Nothing helps. Also adding resources as described in README.md not working.

I written workaround for my project:
In kotlin module where MR generated need to override method loadableBundle:

package dev.icerock.moko.resources.utils // must be same as in moko-resources to override method

import platform.Foundation.NSBundle
import platform.Foundation.NSDirectoryEnumerator
import platform.Foundation.NSFileManager
import platform.Foundation.NSURL
import platform.Foundation.pathExtension

var nsBundle: NSBundle = NSBundle.mainBundle // <-- this is where we should looking for resources, by default mainBundle

fun NSBundle.Companion.loadableBundle(identifier: String): NSBundle {
    val bundlePath: String = nsBundle.bundlePath // <-- path where we should search for bundle with resources
    val enumerator: NSDirectoryEnumerator = requireNotNull(NSFileManager.defaultManager.enumeratorAtPath(bundlePath))
    while (true) {
        val relativePath: String = enumerator.nextObject() as? String ?: break
        val url = NSURL(fileURLWithPath = relativePath)
        if (url.pathExtension == "bundle") {
            val fullPath = "$bundlePath/$relativePath"
            val foundedBundle: NSBundle? = NSBundle.bundleWithPath(fullPath)
            val loadedIdentifier: String? = foundedBundle?.bundleIdentifier

            if (isBundleSearchLogEnabled) {
                println("moko-resources auto-load bundle with identifier $loadedIdentifier at path $fullPath")
            }

            if (foundedBundle?.bundleIdentifier == identifier) return foundedBundle
        }
    }

    throw IllegalArgumentException("bundle with identifier $identifier not found")
}

var isBundleSearchLogEnabled = false

In xcode framework define method that will set nsBundle from code above:

public func fixPreview() {
    if ProcessInfo.processInfo.processName == "XCPreviewAgent" {
        MokoResourcesPreviewWorkaroundKt.nsBundle = Bundle.init(for: KotlinBase.self)
    }
}

And just call fixPreview() in SwiftUI previews:

#Preview {
    let _ = fixPreview()
    
    return AboutContentView(
        content: AboutContentKt.AboutContent_PreviewData() // <-- there we are using MR
    )
}

That's all. Now previews are working in frameworks.
P.S. I would be grateful if someone could tell me how get ObjcClass from KClass in kotlin module. That will help to remove swift side with Bundle.init(for: KotlinBase.self)

@Alex009
Copy link
Member

Alex009 commented Sep 7, 2024

issue also can be related to #762

@Alex009 Alex009 added the bug Something isn't working label Sep 7, 2024
@Alex009 Alex009 added this to the 0.24.3 milestone Sep 7, 2024
@Alex009
Copy link
Member

Alex009 commented Sep 22, 2024

i check details of issue and i think fix from 0.24.3 will not help. so i move this issue to next milestone

@Alex009 Alex009 modified the milestones: 0.24.3, 0.24.4 Sep 22, 2024
@TemaTerbi
Copy link

@MAX-POLKOVNIK, Hi!

I faced the same problem and decided to try your solution. After I overload the standard loadBundle method, my iOS project stops building.

Haven't you had this? Maybe I'm putting the file with this code in the wrong place

Where exactly do I need to create this file with method overloading for everything to work correctly?

@MAX-POLKOVNIK
Copy link

MAX-POLKOVNIK commented Nov 13, 2024

@TemaTerbi Hi. There is my project. I updated logic to search all available frameworks for bundle so I don't need any more to set nsBundle from ios. You can see logic here

my iOS project stops building.

Is there any error in build logs? It's hard to say what went wrong.

Location of this file is not important. Important things are: same package name in file like in moko, same signature of method like in moko.

This method might be not working with new K2 compiler (I'm not tested yet)

There is example of how its working in XCode
image

@TemaTerbi
Copy link

@MAX-POLKOVNIK.

Снимок экрана 2024-11-14 в 12 21 47 Снимок экрана 2024-11-14 в 12 22 12

And logs from preview stack trace:

== DATE:

Thursday, 14 November 2024 at 12:22:46 Moscow Standard Time

2024-11-14T09:22:46Z

== PAUSED REASON:

processCrashed

== PENDING UPDATE REASONS:

Open file was edited
Preview Settings changed
Preview Settings changed
Open file was edited
Open file was edited
Preview Settings changed
Open file was edited

== PREVIEW UPDATE ERROR:

CrashReportError: XCPreviewAgent crashed

XCPreviewAgent crashed. Check ~/Library/Logs/DiagnosticReports for crash logs from your application.

Process:             XCPreviewAgent [96912]
Path:                <none>

Date/Time:           2024-11-14 09:20:05 +0000

Application Specific Information:
    dyld:
        dyld config: DYLD_SHARED_CACHE_DIR=/Users/avs149/Library/Developer/CoreSimulator/Caches/dyld/24B83/com.apple.CoreSimulator.SimRuntime.iOS-18-1.22B81 DYLD_ROOT_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22B81/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.1.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator DYLD_INSERT_LIBRARIES=/Library/Developer/CoreSimulator/Volumes/iOS_22B81/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libLogRedirect.dylib:/System/Library/PrivateFrameworks/LiveExecutionResultsProbe.framework/LiveExecutionResultsProbe:/System/Library/PrivateFrameworks/PreviewsInjection.framework/PreviewsInjection DYLD_FRAMEWORK_PATH=/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22B81/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.1.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks DYLD_FALLBACK_LIBRARY_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22B81/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib
    dyld_sim:
        dyld config: DYLD_SHARED_CACHE_DIR=/Users/avs149/Library/Developer/CoreSimulator/Caches/dyld/24B83/com.apple.CoreSimulator.SimRuntime.iOS-18-1.22B81 DYLD_ROOT_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22B81/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.1.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator DYLD_INSERT_LIBRARIES=/Library/Developer/CoreSimulator/Volumes/iOS_22B81/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libLogRedirect.dylib:/System/Library/PrivateFrameworks/LiveExecutionResultsProbe.framework/LiveExecutionResultsProbe:/System/Library/PrivateFrameworks/PreviewsInjection.framework/PreviewsInjection DYLD_FRAMEWORK_PATH=/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22B81/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.1.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks DYLD_FALLBACK_LIBRARY_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22B81/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib
    libsystem_sim_platform.dylib:
        CoreSimulator 987.2 - Device: iPhone 16 Pro (A3A29B24-1407-4EF5-B577-2A9706BF1C0B) - Runtime: iOS 18.1 (22B81) - DeviceType: iPhone 16 Pro

Crashing Thread:
0    dyld_sim                  0x00002b397 invocation function for block in dyld3::MachOFile::preferredLoadAddress() const + 8
1    dyld_sim                  0x00002b37b invocation function for block in dyld3::MachOFile::forEachSegment(void (dyld3::MachOFile::SegmentInfo const&, bool&) block_pointer) const + 567
2    dyld_sim                  0x00002a38f dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 249
3    dyld_sim                  0x00002b11a dyld3::MachOFile::forEachSegment(void (dyld3::MachOFile::SegmentInfo const&, bool&) block_pointer) const + 152
4    dyld_sim                  0x00002b061 dyld3::MachOFile::preferredLoadAddress() const + 95
5    dyld_sim                  0x000015cb7 dyld4::JustInTimeLoader::contains(dyld4::RuntimeState&, void const*, void const**, unsigned long long*, unsigned char*) const + 121
6    dyld_sim                  0x00001f1b4 invocation function for block in dyld4::APIs::findImageMappedAt(void const*, dyld3::MachOLoaded const**, bool*, char const**, void const**, unsigned long long*, unsigned char*, dyld4::Loader const**) + 121
7    dyld_sim                  0x000006942 dyld4::RuntimeLocks::withLoadersReadLock(void () block_pointer) + 46
8    dyld_sim                  0x00001f07c dyld4::APIs::findImageMappedAt(void const*, dyld3::MachOLoaded const**, bool*, char const**, void const**, unsigned long long*, unsigned char*, dyld4::Loader const**) + 624
9    dyld_sim                  0x000021929 dyld4::APIs::_dyld_find_unwind_sections(void*, dyld_unwind_sections*) + 109
10   libunwind.dylib           0x000002f0a libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::setInfoBasedOnIPRegister(bool) + 90
11   libunwind.dylib           0x00000599a libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::step(bool) + 1962
12   libunwind.dylib           0x0000076bf _Unwind_RaiseException + 303
13   libc++abi.dylib           0x000012964 __cxa_rethrow_primary_exception + 103
14   libc++.1.dylib            0x00000b831 std::rethrow_exception(std::exception_ptr) + 12
15   ???                       0x1991933dd ???
16   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
17   libc++abi.dylib           0x00000fa86 std::terminate() + 54
18   ???                       0x1991933dd ???
19   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
20   libc++abi.dylib           0x00000fa86 std::terminate() + 54
21   ???                       0x1991933dd ???
22   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
23   libc++abi.dylib           0x00000fa86 std::terminate() + 54
24   ???                       0x1991933dd ???
25   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
26   libc++abi.dylib           0x00000fa86 std::terminate() + 54
27   ???                       0x1991933dd ???
28   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
29   libc++abi.dylib           0x00000fa86 std::terminate() + 54
30   ???                       0x1991933dd ???
31   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
32   libc++abi.dylib           0x00000fa86 std::terminate() + 54
33   ???                       0x1991933dd ???
34   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
35   libc++abi.dylib           0x00000fa86 std::terminate() + 54
36   ???                       0x1991933dd ???
37   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
38   libc++abi.dylib           0x00000fa86 std::terminate() + 54
39   ???                       0x1991933dd ???
40   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
41   libc++abi.dylib           0x00000fa86 std::terminate() + 54
42   ???                       0x1991933dd ???
43   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
44   libc++abi.dylib           0x00000fa86 std::terminate() + 54
45   ???                       0x1991933dd ???
46   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
47   libc++abi.dylib           0x00000fa86 std::terminate() + 54
48   ???                       0x1991933dd ???
49   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
50   libc++abi.dylib           0x00000fa86 std::terminate() + 54
51   ???                       0x1991933dd ???
52   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
53   libc++abi.dylib           0x00000fa86 std::terminate() + 54
54   ???                       0x1991933dd ???
55   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
56   libc++abi.dylib           0x00000fa86 std::terminate() + 54
57   ???                       0x1991933dd ???
58   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
59   libc++abi.dylib           0x00000fa86 std::terminate() + 54
60   ???                       0x1991933dd ???
61   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
62   libc++abi.dylib           0x00000fa86 std::terminate() + 54
63   ???                       0x1991933dd ???
64   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
65   libc++abi.dylib           0x00000fa86 std::terminate() + 54
66   ???                       0x1991933dd ???
67   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
68   libc++abi.dylib           0x00000fa86 std::terminate() + 54
69   ???                       0x1991933dd ???
70   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
71   libc++abi.dylib           0x00000fa86 std::terminate() + 54
72   ???                       0x1991933dd ???
73   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
74   libc++abi.dylib           0x00000fa86 std::terminate() + 54
75   ???                       0x1991933dd ???
76   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
77   libc++abi.dylib           0x00000fa86 std::terminate() + 54
78   ???                       0x1991933dd ???
79   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
80   libc++abi.dylib           0x00000fa86 std::terminate() + 54
81   ???                       0x1991933dd ???
82   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
83   libc++abi.dylib           0x00000fa86 std::terminate() + 54
84   ???                       0x1991933dd ???
85   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
86   libc++abi.dylib           0x00000fa86 std::terminate() + 54
87   ???                       0x1991933dd ???
88   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
89   libc++abi.dylib           0x00000fa86 std::terminate() + 54
90   ???                       0x1991933dd ???
91   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
92   libc++abi.dylib           0x00000fa86 std::terminate() + 54
93   ???                       0x1991933dd ???
94   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
95   libc++abi.dylib           0x00000fa86 std::terminate() + 54
96   ???                       0x1991933dd ???
97   libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
98   libc++abi.dylib           0x00000fa86 std::terminate() + 54
99   ???                       0x1991933dd ???
100  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
101  libc++abi.dylib           0x00000fa86 std::terminate() + 54
102  ???                       0x1991933dd ???
103  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
104  libc++abi.dylib           0x00000fa86 std::terminate() + 54
105  ???                       0x1991933dd ???
106  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
107  libc++abi.dylib           0x00000fa86 std::terminate() + 54
108  ???                       0x1991933dd ???
109  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
110  libc++abi.dylib           0x00000fa86 std::terminate() + 54
111  ???                       0x1991933dd ???
112  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
113  libc++abi.dylib           0x00000fa86 std::terminate() + 54
114  ???                       0x1991933dd ???
115  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
116  libc++abi.dylib           0x00000fa86 std::terminate() + 54
117  ???                       0x1991933dd ???
118  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
119  libc++abi.dylib           0x00000fa86 std::terminate() + 54
120  ???                       0x1991933dd ???
121  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
122  libc++abi.dylib           0x00000fa86 std::terminate() + 54
123  ???                       0x1991933dd ???
124  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
125  libc++abi.dylib           0x00000fa86 std::terminate() + 54
126  ???                       0x1991933dd ???
127  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
128  libc++abi.dylib           0x00000fa86 std::terminate() + 54
129  ???                       0x1991933dd ???
130  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
131  libc++abi.dylib           0x00000fa86 std::terminate() + 54
132  ???                       0x1991933dd ???
133  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
134  libc++abi.dylib           0x00000fa86 std::terminate() + 54
135  ???                       0x1991933dd ???
136  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
137  libc++abi.dylib           0x00000fa86 std::terminate() + 54
138  ???                       0x1991933dd ???
139  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
140  libc++abi.dylib           0x00000fa86 std::terminate() + 54
141  ???                       0x1991933dd ???
142  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
143  libc++abi.dylib           0x00000fa86 std::terminate() + 54
144  ???                       0x1991933dd ???
145  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
146  libc++abi.dylib           0x00000fa86 std::terminate() + 54
147  ???                       0x1991933dd ???
148  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
149  libc++abi.dylib           0x00000fa86 std::terminate() + 54
150  ???                       0x1991933dd ???
151  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
152  libc++abi.dylib           0x00000fa86 std::terminate() + 54
153  ???                       0x1991933dd ???
154  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
155  libc++abi.dylib           0x00000fa86 std::terminate() + 54
156  ???                       0x1991933dd ???
157  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
158  libc++abi.dylib           0x00000fa86 std::terminate() + 54
159  ???                       0x1991933dd ???
160  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
161  libc++abi.dylib           0x00000fa86 std::terminate() + 54
162  ???                       0x1991933dd ???
163  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
164  libc++abi.dylib           0x00000fa86 std::terminate() + 54
165  ???                       0x1991933dd ???
166  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
167  libc++abi.dylib           0x00000fa86 std::terminate() + 54
168  ???                       0x1991933dd ???
169  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
170  libc++abi.dylib           0x00000fa86 std::terminate() + 54
171  ???                       0x1991933dd ???
172  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
173  libc++abi.dylib           0x00000fa86 std::terminate() + 54
174  ???                       0x1991933dd ???
175  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
176  libc++abi.dylib           0x00000fa86 std::terminate() + 54
177  ???                       0x1991933dd ???
178  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
179  libc++abi.dylib           0x00000fa86 std::terminate() + 54
180  ???                       0x1991933dd ???
181  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
182  libc++abi.dylib           0x00000fa86 std::terminate() + 54
183  ???                       0x1991933dd ???
184  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
185  libc++abi.dylib           0x00000fa86 std::terminate() + 54
186  ???                       0x1991933dd ???
187  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
188  libc++abi.dylib           0x00000fa86 std::terminate() + 54
189  ???                       0x1991933dd ???
190  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
191  libc++abi.dylib           0x00000fa86 std::terminate() + 54
192  ???                       0x1991933dd ???
193  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
194  libc++abi.dylib           0x00000fa86 std::terminate() + 54
195  ???                       0x1991933dd ???
196  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
197  libc++abi.dylib           0x00000fa86 std::terminate() + 54
198  ???                       0x1991933dd ???
199  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
200  libc++abi.dylib           0x00000fa86 std::terminate() + 54
201  ???                       0x1991933dd ???
202  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
203  libc++abi.dylib           0x00000fa86 std::terminate() + 54
204  ???                       0x1991933dd ???
205  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
206  libc++abi.dylib           0x00000fa86 std::terminate() + 54
207  ???                       0x1991933dd ???
208  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
209  libc++abi.dylib           0x00000fa86 std::terminate() + 54
210  ???                       0x1991933dd ???
211  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
212  libc++abi.dylib           0x00000fa86 std::terminate() + 54
213  ???                       0x1991933dd ???
214  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
215  libc++abi.dylib           0x00000fa86 std::terminate() + 54
216  ???                       0x1991933dd ???
217  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
218  libc++abi.dylib           0x00000fa86 std::terminate() + 54
219  ???                       0x1991933dd ???
220  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
221  libc++abi.dylib           0x00000fa86 std::terminate() + 54
222  ???                       0x1991933dd ???
223  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
224  libc++abi.dylib           0x00000fa86 std::terminate() + 54
225  ???                       0x1991933dd ???
226  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
227  libc++abi.dylib           0x00000fa86 std::terminate() + 54
228  ???                       0x1991933dd ???
229  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
230  libc++abi.dylib           0x00000fa86 std::terminate() + 54
231  ???                       0x1991933dd ???
232  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
233  libc++abi.dylib           0x00000fa86 std::terminate() + 54
234  ???                       0x1991933dd ???
235  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
236  libc++abi.dylib           0x00000fa86 std::terminate() + 54
237  ???                       0x1991933dd ???
238  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
239  libc++abi.dylib           0x00000fa86 std::terminate() + 54
240  ???                       0x1991933dd ???
241  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
242  libc++abi.dylib           0x00000fa86 std::terminate() + 54
243  ???                       0x1991933dd ???
244  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
245  libc++abi.dylib           0x00000fa86 std::terminate() + 54
246  ???                       0x1991933dd ???
247  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
248  libc++abi.dylib           0x00000fa86 std::terminate() + 54
249  ???                       0x1991933dd ???
250  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
251  libc++abi.dylib           0x00000fa86 std::terminate() + 54
252  ???                       0x1991933dd ???
253  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
254  libc++abi.dylib           0x00000fa86 std::terminate() + 54
255  ???                       0x1991933dd ???
256  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
257  libc++abi.dylib           0x00000fa86 std::terminate() + 54
258  ???                       0x1991933dd ???
259  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
260  libc++abi.dylib           0x00000fa86 std::terminate() + 54
261  ???                       0x1991933dd ???
262  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
263  libc++abi.dylib           0x00000fa86 std::terminate() + 54
264  ???                       0x1991933dd ???
265  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
266  libc++abi.dylib           0x00000fa86 std::terminate() + 54
267  ???                       0x1991933dd ???
268  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
269  libc++abi.dylib           0x00000fa86 std::terminate() + 54
270  ???                       0x1991933dd ???
271  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
272  libc++abi.dylib           0x00000fa86 std::terminate() + 54
273  ???                       0x1991933dd ???
274  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
275  libc++abi.dylib           0x00000fa86 std::terminate() + 54
276  ???                       0x1991933dd ???
277  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
278  libc++abi.dylib           0x00000fa86 std::terminate() + 54
279  ???                       0x1991933dd ???
280  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
281  libc++abi.dylib           0x00000fa86 std::terminate() + 54
282  ???                       0x1991933dd ???
283  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
284  libc++abi.dylib           0x00000fa86 std::terminate() + 54
285  ???                       0x1991933dd ???
286  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
287  libc++abi.dylib           0x00000fa86 std::terminate() + 54
288  ???                       0x1991933dd ???
289  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
290  libc++abi.dylib           0x00000fa86 std::terminate() + 54
291  ???                       0x1991933dd ???
292  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
293  libc++abi.dylib           0x00000fa86 std::terminate() + 54
294  ???                       0x1991933dd ???
295  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
296  libc++abi.dylib           0x00000fa86 std::terminate() + 54
297  ???                       0x1991933dd ???
298  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
299  libc++abi.dylib           0x00000fa86 std::terminate() + 54
300  ???                       0x1991933dd ???
301  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
302  libc++abi.dylib           0x00000fa86 std::terminate() + 54
303  ???                       0x1991933dd ???
304  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
305  libc++abi.dylib           0x00000fa86 std::terminate() + 54
306  ???                       0x1991933dd ???
307  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
308  libc++abi.dylib           0x00000fa86 std::terminate() + 54
309  ???                       0x1991933dd ???
310  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
311  libc++abi.dylib           0x00000fa86 std::terminate() + 54
312  ???                       0x1991933dd ???
313  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
314  libc++abi.dylib           0x00000fa86 std::terminate() + 54
315  ???                       0x1991933dd ???
316  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
317  libc++abi.dylib           0x00000fa86 std::terminate() + 54
318  ???                       0x1991933dd ???
319  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
320  libc++abi.dylib           0x00000fa86 std::terminate() + 54
321  ???                       0x1991933dd ???
322  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
323  libc++abi.dylib           0x00000fa86 std::terminate() + 54
324  ???                       0x1991933dd ???
325  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
326  libc++abi.dylib           0x00000fa86 std::terminate() + 54
327  ???                       0x1991933dd ???
328  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
329  libc++abi.dylib           0x00000fa86 std::terminate() + 54
330  ???                       0x1991933dd ???
331  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
332  libc++abi.dylib           0x00000fa86 std::terminate() + 54
333  ???                       0x1991933dd ???
334  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
335  libc++abi.dylib           0x00000fa86 std::terminate() + 54
336  ???                       0x1991933dd ???
337  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
338  libc++abi.dylib           0x00000fa86 std::terminate() + 54
339  ???                       0x1991933dd ???
340  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
341  libc++abi.dylib           0x00000fa86 std::terminate() + 54
342  ???                       0x1991933dd ???
343  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
344  libc++abi.dylib           0x00000fa86 std::terminate() + 54
345  ???                       0x1991933dd ???
346  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
347  libc++abi.dylib           0x00000fa86 std::terminate() + 54
348  ???                       0x1991933dd ???
349  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
350  libc++abi.dylib           0x00000fa86 std::terminate() + 54
351  ???                       0x1991933dd ???
352  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
353  libc++abi.dylib           0x00000fa86 std::terminate() + 54
354  ???                       0x1991933dd ???
355  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
356  libc++abi.dylib           0x00000fa86 std::terminate() + 54
357  ???                       0x1991933dd ???
358  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
359  libc++abi.dylib           0x00000fa86 std::terminate() + 54
360  ???                       0x1991933dd ???
361  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
362  libc++abi.dylib           0x00000fa86 std::terminate() + 54
363  ???                       0x1991933dd ???
364  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
365  libc++abi.dylib           0x00000fa86 std::terminate() + 54
366  ???                       0x1991933dd ???
367  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
368  libc++abi.dylib           0x00000fa86 std::terminate() + 54
369  ???                       0x1991933dd ???
370  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
371  libc++abi.dylib           0x00000fa86 std::terminate() + 54
372  ???                       0x1991933dd ???
373  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
374  libc++abi.dylib           0x00000fa86 std::terminate() + 54
375  ???                       0x1991933dd ???
376  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
377  libc++abi.dylib           0x00000fa86 std::terminate() + 54
378  ???                       0x1991933dd ???
379  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
380  libc++abi.dylib           0x00000fa86 std::terminate() + 54
381  ???                       0x1991933dd ???
382  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
383  libc++abi.dylib           0x00000fa86 std::terminate() + 54
384  ???                       0x1991933dd ???
385  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
386  libc++abi.dylib           0x00000fa86 std::terminate() + 54
387  ???                       0x1991933dd ???
388  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
389  libc++abi.dylib           0x00000fa86 std::terminate() + 54
390  ???                       0x1991933dd ???
391  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
392  libc++abi.dylib           0x00000fa86 std::terminate() + 54
393  ???                       0x1991933dd ???
394  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
395  libc++abi.dylib           0x00000fa86 std::terminate() + 54
396  ???                       0x1991933dd ???
397  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
398  libc++abi.dylib           0x00000fa86 std::terminate() + 54
399  ???                       0x1991933dd ???
400  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
401  libc++abi.dylib           0x00000fa86 std::terminate() + 54
402  ???                       0x1991933dd ???
403  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
404  libc++abi.dylib           0x00000fa86 std::terminate() + 54
405  ???                       0x1991933dd ???
406  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
407  libc++abi.dylib           0x00000fa86 std::terminate() + 54
408  ???                       0x1991933dd ???
409  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
410  libc++abi.dylib           0x00000fa86 std::terminate() + 54
411  ???                       0x1991933dd ???
412  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
413  libc++abi.dylib           0x00000fa86 std::terminate() + 54
414  ???                       0x1991933dd ???
415  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
416  libc++abi.dylib           0x00000fa86 std::terminate() + 54
417  ???                       0x1991933dd ???
418  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
419  libc++abi.dylib           0x00000fa86 std::terminate() + 54
420  ???                       0x1991933dd ???
421  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
422  libc++abi.dylib           0x00000fa86 std::terminate() + 54
423  ???                       0x1991933dd ???
424  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
425  libc++abi.dylib           0x00000fa86 std::terminate() + 54
426  ???                       0x1991933dd ???
427  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
428  libc++abi.dylib           0x00000fa86 std::terminate() + 54
429  ???                       0x1991933dd ???
430  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
431  libc++abi.dylib           0x00000fa86 std::terminate() + 54
432  ???                       0x1991933dd ???
433  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
434  libc++abi.dylib           0x00000fa86 std::terminate() + 54
435  ???                       0x1991933dd ???
436  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
437  libc++abi.dylib           0x00000fa86 std::terminate() + 54
438  ???                       0x1991933dd ???
439  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
440  libc++abi.dylib           0x00000fa86 std::terminate() + 54
441  ???                       0x1991933dd ???
442  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
443  libc++abi.dylib           0x00000fa86 std::terminate() + 54
444  ???                       0x1991933dd ???
445  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
446  libc++abi.dylib           0x00000fa86 std::terminate() + 54
447  ???                       0x1991933dd ???
448  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
449  libc++abi.dylib           0x00000fa86 std::terminate() + 54
450  ???                       0x1991933dd ???
451  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
452  libc++abi.dylib           0x00000fa86 std::terminate() + 54
453  ???                       0x1991933dd ???
454  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
455  libc++abi.dylib           0x00000fa86 std::terminate() + 54
456  ???                       0x1991933dd ???
457  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
458  libc++abi.dylib           0x00000fa86 std::terminate() + 54
459  ???                       0x1991933dd ???
460  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
461  libc++abi.dylib           0x00000fa86 std::terminate() + 54
462  ???                       0x1991933dd ???
463  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
464  libc++abi.dylib           0x00000fa86 std::terminate() + 54
465  ???                       0x1991933dd ???
466  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
467  libc++abi.dylib           0x00000fa86 std::terminate() + 54
468  ???                       0x1991933dd ???
469  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
470  libc++abi.dylib           0x00000fa86 std::terminate() + 54
471  ???                       0x1991933dd ???
472  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
473  libc++abi.dylib           0x00000fa86 std::terminate() + 54
474  ???                       0x1991933dd ???
475  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
476  libc++abi.dylib           0x00000fa86 std::terminate() + 54
477  ???                       0x1991933dd ???
478  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
479  libc++abi.dylib           0x00000fa86 std::terminate() + 54
480  ???                       0x1991933dd ???
481  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
482  libc++abi.dylib           0x00000fa86 std::terminate() + 54
483  ???                       0x1991933dd ???
484  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
485  libc++abi.dylib           0x00000fa86 std::terminate() + 54
486  ???                       0x1991933dd ???
487  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
488  libc++abi.dylib           0x00000fa86 std::terminate() + 54
489  ???                       0x1991933dd ???
490  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
491  libc++abi.dylib           0x00000fa86 std::terminate() + 54
492  ???                       0x1991933dd ???
493  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
494  libc++abi.dylib           0x00000fa86 std::terminate() + 54
495  ???                       0x1991933dd ???
496  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
497  libc++abi.dylib           0x00000fa86 std::terminate() + 54
498  ???                       0x1991933dd ???
499  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
500  libc++abi.dylib           0x00000fa86 std::terminate() + 54
501  ???                       0x1991933dd ???
502  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
503  libc++abi.dylib           0x00000fa86 std::terminate() + 54
504  ???                       0x1991933dd ???
505  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
506  libc++abi.dylib           0x00000fa86 std::terminate() + 54
507  ???                       0x1991933dd ???
508  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6
509  libc++abi.dylib           0x00000fa86 std::terminate() + 54
510  ???                       0x1991933dd ???
511  libc++abi.dylib           0x00000facb std::__terminate(void (*)()) + 6

Binary Images:
       0x10c204000 dyld <4d52bd1e-6a0e-31db-b564-9e2029fdcd6f> /usr/lib/dyld
       0x10b647000 XCPreviewAgent <db7eba08-cc87-3f74-a9ca-09293e4cdb52> /Users/USER/Library/Developer/Xcode/UserData/Previews/Simulator Devices/A3A29B24-1407-4EF5-B577-2A9706BF1C0B/data/Containers/Bundle/Application/6A23CF9C-06B1-4B3A-8D7D-2727A2EA0634/XCPreviewAgent.app/XCPreviewAgent
       0x10b7fc000 dyld_sim <28d7aa1d-3d9f-3ded-9076-6e3e37adc574> /Volumes/VOLUME/*/dyld_sim
       0x10b6c5000 libLogRedirect.dylib <69f4f74b-c50f-3166-8cac-baf8979a22a3> /Volumes/VOLUME/*/libLogRedirect.dylib
       0x10b6a3000 libsystem_platform.dylib <99ed579c-5be6-3fbd-85d3-fe4dd2121de0> /usr/lib/system/libsystem_platform.dylib
       0x10b754000 libsystem_kernel.dylib <1b806694-216b-3869-9a82-0094a1ad6ba0> /usr/lib/system/libsystem_kernel.dylib
       0x10b6d4000 libsystem_pthread.dylib <ba536cd2-1b67-33bb-ab33-73949260c730> /usr/lib/system/libsystem_pthread.dylib
       0x10bd69000 libobjc-trampolines.dylib <51a8d30b-c876-32bb-80db-d2f9dce00215> /Volumes/VOLUME/*/libobjc-trampolines.dylib
       0x7ffa13ec5000 libunwind.dylib <28835628-4372-3306-a3cd-9ddaeeadaeab> /Volumes/VOLUME/*/libunwind.dylib
       0x7ff8002b1000 libc++abi.dylib <1fd371d0-1703-3d2b-a32f-6bf21056aa08> /Volumes/VOLUME/*/libc++abi.dylib
       0x7ff8002fc000 libc++.1.dylib <654825fe-889a-32a3-a7ff-bd29f410eb4b> /Volumes/VOLUME/*/libc++.1.dylib
       0x000000000 ??? <00000000-0000-0000-0000-000000000000> ???
       0x7ff800068000 libobjc.A.dylib <10fcfbe7-cffa-3467-9ef0-376205bbfd72> /Volumes/VOLUME/*/libobjc.A.dylib
       0x7ff80017c000 libdispatch.dylib <fa32b4b4-f934-3808-a868-3b2a84624a45> /Volumes/VOLUME/*/libdispatch.dylib
       0x7ffc0ee10000 XOJITExecutor <14bddb6c-4217-33fb-b4d0-7dc1e02b41a9> /Volumes/VOLUME/*/XOJITExecutor.framework/XOJITExecutor
       0x7ff80039d000 CoreFoundation <c25c5536-ba7b-3301-b3ac-90d7d30a11d6> /Volumes/VOLUME/*/CoreFoundation.framework/CoreFoundation
       0x7ff800794000 Foundation <3177a4aa-6929-358c-9f4d-7034a0306258> /Volumes/VOLUME/*/Foundation.framework/Foundation
       0x7ff80516e000 UIKitCore <514d8e78-fd7b-30e2-abb6-0bcc06a5569a> /Volumes/VOLUME/*/UIKitCore.framework/UIKitCore

EOF

== VERSION INFO:

Tools: 16B40
OS:    24B83
PID:   94783
Model: iMac
Arch:  x86_64h

== ENVIRONMENT:

openFiles = [
    /Users/avs149/AndroidStudioProjects/MultiModuleIosSample/iosApp/Infrastructure/Infrastructure/TestView.swift
]
wantsNewBuildSystem = true
newBuildSystemAvailable = true
activeScheme = Infrastructure
activeRunDestination = 16 pro eeeeepta variant iphonesimulator x86_64
workspaceArena = [x]
buildArena = [x]
buildableEntries = [
    Infrastructure.framework
]
runMode = JIT Executor

== SELECTED RUN DESTINATION:

Simulator - iOS 18.1 | iphonesimulator | x86_64 | iPhone 16 Pro | no proxy

== EXECUTION MODE OVERRIDES:

Workspace JIT mode user setting: true
Falling back to Dynamic Replacement: false

== PACKAGE RESOLUTION ERRORS:

== REFERENCED SOURCE PACKAGES:

== JIT LINKAGE:

Run Destination: 7E6DFFDC-8E1B-4F37-8EAB-DCC6A1BFE77C-iphonesimulator18.1-x86_64-iphonesimulator
JIT Link Description {
    3:Infrastructure.framework
}

== SESSION GROUP 4596:

workspace identifier: WorkspaceIdentifier(identifier: 5B1D1F34-4493-4F71-BB5E-7D9666B20D70)
providers: [
    Preview Provider | Registry-TestView.swift#1[preview] [Editor(4229)]
]
translation units: [
    /Users/avs149/AndroidStudioProjects/MultiModuleIosSample/iosApp/Infrastructure/Infrastructure/TestView.swift
]
attributes: [
    Editor(4229):     
        isAppPreviewEnabled: false
        destinationMode: automatic
        previewSettings: [
            Registry-TestView.swift#1[preview]:     isEnabled: true
                boxedCanvasControlStates: []
        ]
]
session: 4601
request sessions: [
    Registry[Registry-TestView.swift#1[preview] (line 27)]: not completed
]

== UPDATE SESSION 4601:

Start Date: Thursday, 14 November 2024 at 12:19:25 Moscow Standard Time
Preview Preflight {
    UpdaterStore {
        updaterLimit: single
        expectedAbandonedIdentifiers: [4613, 4291, 4357]
    }
    Simulator {
        platform: iphonesimulator
        device: A3A29B24-1407-4EF5-B577-2A9706BF1C0B iPhone 16 Pro
        buildNumber: 22B81
        runtimePath: /Library/Developer/CoreSimulator/Volumes/iOS_22B81/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.1.simruntime
    }
    pid: 96912
    host bundle: 
    previews.com.apple.PreviewAgent.iOS {
        url: file:///Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/XCPreviewAgent.app
        version: 22.10.12
        attributes: [
            AppExtensionIdentifierPreviewAttributeKey: nil,
            LaunchConfigEnvironmentVariablesPreviewAttributesKey: ["DYLD_FRAMEWORK_PATH": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "CFLOG_FORCE_DISABLE_STDERR": "1", "IDE_DISABLED_OS_ACTIVITY_DT_MODE": "1", "SQLITE_ENABLE_THREAD_ASSERTIONS": "1", "__XPC_DYLD_LIBRARY_PATH": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "TERM": "dumb", "PACKAGE_RESOURCE_BUNDLE_PATH": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "OS_ACTIVITY_TOOLS_PRIVACY": "YES", "OS_LOG_TRANSLATE_PRINT_MODE": "0x80", "OS_LOG_DT_HOOK_MODE": "0x07", "DYLD_LIBRARY_PATH": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "OS_ACTIVITY_TOOLS_OVERSIZE": "YES", "__XCODE_BUILT_PRODUCTS_DIR_PATHS": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "__XPC_DYLD_FRAMEWORK_PATH": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "DYLD_INSERT_LIBRARIES": "/Library/Developer/CoreSimulator/Volumes/iOS_22B81/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libLogRedirect.dylib", "OS_LOG_DT_HOOK_PREFIX": "OSLOG-9C05FE38-43CE-42AB-ABC0-D628C21FB67D"],
            AgentRunModeKey: JIT Executor,
        ]
    }
    builtTargetDescriptions: Build Logs/ResolvedBuiltTargetDescriptions-request-1-previews.com.apple.PreviewAgent.iOS.txt
}
Preview Provider {
    UpdaterStore {
        updaterLimit: single
        expectedAbandonedIdentifiers: [4613, 4291, 4357]
    }
    Simulator {
        platform: iphonesimulator
        device: A3A29B24-1407-4EF5-B577-2A9706BF1C0B iPhone 16 Pro
        buildNumber: 22B81
        runtimePath: /Library/Developer/CoreSimulator/Volumes/iOS_22B81/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.1.simruntime
    }
    pid: 96912
    host bundle: 
    previews.com.apple.PreviewAgent.iOS {
        url: file:///Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/XCPreviewAgent.app
        version: 22.10.12
        attributes: [
            AppExtensionIdentifierPreviewAttributeKey: nil,
            LaunchConfigEnvironmentVariablesPreviewAttributesKey: ["DYLD_FRAMEWORK_PATH": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "CFLOG_FORCE_DISABLE_STDERR": "1", "IDE_DISABLED_OS_ACTIVITY_DT_MODE": "1", "SQLITE_ENABLE_THREAD_ASSERTIONS": "1", "__XPC_DYLD_LIBRARY_PATH": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "TERM": "dumb", "PACKAGE_RESOURCE_BUNDLE_PATH": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "OS_ACTIVITY_TOOLS_PRIVACY": "YES", "OS_LOG_TRANSLATE_PRINT_MODE": "0x80", "OS_LOG_DT_HOOK_MODE": "0x07", "DYLD_LIBRARY_PATH": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "OS_ACTIVITY_TOOLS_OVERSIZE": "YES", "__XCODE_BUILT_PRODUCTS_DIR_PATHS": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "__XPC_DYLD_FRAMEWORK_PATH": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "DYLD_INSERT_LIBRARIES": "/Library/Developer/CoreSimulator/Volumes/iOS_22B81/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libLogRedirect.dylib", "OS_LOG_DT_HOOK_PREFIX": "OSLOG-9C05FE38-43CE-42AB-ABC0-D628C21FB67D"],
            AgentRunModeKey: JIT Executor,
        ]
    }
    builtTargetDescriptions: Build Logs/ResolvedBuiltTargetDescriptions-request-2-previews.com.apple.PreviewAgent.iOS.txt
}
Build Graph {
    Infrastructure.framework (#3)
       sourceFile(file:///Users/avs149/AndroidStudioProjects/MultiModuleIosSample/iosApp/Infrastructure/Infrastructure/TestView.swift -> TestView.swift) (#1)
       TestView.swift (#2)
}
Update Plan {
    iOS [x86_64 iphonesimulator18.1 iphonesimulator] (iPhone 16 Pro, 7E6DFFDC-8E1B-4F37-8EAB-DCC6A1BFE77C-iphonesimulator18.1-x86_64-iphonesimulator), [], thinning disabled, thunking enabled) {
        Destination: iPhone 16 Pro 7E6DFFDC-8E1B-4F37-8EAB-DCC6A1BFE77C | default device for iphonesimulator [
            Framework Agent - Previews {
                execution point packs [
                    [source: TestView.swift, role: Previews] (in Infrastructure)
                ]
                translation units [
                    TestView.swift (in Infrastructure.framework)
                ]
                loadable products [
                    Description(buildableName: "Infrastructure.framework", moduleName: "Infrastructure")
                ]
                modules [
                    Infrastructure.framework
                ]
                jit link description [
                    Infrastructure.framework
                ]
            }
        ]
    }
}

== UPDATE SESSION 4651:

Start Date: Thursday, 14 November 2024 at 12:20:04 Moscow Standard Time
Preview.RegistryPreview {
    UpdaterStore {
        updaterLimit: single
        expectedAbandonedIdentifiers: [4613, 4291, 4357]
    }
    Simulator {
        platform: iphonesimulator
        device: A3A29B24-1407-4EF5-B577-2A9706BF1C0B iPhone 16 Pro
        buildNumber: 22B81
        runtimePath: /Library/Developer/CoreSimulator/Volumes/iOS_22B81/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.1.simruntime
    }
    pid: 96912
    host bundle: 
    previews.com.apple.PreviewAgent.iOS {
        url: file:///Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/XCPreviewAgent.app
        version: 22.10.12
        attributes: [
            AppExtensionIdentifierPreviewAttributeKey: nil,
            LaunchConfigEnvironmentVariablesPreviewAttributesKey: ["DYLD_FRAMEWORK_PATH": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "CFLOG_FORCE_DISABLE_STDERR": "1", "IDE_DISABLED_OS_ACTIVITY_DT_MODE": "1", "SQLITE_ENABLE_THREAD_ASSERTIONS": "1", "__XPC_DYLD_LIBRARY_PATH": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "TERM": "dumb", "PACKAGE_RESOURCE_BUNDLE_PATH": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "OS_ACTIVITY_TOOLS_PRIVACY": "YES", "OS_LOG_TRANSLATE_PRINT_MODE": "0x80", "OS_LOG_DT_HOOK_MODE": "0x07", "DYLD_LIBRARY_PATH": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "OS_ACTIVITY_TOOLS_OVERSIZE": "YES", "__XCODE_BUILT_PRODUCTS_DIR_PATHS": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "__XPC_DYLD_FRAMEWORK_PATH": "/Users/avs149/Library/Developer/Xcode/DerivedData/iosAppModules-grenefhcswedercvhrugobmrdymn/Build/Products/Debug-iphonesimulator", "DYLD_INSERT_LIBRARIES": "/Library/Developer/CoreSimulator/Volumes/iOS_22B81/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libLogRedirect.dylib", "OS_LOG_DT_HOOK_PREFIX": "OSLOG-9C05FE38-43CE-42AB-ABC0-D628C21FB67D"],
            AgentRunModeKey: JIT Executor,
        ]
    }
    builtTargetDescriptions: Build Logs/ResolvedBuiltTargetDescriptions-request-1-previews.com.apple.PreviewAgent.iOS.txt
}
Build Graph {
    Infrastructure.framework (#3)
       sourceFile(file:///Users/avs149/AndroidStudioProjects/MultiModuleIosSample/iosApp/Infrastructure/Infrastructure/TestView.swift -> TestView.swift) (#1)
       TestView.swift (#2)
}
Update Plan {
    iOS [x86_64 iphonesimulator18.1 iphonesimulator] (iPhone 16 Pro, 7E6DFFDC-8E1B-4F37-8EAB-DCC6A1BFE77C-iphonesimulator18.1-x86_64-iphonesimulator), [], thinning disabled, thunking enabled) {
        Destination: iPhone 16 Pro 7E6DFFDC-8E1B-4F37-8EAB-DCC6A1BFE77C | default device for iphonesimulator [
            Framework Agent - Previews {
                execution point packs [
                    [source: TestView.swift, role: Previews, domain: application] (in Infrastructure)
                ]
                translation units [
                    TestView.swift (in Infrastructure.framework)
                ]
                loadable products [
                    Description(buildableName: "Infrastructure.framework", moduleName: "Infrastructure")
                ]
                modules [
                    Infrastructure.framework
                ]
                jit link description [
                    Infrastructure.framework
                ]
            }
        ]
    }
}

== POWER STATE LOGS:

14.11.2024, 12:16 Received power source state: Externally Powered
14.11.2024, 12:16 No device power state user override user default value.Current power state: Full Power

@Alex009 Alex009 assigned Alex009 and unassigned ExNDY Nov 14, 2024
@MAX-POLKOVNIK
Copy link

@TemaTerbi Found your project on github thanks!
After downloading I can't compile it, so I little bit modified it and got your error.
Master branch doesn't have file like in my project so I added it.
Rebuild ios app to force Framework rebuild.
And it works...

image

Updated project -
Multi-Module-Ios-Sample-master.zip

@TemaTerbi
Copy link

@MAX-POLKOVNIK OMG!!!!

Is finally working!!!!!!! Thank you very match, u are my super hero)))))

@Alex009 could this particular workaround help resolve the issues?

Alex009 added a commit that referenced this issue Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants