Post

Replies

Boosts

Views

Activity

Comment on Xcode26.0 beta has a compilation error
This is how it needs to be modified to pass the compilation. I don't understand either.I added "!" private(set) lazy var songNameLabel: UILabel = { let label = UILabel()! label.textColor = .darkGray label.lineBreakMode = .byTruncatingTail return label }() private(set) lazy var artistNameLabel: UILabel = { let label = UILabel()! label.textColor = UIColor(hexString: "#666666") return label }()
Topic: UI Frameworks SubTopic: General Tags:
Jun ’25
Comment on PrebuiltLoader optimization for dyld
Yes, our app is doing startup optimization, we know that the system has this startup closure optimization, and we want to know whether the closure optimization of our app will fail, in other words, under what scenarios will the closure optimization fail? For example, if we set the Order File in our project, will it cause closure optimization to fail? What does our app need to do in this regard to improve the system's startup closure optimization?
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’24
Comment on The CPTemplate memory is not released
I'm running iOS 17.5. The template creation code is as follows: CPListTemplate *listTemplate = [[CPListTemplate alloc] initWithTitle:@"最近播放" sections:sections]; listTemplate.delegate = self; [_interfaceController pushTemplate:listTemplate animated:YES completion:^(BOOL success, NSError * _Nullable error) { }]; sections have many CPListItem. When I exit the page, but the page does not free, causing memory to keep increasing.
Topic: App & System Services SubTopic: General Tags:
Jul ’24
Comment on AVAudioSessionErrorCodeCannotInterruptOthers
[quote='788586022, jiehaowu, /thread/755784?answerId=788586022#788586022, /profile/jiehaowu'] Yes, we are to judge the AVAudioSessionInterruptionOptionShouldResume, to restore the audio playback. We have been online for a long time and have been able to resume audio playback normally. But recently we've had a lot of user feedback as to why the audio won't resume playing. [/quote]
Topic: Media Technologies SubTopic: Audio Tags:
May ’24
Comment on Xcode26.0 beta has a compilation error
I did a global search and found that it was indeed a third-party library that affected the compilation. I solved it after making the revisions. Thank you very much.
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Comment on Xcode26.0 beta has a compilation error
This is how it needs to be modified to pass the compilation. I don't understand either.I added "!" private(set) lazy var songNameLabel: UILabel = { let label = UILabel()! label.textColor = .darkGray label.lineBreakMode = .byTruncatingTail return label }() private(set) lazy var artistNameLabel: UILabel = { let label = UILabel()! label.textColor = UIColor(hexString: "#666666") return label }()
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Comment on PrebuiltLoader optimization for dyld
Yes, our app is doing startup optimization, we know that the system has this startup closure optimization, and we want to know whether the closure optimization of our app will fail, in other words, under what scenarios will the closure optimization fail? For example, if we set the Order File in our project, will it cause closure optimization to fail? What does our app need to do in this regard to improve the system's startup closure optimization?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’24
Comment on Xcode16 beta4 build error-"_mh_execute_header"
找下工程哪里用到了_mh_execute_header,估计高版本没这个api; 我这边是找到了配置项Exported Symbols File,里面设置了“_mh_execute_header”,去掉之后就解决了;
Replies
Boosts
Views
Activity
Aug ’24
Comment on Linker changes in Xcode 16 / macOS 15?
Is your test code in Release mode?
Replies
Boosts
Views
Activity
Jul ’24
Comment on Linker changes in Xcode 16 / macOS 15?
I have also encountered the same problem, is your error also occurred in the Release mode, but it is OK in the Debug mode
Replies
Boosts
Views
Activity
Jul ’24
Comment on CPTemplate is not released in CarPlay
I tested the official demo, it will be the same, is there a problem with CarPlay release
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Comment on The CPTemplate memory is not released
I'm running iOS 17.5. The template creation code is as follows: CPListTemplate *listTemplate = [[CPListTemplate alloc] initWithTitle:@"最近播放" sections:sections]; listTemplate.delegate = self; [_interfaceController pushTemplate:listTemplate animated:YES completion:^(BOOL success, NSError * _Nullable error) { }]; sections have many CPListItem. When I exit the page, but the page does not free, causing memory to keep increasing.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Comment on AVAudioSessionErrorCodeCannotInterruptOthers
[quote='788586022, jiehaowu, /thread/755784?answerId=788586022#788586022, /profile/jiehaowu'] Yes, we are to judge the AVAudioSessionInterruptionOptionShouldResume, to restore the audio playback. We have been online for a long time and have been able to resume audio playback normally. But recently we've had a lot of user feedback as to why the audio won't resume playing. [/quote]
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
May ’24
Comment on app crashes runing in Xcode15 beta7
Adding -ld64 to the other linker flag in Xcode's build setting solves this problem
Replies
Boosts
Views
Activity
Sep ’23