Post

Replies

Boosts

Views

Activity

Preparing background asset for app review
I have finished a new app that integrates Apple hosted background asset. I have tested and confirm that the assets are downloaded both locally and with a TestFlight build. App review is not able to access the background assets. I can see that the assets are updated with status "accepted". But app review is running into error "A server with the specified hostname could not be found.". These are Apple Hosted Assets. Did I miss any configuration?
0
0
58
6d
VTLowLatencyFrameInterpolationConfiguration supported dimensions
Is there limits on the supported dimension for VTLowLatencyFrameInterpolationConfiguration. Querying VTLowLatencyFrameInterpolationConfiguration.maximumDimensions and VTLowLatencyFrameInterpolationConfiguration.minimumDimensions returns nil. When I try the WWDC sample project EnhancingYourAppWithMachineLearningBasedVideoEffects with a 4k video this statement try frameProcessor.startSession(configuration: configuration) executes but try await frameProcessor.process(parameters: parameters) throws error Error Domain=VTFrameProcessorErrorDomain Code=-19730 "Processor is not initialized" UserInfo={NSLocalizedDescription=Processor is not initialized}. Also, why is VTLowLatencyFrameInterpolationConfiguration able to run while app is backgrounded but VTFrameRateConversionParameters can't (due to gpu usage)?
3
0
604
1w
Background Asset not downloading for TF iPad
I have created and tested background assets (Apple Hosted) with both "essential" and "onDemand". They works on the iPhone and iPad following the "Testing asset packs locally" steps. However, when I upload to TF; the iPad fails to download. The iPhone is able to download both "essential" and "onDemand" fine. I am adopting the manifest from xcrun ba-package template -o Manifest.json Manifest.json
0
0
84
1w
Background Assets Mac (Designed for iPad)
Hello, I have followed the instructions in https://developer.apple.com/documentation/backgroundassets to setup background asset to work on the iPhone. I am able to confirm successfully test the asset packs locally on the iPhone. However, when I try to run the my test code on the Mac (Designed for iPad), I get this error. BackgroundAssets/AssetPackManager.swift:206: Fatal error: The app couldn’t be validated: The bundle’s info dictionary lacks a string value for the key “BAAppGroupID”. Is this feature not supported on the Mac?
6
0
383
May ’26
Mic mode (voice isolation) does not work on iPhone 14
Hello, I can record with voice isolated when I run the "using_voice_processing" sample project (link below) on either iPhone 12PRO (iOS 15.6) or iPhone 11 (iOS 16.0.2). Running it on iPhone 14PRO and 14PRO Max does not isolate the voice. I have confirmed voice isolation work with FaceTime on the iPhone 14 but it does not filter out background music when running the sample application. https://developer.apple.com/documentation/avfaudio/audio_engine/using_voice_processing
0
1
1.1k
Oct ’22
Random AVAudioEngine crash
I am seeing a random crash on the AVAudioEngine startAndReturnError method call. I am not able to reproduce this but I am getting a lot of crash reports from the application on the store. My application mix audio from mulitiple files which I pretty much copy the code from the sample project UsingAVAudioEngineforPlaybackMixingandRecording. I tried to add try-catch block to the call and it does not seem to catch the exception. Any ideas or suggestion on how to debug this? It happens across device models (iPhone, iPad, iPod) and iOS (8 and 9)Thread : Fatal Exception: com.apple.coreaudio.avfaudio0 CoreFoundation 0x23d9468b __exceptionPreprocess1 libobjc.A.dylib 0x35292e17 objc_exception_throw2 CoreFoundation 0x23d94561 +[NSException raise:format:]3 libAVFAudio.dylib 0x22652c21 AVAE_RaiseException(NSString*, ...)4 libAVFAudio.dylib 0x22665dd5 AVAudioEngineGraph::PerformCommand(AUGraphNode&, AVAudioEngineGraph::ENodeCommand, void*, unsigned long) const5 libAVFAudio.dylib 0x226669e3 AVAudioEngineGraph::Initialize()6 libAVFAudio.dylib 0x226a3cc3 AVAudioEngineImpl::Initialize()7 libAVFAudio.dylib 0x226a2bdf AVAudioEngineImpl::Start(NSError**)8 libAVFAudio.dylib 0x226a2b53 -[AVAudioEngine startAndReturnError:]9 Acapella 0x000bd98b __33-[MCAudioMixer initWithMetadata:]_block_invoke (MCAudioMixer.m:182)10 Foundation 0x24b48b39 __22-[__NSObserver _doit:]_block_invoke11 Foundation 0x24b4c80d __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__12 Foundation 0x24aae217 -[NSBlockOperation main]13 Foundation 0x24aa04e1 -[__NSOperationInternal _start:]14 Foundation 0x24b4eac5 __NSOQSchedule_f15 libdispatch.dylib 0x35994d17 _dispatch_client_callout16 libdispatch.dylib 0x359a30b1 _dispatch_main_queue_callback_4CF$VARIANT$mp17 CoreFoundation 0x23d579ad __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__18 CoreFoundation 0x23d55ea7 __CFRunLoopRun19 CoreFoundation 0x23ca9249 CFRunLoopRunSpecific20 CoreFoundation 0x23ca9035 CFRunLoopRunInMode21 GraphicsServices 0x2cd5bad1 GSEventRunModal22 UIKit 0x27ebe8a9 UIApplicationMain23 Acapella 0x0015fc63 main (main.m:14)24 libdyld.dylib 0x359de873 start
7
1
5.6k
Mar ’22
Preparing background asset for app review
I have finished a new app that integrates Apple hosted background asset. I have tested and confirm that the assets are downloaded both locally and with a TestFlight build. App review is not able to access the background assets. I can see that the assets are updated with status "accepted". But app review is running into error "A server with the specified hostname could not be found.". These are Apple Hosted Assets. Did I miss any configuration?
Replies
0
Boosts
0
Views
58
Activity
6d
VTLowLatencyFrameInterpolationConfiguration supported dimensions
Is there limits on the supported dimension for VTLowLatencyFrameInterpolationConfiguration. Querying VTLowLatencyFrameInterpolationConfiguration.maximumDimensions and VTLowLatencyFrameInterpolationConfiguration.minimumDimensions returns nil. When I try the WWDC sample project EnhancingYourAppWithMachineLearningBasedVideoEffects with a 4k video this statement try frameProcessor.startSession(configuration: configuration) executes but try await frameProcessor.process(parameters: parameters) throws error Error Domain=VTFrameProcessorErrorDomain Code=-19730 "Processor is not initialized" UserInfo={NSLocalizedDescription=Processor is not initialized}. Also, why is VTLowLatencyFrameInterpolationConfiguration able to run while app is backgrounded but VTFrameRateConversionParameters can't (due to gpu usage)?
Replies
3
Boosts
0
Views
604
Activity
1w
Background Asset not downloading for TF iPad
I have created and tested background assets (Apple Hosted) with both "essential" and "onDemand". They works on the iPhone and iPad following the "Testing asset packs locally" steps. However, when I upload to TF; the iPad fails to download. The iPhone is able to download both "essential" and "onDemand" fine. I am adopting the manifest from xcrun ba-package template -o Manifest.json Manifest.json
Replies
0
Boosts
0
Views
84
Activity
1w
Background Assets Mac (Designed for iPad)
Hello, I have followed the instructions in https://developer.apple.com/documentation/backgroundassets to setup background asset to work on the iPhone. I am able to confirm successfully test the asset packs locally on the iPhone. However, when I try to run the my test code on the Mac (Designed for iPad), I get this error. BackgroundAssets/AssetPackManager.swift:206: Fatal error: The app couldn’t be validated: The bundle’s info dictionary lacks a string value for the key “BAAppGroupID”. Is this feature not supported on the Mac?
Replies
6
Boosts
0
Views
383
Activity
May ’26
VTFrameProcessorOpticalFlow usage
Is there sample code on how to use VTFrameProcessorOpticalFlow?
Replies
1
Boosts
0
Views
290
Activity
Oct ’25
VNGeneratePersonInstanceMaskRequest & VNGenerateForegroundInstanceMaskRequest
Will there be VNStatefulRequest versions of these classes?
Replies
0
Boosts
0
Views
659
Activity
Jun ’23
Mic mode (voice isolation) does not work on iPhone 14
Hello, I can record with voice isolated when I run the "using_voice_processing" sample project (link below) on either iPhone 12PRO (iOS 15.6) or iPhone 11 (iOS 16.0.2). Running it on iPhone 14PRO and 14PRO Max does not isolate the voice. I have confirmed voice isolation work with FaceTime on the iPhone 14 but it does not filter out background music when running the sample application. https://developer.apple.com/documentation/avfaudio/audio_engine/using_voice_processing
Replies
0
Boosts
1
Views
1.1k
Activity
Oct ’22
Random AVAudioEngine crash
I am seeing a random crash on the AVAudioEngine startAndReturnError method call. I am not able to reproduce this but I am getting a lot of crash reports from the application on the store. My application mix audio from mulitiple files which I pretty much copy the code from the sample project UsingAVAudioEngineforPlaybackMixingandRecording. I tried to add try-catch block to the call and it does not seem to catch the exception. Any ideas or suggestion on how to debug this? It happens across device models (iPhone, iPad, iPod) and iOS (8 and 9)Thread : Fatal Exception: com.apple.coreaudio.avfaudio0 CoreFoundation 0x23d9468b __exceptionPreprocess1 libobjc.A.dylib 0x35292e17 objc_exception_throw2 CoreFoundation 0x23d94561 +[NSException raise:format:]3 libAVFAudio.dylib 0x22652c21 AVAE_RaiseException(NSString*, ...)4 libAVFAudio.dylib 0x22665dd5 AVAudioEngineGraph::PerformCommand(AUGraphNode&, AVAudioEngineGraph::ENodeCommand, void*, unsigned long) const5 libAVFAudio.dylib 0x226669e3 AVAudioEngineGraph::Initialize()6 libAVFAudio.dylib 0x226a3cc3 AVAudioEngineImpl::Initialize()7 libAVFAudio.dylib 0x226a2bdf AVAudioEngineImpl::Start(NSError**)8 libAVFAudio.dylib 0x226a2b53 -[AVAudioEngine startAndReturnError:]9 Acapella 0x000bd98b __33-[MCAudioMixer initWithMetadata:]_block_invoke (MCAudioMixer.m:182)10 Foundation 0x24b48b39 __22-[__NSObserver _doit:]_block_invoke11 Foundation 0x24b4c80d __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__12 Foundation 0x24aae217 -[NSBlockOperation main]13 Foundation 0x24aa04e1 -[__NSOperationInternal _start:]14 Foundation 0x24b4eac5 __NSOQSchedule_f15 libdispatch.dylib 0x35994d17 _dispatch_client_callout16 libdispatch.dylib 0x359a30b1 _dispatch_main_queue_callback_4CF$VARIANT$mp17 CoreFoundation 0x23d579ad __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__18 CoreFoundation 0x23d55ea7 __CFRunLoopRun19 CoreFoundation 0x23ca9249 CFRunLoopRunSpecific20 CoreFoundation 0x23ca9035 CFRunLoopRunInMode21 GraphicsServices 0x2cd5bad1 GSEventRunModal22 UIKit 0x27ebe8a9 UIApplicationMain23 Acapella 0x0015fc63 main (main.m:14)24 libdyld.dylib 0x359de873 start
Replies
7
Boosts
1
Views
5.6k
Activity
Mar ’22