Post

Replies

Boosts

Views

Activity

Strange bug
My SceneKit Game failed with a com.apple.scenekit.scnview-renderer (10): signal SIGABRT The error was marked on the line @main Here's the log navigator: 2022-05-25 15:24:18.829319+0800 MyWorldiOS[9022:293392] Metal API Validation Enabled validateRenderPassDescriptor:899: failed assertion `RenderPass Descriptor Validation MTLRenderPassAttachmentDescriptor MTLStoreActionMultisampleResolve store action for the depth attachment is not supported by device PixelFormat MTLPixelFormatDepth32Float cannot be a MSAA resolve target ' dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/MyWorld-aayoxjgvyfzbxvgqnvylzgvlwkyr/Build/Products/Debug-iphonesimulator:/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/MyWorld-aayoxjgvyfzbxvgqnvylzgvlwkyr/Build/Products/Debug-iphonesimulator validateRenderPassDescriptor:899: failed assertion `RenderPass Descriptor Validation MTLRenderPassAttachmentDescriptor MTLStoreActionMultisampleResolve store action for the depth attachment is not supported by device PixelFormat MTLPixelFormatDepth32Float cannot be a MSAA resolve target ' CoreSimulator 802.6 - Device: MyPhone (EBB1ECDE-8AD7-4418-84AF-0B761E0A2EA7) - Runtime: iOS 15.4 (19E5234a) - DeviceType: iPhone 12 (lldb)  I'm not sure what else should I put in here
1
0
1k
May ’22
Quick Look Preview Extension
I'm trying to add a quick look preview extension to my app. But I can't find any reference on this On a earlier thread (https://developer.apple.com/forums/thread/704155) everyone seems to misunderstand my question. I MEAN THE QUICK LOOK YOU CAN TOGGLE IN FINDER THAT WILL SHOW YOU A PREVIEW OF A DOCUEMNT I don't want to add the tag QuickLook because that's not I want to do.
1
0
748
Feb ’24
'self' used before all stored properties are initialized and I have not idea why
No idea why this error occurred, and I suspect that it's me putting initialization in the wrong place. struct TodosDocument: FileDocument { var todo: Context @AppStorage("defaultText") var defaultText: String = defaultContent var content: String var erroreousFileContent: Bool = false init(content: String = defaultContent, defaultText: String = defaultContent) { self.defaultText = defaultText self.content = content do { self.todo = try JSONDecoder().decode(Context.self, from: content.data(using: .utf8)!) } catch { print("ERROR \(error)") fatalError() } } static var readableContentTypes: [UTType] { [.TodoType] } init(configuration: ReadConfiguration) throws { guard let data = configuration.file.regularFileContents, let string = String(data: data, encoding: .utf8) else { throw CocoaError(.fileReadCorruptFile) } self.content = string do { self.todo = try JSONDecoder().decode(Context.self, from: data) } catch { self.todo = try JSONDecoder().decode(Context.self, from: defaultText.data(using: .utf8)!) // <- here } } func fileWrapper(configuration: WriteConfiguration) throws -> FileWrapper { let data = content.data(using: .utf8)! let i = JSONEncoder() i.outputFormatting = .prettyPrinted let content = Context(title: todo.title, items: todo.items) do { let dat = try i.encode(content) return .init(regularFileWithContents: dat) } catch { fatalError("Cannot write content \"\(data)\" with \(configuration): \(error)") } } }
3
0
1.3k
May ’22
"Access to list denied" message in the run console
What I want: I'm learning developing by building a document-based todos app and just want my code to run. What I get: My app went stuck every time I open a document So I create a new project and moved all of my code there Nothing changes I think that's because I added Touch Bar support so I clear Touch Bar code off Still nothing changes, but in the LLDB console there's a message: 2022-06-06 09:17:14.098990+0800 Todos[5747:307926] [default] Failed to get state for list identifier com.apple.LSSharedFileList.ApplicationRecentDocuments Error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (Access to list denied) UserInfo={NSDebugDescription=Access to list denied} And I think there's sth to do with App Sandbox, and I added some File Access configuration. Nothing changes Then I realized I forgot to add a development team in the new project Nothing ALSO1: when I changed the Signing Certificate to Development The message in the LLDB console disappeared. I couldn't find any reference on it. ANY HELP IS GREATLY APPRECIATED!!!!!!
2
0
1.8k
Jun ’22
AVFoundation weird
2022-06-09 08:51:30.793789+0800 MyAppName[4651:447798] [aqme]        MEMixerChannel.cpp:1629  client <AudioQueueObject@0x7fc09a04f400; [0]; play> got error 2003332927 while sending format information I use .mp3
1
1
1.6k
Dec ’22
Sth about WWDC
I remembered there's a message that says that you cannot modify this video or whatever at the end of every session. So, if I trim the video and send it to my friend, is it allowed? Bonus: where can I find the background music for every daily debrief video (if I can)?
2
0
531
Jun ’22
Strange SwiftUI bug (just making sure if it's a bug or not)
My code: struct PopoverMessage: View {     var body: some View {         VStack(alignment: .leading) {             Text("You need to launch this game at Teminal.")                 .font(.title)                 .fontWeight(.light)             Divider()             HStack {                 Text("Help me generate launch command ")                     .fontWeight(.thin)                 Image(systemName: "rectangle.portrait.and.arrow.right.fill")                     .resizable()                     .foregroundColor(.gray)                     .frame(width: 10, height: 10)             }.padding(10)         }     } } works while struct PopoverMessage: View {     var body: some View {         VStack(alignment: .leading) {             Text("You need to launch this game at Teminal.")                 .font(.title)                 .fontWeight(.light)             Divider()             HStack {                 Text("Help me generate launch command ")                     .fontWeight(.thin)                 Image(systemName: "rectangle.portrait.and.arrow.right.fill") .weigh                     .resizable()                     .foregroundColor(.gray)                     .frame(width: 10, height: 10)             }.padding(10)         }     } } don't and displays a error message Trailing closure passed to parameter of type 'CGFloat?' that does not accept a closure Here's the text in the diagnostics sheet: trailing closure passed to parameter of type 'CGFloat?' that does not accept a closure ---------------------------------------- CompileDylibError: Failed to build ContentView.swift Compiling failed: trailing closure passed to parameter of type 'CGFloat?' that does not accept a closure /Users/wangkeshijian/Documents/.myFolder/.system/TerminalAdventure/TerminalAdventure/ContentView.swift:12:37: error: trailing closure passed to parameter of type 'CGFloat?' that does not accept a closure         VStack(alignment: .leading) {                                     ^ SwiftUI.VStack:4:12: note: 'init(alignment:spacing:)' declared here     public init(alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil)            ^ // my comment here: it seems that SwiftUI, under some sort of strange bug, did notrecognize my initializer ================================== |  BuildInvocationError |   |  /Users/wangkeshijian/Documents/.myFolder/.system/.Downloads/Xcode14-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -F /Users/wangkeshijian/Documents/.myFolder/.system/.Downloads/Xcode14-beta.app/Contents/SharedFrameworks -enforce-exclusivity=checked -DDEBUG -sdk /Users/wangkeshijian/Documents/.myFolder/.system/.Downloads/Xcode14-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk -target x86_64-apple-macos12.4 -module-cache-path /Users/wangkeshijian/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -swift-version 5 -enable-bare-slash-regex -I /Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Products/Debug -F /Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Products/Debug -emit-localized-strings -emit-localized-strings-path /Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/Objects-normal/x86_64 -c -j4 -serialize-diagnostics -Xcc -I/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/TerminalAdventure-generated-files.hmap -Xcc -I/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/TerminalAdventure-own-target-headers.hmap -Xcc -I/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/TerminalAdventure-all-target-headers.hmap -Xcc -iquote -Xcc /Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/TerminalAdventure-project-headers.hmap -Xcc -I/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Products/Debug/include -Xcc -I/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/DerivedSources-normal/x86_64 -Xcc -I/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/DerivedSources/x86_64 -Xcc -I/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/DerivedSources -Xcc -DDEBUG=1 -working-directory /Users/wangkeshijian/Documents/.myFolder/.system/TerminalAdventure /Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/Objects-normal/x86_64/ContentView.1.preview-thunk.swift -o /Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/Objects-normal/x86_64/ContentView.1.preview-thunk.o -module-name TerminalAdventure_PreviewReplacement_ContentView_1 -Onone -Xfrontend -disable-modules-validate-system-headers -gline-tables-only
4
1
2.4k
Jul ’22
Really easy question
I know this is really easy I want to get the absolute path for the current app And I can achieve using String(reflecting: Bundle.main.bundleURL) But what outputs isn't like /User/xxx/..... but file:///User/xx/... so what can I do to get a absolute path in /xxx/xxx/xxx format? thanks
1
0
344
Jun ’22
Strange bug
My SceneKit Game failed with a com.apple.scenekit.scnview-renderer (10): signal SIGABRT The error was marked on the line @main Here's the log navigator: 2022-05-25 15:24:18.829319+0800 MyWorldiOS[9022:293392] Metal API Validation Enabled validateRenderPassDescriptor:899: failed assertion `RenderPass Descriptor Validation MTLRenderPassAttachmentDescriptor MTLStoreActionMultisampleResolve store action for the depth attachment is not supported by device PixelFormat MTLPixelFormatDepth32Float cannot be a MSAA resolve target ' dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/MyWorld-aayoxjgvyfzbxvgqnvylzgvlwkyr/Build/Products/Debug-iphonesimulator:/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/MyWorld-aayoxjgvyfzbxvgqnvylzgvlwkyr/Build/Products/Debug-iphonesimulator validateRenderPassDescriptor:899: failed assertion `RenderPass Descriptor Validation MTLRenderPassAttachmentDescriptor MTLStoreActionMultisampleResolve store action for the depth attachment is not supported by device PixelFormat MTLPixelFormatDepth32Float cannot be a MSAA resolve target ' CoreSimulator 802.6 - Device: MyPhone (EBB1ECDE-8AD7-4418-84AF-0B761E0A2EA7) - Runtime: iOS 15.4 (19E5234a) - DeviceType: iPhone 12 (lldb)  I'm not sure what else should I put in here
Replies
1
Boosts
0
Views
1k
Activity
May ’22
I'm running out of idea for apps🙁
⬆️
Replies
2
Boosts
0
Views
811
Activity
May ’22
iOS1.4 + iPhone SE 1st
My iPhone SE 1st will be stuck every 30 secs or so I think it's sth because it's a second-handed one I've used Instruments but can't find anything Anyone HELP Thanks🙏
Replies
1
Boosts
0
Views
862
Activity
May ’22
Quick Look Preview Extension
I'm trying to add a quick look preview extension to my app. But I can't find any reference on this On a earlier thread (https://developer.apple.com/forums/thread/704155) everyone seems to misunderstand my question. I MEAN THE QUICK LOOK YOU CAN TOGGLE IN FINDER THAT WILL SHOW YOU A PREVIEW OF A DOCUEMNT I don't want to add the tag QuickLook because that's not I want to do.
Replies
1
Boosts
0
Views
748
Activity
Feb ’24
'self' used before all stored properties are initialized and I have not idea why
No idea why this error occurred, and I suspect that it's me putting initialization in the wrong place. struct TodosDocument: FileDocument { var todo: Context @AppStorage("defaultText") var defaultText: String = defaultContent var content: String var erroreousFileContent: Bool = false init(content: String = defaultContent, defaultText: String = defaultContent) { self.defaultText = defaultText self.content = content do { self.todo = try JSONDecoder().decode(Context.self, from: content.data(using: .utf8)!) } catch { print("ERROR \(error)") fatalError() } } static var readableContentTypes: [UTType] { [.TodoType] } init(configuration: ReadConfiguration) throws { guard let data = configuration.file.regularFileContents, let string = String(data: data, encoding: .utf8) else { throw CocoaError(.fileReadCorruptFile) } self.content = string do { self.todo = try JSONDecoder().decode(Context.self, from: data) } catch { self.todo = try JSONDecoder().decode(Context.self, from: defaultText.data(using: .utf8)!) // <- here } } func fileWrapper(configuration: WriteConfiguration) throws -> FileWrapper { let data = content.data(using: .utf8)! let i = JSONEncoder() i.outputFormatting = .prettyPrinted let content = Context(title: todo.title, items: todo.items) do { let dat = try i.encode(content) return .init(regularFileWithContents: dat) } catch { fatalError("Cannot write content \"\(data)\" with \(configuration): \(error)") } } }
Replies
3
Boosts
0
Views
1.3k
Activity
May ’22
Beta Icon
How could I create an icon with an alpha/beta/dev badge? like this⬇️
Replies
0
Boosts
0
Views
516
Activity
May ’22
WWCD question
I'm in China, and if I sign up for a digital lounge or lab, It's either me or Apple staying up all night. So, what's the case to activities for areas not in the same time zone as USA?
Replies
3
Boosts
0
Views
724
Activity
May ’22
Can I sth else then structures in JSON?
How can I make it work? jsonString = """ ["foo", "bar"] """ let decoder = JSONDecoder var whatIWant = decoder.decode(Array<String>.self, jsonString) for i in whatIWant { print(i) } EDIT: Minor syntax mistake ignore this thread sorry everyone
Replies
1
Boosts
0
Views
395
Activity
May ’22
"Access to list denied" message in the run console
What I want: I'm learning developing by building a document-based todos app and just want my code to run. What I get: My app went stuck every time I open a document So I create a new project and moved all of my code there Nothing changes I think that's because I added Touch Bar support so I clear Touch Bar code off Still nothing changes, but in the LLDB console there's a message: 2022-06-06 09:17:14.098990+0800 Todos[5747:307926] [default] Failed to get state for list identifier com.apple.LSSharedFileList.ApplicationRecentDocuments Error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (Access to list denied) UserInfo={NSDebugDescription=Access to list denied} And I think there's sth to do with App Sandbox, and I added some File Access configuration. Nothing changes Then I realized I forgot to add a development team in the new project Nothing ALSO1: when I changed the Signing Certificate to Development The message in the LLDB console disappeared. I couldn't find any reference on it. ANY HELP IS GREATLY APPRECIATED!!!!!!
Replies
2
Boosts
0
Views
1.8k
Activity
Jun ’22
Not able to update to beta Ventura
The requested version of macOS is not available. Please check if your Mac is compatible with this software.
Replies
2
Boosts
0
Views
551
Activity
Jun ’22
AVFoundation weird
2022-06-09 08:51:30.793789+0800 MyAppName[4651:447798] [aqme]        MEMixerChannel.cpp:1629  client <AudioQueueObject@0x7fc09a04f400; [0]; play> got error 2003332927 while sending format information I use .mp3
Replies
1
Boosts
1
Views
1.6k
Activity
Dec ’22
Sth about WWDC
I remembered there's a message that says that you cannot modify this video or whatever at the end of every session. So, if I trim the video and send it to my friend, is it allowed? Bonus: where can I find the background music for every daily debrief video (if I can)?
Replies
2
Boosts
0
Views
531
Activity
Jun ’22
Where's the Preview Variants 😂 I can't find it where it should be
It says there's an error uploading the image so I can't get a image up here in a moment EDIT AFTER RESTARTING SAFARI: Oh no still won't work
Replies
2
Boosts
0
Views
890
Activity
Jun ’22
Strange SwiftUI bug (just making sure if it's a bug or not)
My code: struct PopoverMessage: View {     var body: some View {         VStack(alignment: .leading) {             Text("You need to launch this game at Teminal.")                 .font(.title)                 .fontWeight(.light)             Divider()             HStack {                 Text("Help me generate launch command ")                     .fontWeight(.thin)                 Image(systemName: "rectangle.portrait.and.arrow.right.fill")                     .resizable()                     .foregroundColor(.gray)                     .frame(width: 10, height: 10)             }.padding(10)         }     } } works while struct PopoverMessage: View {     var body: some View {         VStack(alignment: .leading) {             Text("You need to launch this game at Teminal.")                 .font(.title)                 .fontWeight(.light)             Divider()             HStack {                 Text("Help me generate launch command ")                     .fontWeight(.thin)                 Image(systemName: "rectangle.portrait.and.arrow.right.fill") .weigh                     .resizable()                     .foregroundColor(.gray)                     .frame(width: 10, height: 10)             }.padding(10)         }     } } don't and displays a error message Trailing closure passed to parameter of type 'CGFloat?' that does not accept a closure Here's the text in the diagnostics sheet: trailing closure passed to parameter of type 'CGFloat?' that does not accept a closure ---------------------------------------- CompileDylibError: Failed to build ContentView.swift Compiling failed: trailing closure passed to parameter of type 'CGFloat?' that does not accept a closure /Users/wangkeshijian/Documents/.myFolder/.system/TerminalAdventure/TerminalAdventure/ContentView.swift:12:37: error: trailing closure passed to parameter of type 'CGFloat?' that does not accept a closure         VStack(alignment: .leading) {                                     ^ SwiftUI.VStack:4:12: note: 'init(alignment:spacing:)' declared here     public init(alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil)            ^ // my comment here: it seems that SwiftUI, under some sort of strange bug, did notrecognize my initializer ================================== |  BuildInvocationError |   |  /Users/wangkeshijian/Documents/.myFolder/.system/.Downloads/Xcode14-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -F /Users/wangkeshijian/Documents/.myFolder/.system/.Downloads/Xcode14-beta.app/Contents/SharedFrameworks -enforce-exclusivity=checked -DDEBUG -sdk /Users/wangkeshijian/Documents/.myFolder/.system/.Downloads/Xcode14-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk -target x86_64-apple-macos12.4 -module-cache-path /Users/wangkeshijian/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -swift-version 5 -enable-bare-slash-regex -I /Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Products/Debug -F /Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Products/Debug -emit-localized-strings -emit-localized-strings-path /Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/Objects-normal/x86_64 -c -j4 -serialize-diagnostics -Xcc -I/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/TerminalAdventure-generated-files.hmap -Xcc -I/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/TerminalAdventure-own-target-headers.hmap -Xcc -I/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/TerminalAdventure-all-target-headers.hmap -Xcc -iquote -Xcc /Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/TerminalAdventure-project-headers.hmap -Xcc -I/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Products/Debug/include -Xcc -I/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/DerivedSources-normal/x86_64 -Xcc -I/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/DerivedSources/x86_64 -Xcc -I/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/DerivedSources -Xcc -DDEBUG=1 -working-directory /Users/wangkeshijian/Documents/.myFolder/.system/TerminalAdventure /Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/Objects-normal/x86_64/ContentView.1.preview-thunk.swift -o /Users/wangkeshijian/Library/Developer/Xcode/DerivedData/TerminalAdventure-fdqrafmgjltnvaesvnkdwzpsebjf/Build/Intermediates.noindex/Previews/TerminalAdventure/Intermediates.noindex/TerminalAdventure.build/Debug/TerminalAdventure.build/Objects-normal/x86_64/ContentView.1.preview-thunk.o -module-name TerminalAdventure_PreviewReplacement_ContentView_1 -Onone -Xfrontend -disable-modules-validate-system-headers -gline-tables-only
Replies
4
Boosts
1
Views
2.4k
Activity
Jul ’22
Really easy question
I know this is really easy I want to get the absolute path for the current app And I can achieve using String(reflecting: Bundle.main.bundleURL) But what outputs isn't like /User/xxx/..... but file:///User/xx/... so what can I do to get a absolute path in /xxx/xxx/xxx format? thanks
Replies
1
Boosts
0
Views
344
Activity
Jun ’22