Post

Replies

Boosts

Views

Activity

Reply to Upgrading to iPadOS 17 running RoomPlan gets exception on call to Rendering.
Actually I tracked it to the initial processing of the Room Capture view class and there are NEW methods that get the errors and they are related to the NSCoder/NSDecoder methhods invoked . I can consitently reproduce the errors using the Out of the Box Room Plan demo from WWDC. I submitted a bug report via the. feedback mechanism from IOS18 Beta 4 after noticing a pattern of behavior stepping the base demo kit through the initiation processing 30+ times where I saw two patterns
Jul ’24
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.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’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
Topic: App & System Services SubTopic: General Tags:
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.
Topic: App & System Services SubTopic: General Tags:
Jun ’24