Post

Replies

Boosts

Views

Activity

[M5 MacBook Air] Severe Memory Spike & System Freeze When Running Commercial Project - Seeking Troubleshooting Advice
H i Apple Engineers and Community Members, I recently purchased a new M5 MacBook Air and am experiencing a severe memory issue when running a commercial project. I would greatly appreciate some troubleshooting advice. Symptoms: According to Activity Monitor, memory usage continuously climbs from 10GB to over 30GB during runtime, eventually spiking to around 50GB, which causes the entire system to freeze. Strangely, when I try to stop the program, the memory usage doesn't drop; instead, it continues to increase. Troubleshooting Steps Taken: Running a blank project shows stable memory usage with no abnormal spikes. I have cleared the Xcode cache and restarted Xcode, but the memory still surges when running the commercial project. Colleagues running the exact same commercial project on identical hardware report stable memory usage of around 8GB. My Concern: Since this issue is only reproducible on my specific device, I am considering taking it to an Apple Store for hardware diagnostics. However, I am worried that the issue might not be reproducible during the appointment, leading the Genius to find no hardware or system faults. Before sending it in for repair, could any of you suggest additional troubleshooting steps, diagnostic tools, or log-capturing methods to help isolate the root cause?
0
0
42
6d
PhotosPicker obtains the result information of the selected video
In the AVP project, a selector pops up, only wanting to filter spatial videos. When selecting the material of one of the spatial videos, the selection result returns empty. How can we obtain the video selected by the user and get the path and the URL of the file The code is as follows: PhotosPicker(selection: $selectedItem, matching: .videos) { Text("Choose a spatial photo or video") } func loadTransferable(from imageSelection: PhotosPickerItem) -> Progress { return imageSelection.loadTransferable(type: URL.self) { result in DispatchQueue.main.async { // guard imageSelection == self.imageSelection else { return } print("加载成功的图片集合:(result)") switch result { case .success(let url?): self.selectSpatialVideoURL = url print("获取视频链接:(url)") case .success(nil): break // Handle the success case with an empty value. case .failure(let error): print("spatial错误:(error)") // Handle the failure case with the provided error. } } } }
4
0
223
May ’25
The folding and unfolding effect of the NBA sand table
Seeing this magical sand table, the unfolding and folding effects are similar to spreading out cards, which is very interesting. But I don't know how to achieve it. I want to see if there are any ways to achieve this effect and give some ideas. May I ask if this effect can be achieved under the existing API
1
0
123
May ’25
[M5 MacBook Air] Severe Memory Spike & System Freeze When Running Commercial Project - Seeking Troubleshooting Advice
H i Apple Engineers and Community Members, I recently purchased a new M5 MacBook Air and am experiencing a severe memory issue when running a commercial project. I would greatly appreciate some troubleshooting advice. Symptoms: According to Activity Monitor, memory usage continuously climbs from 10GB to over 30GB during runtime, eventually spiking to around 50GB, which causes the entire system to freeze. Strangely, when I try to stop the program, the memory usage doesn't drop; instead, it continues to increase. Troubleshooting Steps Taken: Running a blank project shows stable memory usage with no abnormal spikes. I have cleared the Xcode cache and restarted Xcode, but the memory still surges when running the commercial project. Colleagues running the exact same commercial project on identical hardware report stable memory usage of around 8GB. My Concern: Since this issue is only reproducible on my specific device, I am considering taking it to an Apple Store for hardware diagnostics. However, I am worried that the issue might not be reproducible during the appointment, leading the Genius to find no hardware or system faults. Before sending it in for repair, could any of you suggest additional troubleshooting steps, diagnostic tools, or log-capturing methods to help isolate the root cause?
Replies
0
Boosts
0
Views
42
Activity
6d
PhotosPicker obtains the result information of the selected video
In the AVP project, a selector pops up, only wanting to filter spatial videos. When selecting the material of one of the spatial videos, the selection result returns empty. How can we obtain the video selected by the user and get the path and the URL of the file The code is as follows: PhotosPicker(selection: $selectedItem, matching: .videos) { Text("Choose a spatial photo or video") } func loadTransferable(from imageSelection: PhotosPickerItem) -> Progress { return imageSelection.loadTransferable(type: URL.self) { result in DispatchQueue.main.async { // guard imageSelection == self.imageSelection else { return } print("加载成功的图片集合:(result)") switch result { case .success(let url?): self.selectSpatialVideoURL = url print("获取视频链接:(url)") case .success(nil): break // Handle the success case with an empty value. case .failure(let error): print("spatial错误:(error)") // Handle the failure case with the provided error. } } } }
Replies
4
Boosts
0
Views
223
Activity
May ’25
The folding and unfolding effect of the NBA sand table
Seeing this magical sand table, the unfolding and folding effects are similar to spreading out cards, which is very interesting. But I don't know how to achieve it. I want to see if there are any ways to achieve this effect and give some ideas. May I ask if this effect can be achieved under the existing API
Replies
1
Boosts
0
Views
123
Activity
May ’25
The folding and unfolding effect of the NBA sand table
Seeing this magical sand table, the unfolding and folding effects are similar to spreading out cards, which is very interesting. But I don't know how to achieve it. I want to see if there are any ways to achieve this effect and give some ideas. May I ask if this effect can be achieved under the existing API
Replies
2
Boosts
0
Views
167
Activity
May ’25
Cannot capture interactive button click events
When you click the button in the background of three horizontal lines, when the view is about to appear, add buried event statistics, but click the button to close it, it will repeat the view will appear method API, equivalent to the view method repeated execution twice, resulting in incorrect buried event statistics
Replies
1
Boosts
0
Views
443
Activity
Feb ’25