Post

Replies

Boosts

Views

Activity

Comment on Xcode macOS app -Zero Metal services found
The Link for "swift gooses" code on GitHub is "swift_macos/TreeController/macos_outlineViewTreeController/" at master * SwiftGoose5. It turns out that I didn't follow "exactly" one step. When he begins to edit the "StoryBoard's ViewController window" he increases the size of it. I had left the default size of the StoryBoards ViewController window as it came in the default size when it created the App templates. Once I had increased it, it worked as he demonstrated. But I'm still getting the above "2021-09-04 18:07:05.120048-0700 treeview1[26152:1091160] MTLIOAccelDevice bad MetalPluginClassName property (null)" "2021-09-04 18:07:05.121482-0700 treeview1[26152:1091160] +[MTLIOAccelDevice registerDevices]: Zero Metal services found" From my implementation, where as in swift gooses, I don't see that error in the debug window. Very interesting. If you would like I can up load my code/project to GitHub/gitlab/etc, but first I'm going to have to figure out how to do that. Thanks - jrh69
Sep ’21
Comment on Xcode macOS app -Zero Metal services found
The Mac is a MacMini running an intel i7 with 32G ram. The OS version is Catalina 11.5.2. Xcode is 12.5.1. The tutorial video is on YouTube by "swift goose" at https://youtu.be/tG5GecFNmbQ. About the only thing I was unable to follow was when he set up Xcode create a new Xcode project. What I did was create a new Xcode project "Choose Template", macOS, and App then create project... I called it a different name, but otherwise the files and structure look identical. I've followed "swift goose's" video carefully four times now, and get the same results. It just doesn't display on the OutlineView window, and gives the above error. When I down load his code from "GitHub", it compiles and runs without the error. I've gone over pretty much everything on the StoryBoard, compiler settings, etc., etc., and they look the same. I'm going to try one more time creating a new project, but then copy/paste his files and use his StoryBoard, plists, etc.... I'd think maybe I have a corrupted Xcode environment, but then "swift gooses" code compiles and runs... ? I can tar ball and send my code to you if you want to give me an email or somewhere to send it too, but it might be a bit much to put here. (Your thoughts? Or should I just put it up here?, if it's an error on how Xcode is set, then just the code might not show the problem)... I'm a newbie to these forums and I don't know what's considered O.K. or not, or the amount of info? Thanks in advance - jrh69
Sep ’21
Comment on Xcode,"NavigatingHierarchicalDataUsingOutlineAndSplitViews", and the Apple FileManager?
Thanks Quinn, I'm using Xcode 12.5.1. Where in Signing & Capabilities in Xcode is the switch to turn SandBoxing for the app off? For now the app I'm playing with is only going to be used by me... I have a TCL/TK script that does exactly what I want, but I'd like to learn how to do it in Swift/Xcode and how to do things using the Apple Way. Thanks - Jim Specifically what I want to do is.... /Users/me/somedir/filex -> [application] -> /Users/me/~/Documents/somedir/filex.xyz (in iCould)..... and the inverse where the App performs some operation then stores it under ~/Documents/somedir... then can pull it out [application] -> /Users/me/some_non_iCoud_dir. I'd like to be able to do it with a Tree representation of the files.
Topic: Code Signing SubTopic: Entitlements Tags:
Aug ’21
Comment on Xcode macOS app -Zero Metal services found
O.K. I loaded my version... on GitHub at - jrhgoasic - Github-gitlab-etc treeview1
Replies
Boosts
Views
Activity
Sep ’21
Comment on Xcode macOS app -Zero Metal services found
The Link for "swift gooses" code on GitHub is "swift_macos/TreeController/macos_outlineViewTreeController/" at master * SwiftGoose5. It turns out that I didn't follow "exactly" one step. When he begins to edit the "StoryBoard's ViewController window" he increases the size of it. I had left the default size of the StoryBoards ViewController window as it came in the default size when it created the App templates. Once I had increased it, it worked as he demonstrated. But I'm still getting the above "2021-09-04 18:07:05.120048-0700 treeview1[26152:1091160] MTLIOAccelDevice bad MetalPluginClassName property (null)" "2021-09-04 18:07:05.121482-0700 treeview1[26152:1091160] +[MTLIOAccelDevice registerDevices]: Zero Metal services found" From my implementation, where as in swift gooses, I don't see that error in the debug window. Very interesting. If you would like I can up load my code/project to GitHub/gitlab/etc, but first I'm going to have to figure out how to do that. Thanks - jrh69
Replies
Boosts
Views
Activity
Sep ’21
Comment on Xcode macOS app -Zero Metal services found
The Mac is a MacMini running an intel i7 with 32G ram. The OS version is Catalina 11.5.2. Xcode is 12.5.1. The tutorial video is on YouTube by "swift goose" at https://youtu.be/tG5GecFNmbQ. About the only thing I was unable to follow was when he set up Xcode create a new Xcode project. What I did was create a new Xcode project "Choose Template", macOS, and App then create project... I called it a different name, but otherwise the files and structure look identical. I've followed "swift goose's" video carefully four times now, and get the same results. It just doesn't display on the OutlineView window, and gives the above error. When I down load his code from "GitHub", it compiles and runs without the error. I've gone over pretty much everything on the StoryBoard, compiler settings, etc., etc., and they look the same. I'm going to try one more time creating a new project, but then copy/paste his files and use his StoryBoard, plists, etc.... I'd think maybe I have a corrupted Xcode environment, but then "swift gooses" code compiles and runs... ? I can tar ball and send my code to you if you want to give me an email or somewhere to send it too, but it might be a bit much to put here. (Your thoughts? Or should I just put it up here?, if it's an error on how Xcode is set, then just the code might not show the problem)... I'm a newbie to these forums and I don't know what's considered O.K. or not, or the amount of info? Thanks in advance - jrh69
Replies
Boosts
Views
Activity
Sep ’21
Comment on Xcode,"NavigatingHierarchicalDataUsingOutlineAndSplitViews", and the Apple FileManager?
Thanks Quinn "The Eskimo!", you have been extremely helpful. Don't worry about the second part of the above, I now understand why that would cause problems with SandBoxing, and I need to read a bit more before I try to ask semi-intelligent questions. so I'll experiment some more.
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on Xcode,"NavigatingHierarchicalDataUsingOutlineAndSplitViews", and the Apple FileManager?
Thanks Quinn, I'm using Xcode 12.5.1. Where in Signing & Capabilities in Xcode is the switch to turn SandBoxing for the app off? For now the app I'm playing with is only going to be used by me... I have a TCL/TK script that does exactly what I want, but I'd like to learn how to do it in Swift/Xcode and how to do things using the Apple Way. Thanks - Jim Specifically what I want to do is.... /Users/me/somedir/filex -> [application] -> /Users/me/~/Documents/somedir/filex.xyz (in iCould)..... and the inverse where the App performs some operation then stores it under ~/Documents/somedir... then can pull it out [application] -> /Users/me/some_non_iCoud_dir. I'd like to be able to do it with a Tree representation of the files.
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Aug ’21