Post

Replies

Boosts

Views

Activity

Reply to Sample SwiftData project is unable to create bundle
For me, the error was first observed when running late IOS17 levels. If you look at the URL, the path is missing the host component from the URL resulting in a string for the url of "file:///System/Library/CoreServices..." which is an invalid URL construct due to a missing host component after the "file://". That is why you are seeing the error. The path you are seeing in the URL is on the Mac system driving the App on the iPhone and that path does not exist on the iPhone device. I have been trying to track down component that it originaties in. Ir you take a demo application and step through the AppDelegate.swift from the entry point, you get the error on the execution of the second line of the AppDelegate class initialization on the line that starts "var window". It consistently stops with the execution of that line. "@main class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { return true" it is any comfort I was seeing the error when running a GIS application on Microsoft systems too because of a scripting error in setting up the configurations on a multi host distribute application.
Jun ’24
Reply to Where can "SystemVersion.bundle" be found?
I found the answer to my own question. It turns out that the URL for data files was Malformed by the library routines. There. is no target Host available in the URL so it prepends a string of "///" to the directory path to the particular file being referenced on the foreign host. I seem to have missed setting up the info.plist configuration item that defines the HOST to be targeted for fetching the related file from the build machine or libraries. With all the Useless information that is dumped in the logs, I am surprised that there was NOT a diagnostic or warning about the Malformed URL missing the Host name from which to fetch the data
Jun ’24
Reply to Where can "SystemVersion.bundle" be found?
Yes it did. I chased the directory chain and found the bundle file that is being claimed as not present by the following lines Unable to create bundle at URL (file:///System/Library/CoreServices/SystemVersion.bundle): does not exist or not a directory (0) Unable to create bundle at URL (file:///System/Library/CoreServices/SystemVersion.bundle): does not exist or not a directory (0) Unable to create bundle at URL (file:///System/Library/CoreServices/SystemVersion.bundle): does not exist or not a directory (0). When I finally did find the bundle file, I looked into the contents of the package and it looked reasonable from what I had seen in other packages. Why is that message being presented by Xcode if the file exists? Is Xcode supposed to be running in some kind of privileged state on the Mac mini machine? Please explain how those privileges work.
Jun ’24
Reply to [CAMetalLayer nextDrawable] returning nil because allocation failed.
I tried cutting it back by commenting out all of my debug prints that I had. I still had errors. I moved up to IOS18 as recommended by an Apple support person to see if I could get more memory allocated. Then I ran afoul of the dreaded sandbox requirement that is being enforced. I am also getting errors from the IMU that say the data flow was less than normal and the tone of the message indicates it could be a hardware or delegate issue. Through what delegate is IMU data delivered?
Jun ’24
Reply to Where can "SystemVersion.bundle" be found?
This message is likely not "noise".Actually I would think that finding a resource identifying the current execution environment might be quite useful to identify services and resources that might be needed. Later in the initialization there are messages about use of the "Sandbox" settings of the application which had not shown up until the move up to the latest Mac and IOS betas. Errors I am seeing later in the execution of my modifications to RoomPlan seem to be tied to warning messages of this type for the purpose of resource usage
Jun ’24