Post

Replies

Boosts

Views

Activity

Builds queueing forever...
I have a project that has stopped building on xcode cloud. The project depends on several large binary swift packages that are downloaded, including one that is > 100 mb. I think it's since these packages got bigger that the CI builds stopped working, but there is nothing in the logs, it just doesn't start the build as far as I can see. Is there a limit that I am hitting that means my builds don't get started?
10
0
2.3k
Jan ’22
How to read large files using SwiftUI DocumentGroup without making a temporary copy?
I have made a SwiftUI DocumentApp that reads large media files but doesn't need to write them. In my document, I just want to store the file's URL, so that I can load it using e.g. AVAudioFile. I can't work out how to do this without creating a temporary copy of the file, as the author does here, because there is no way to the file URL from the fileWrapper I have attempted to create a pipe using the configuration.file.regularFileContents (Data), but so far I had no success reading from that pipe. init(configuration: ReadConfiguration) throws { let tempURL = makeTemporaryFileURL() FileManager.default.createFile(atPath: tempURL.path, contents: configuration.file.regularFileContents, attributes: nil) audioFileUrl = tempURL }
1
0
1.1k
May ’21
auv3 macOS in process validating
oli-mbp:~ oli$ auval -v aufx IpeH Acme AU Validation Tool Version: 1.6.1a1 Copyright 2003-2013, Apple Inc. All Rights Reserved. Specify -h (-help) for command options -------------------------------------------------- VALIDATING AUDIO UNIT: 'aufx' - 'IpeH' - 'Acme' -------------------------------------------------- Manufacturer String: AcmeInc AudioUnit Name: IPlugEffect Component Version: 1.0.0 (0x10000) * * PASS -------------------------------------------------- TESTING OPEN TIMES: COLD: dyld: warning, LC_RPATH @executable_path/../Frameworks in /Users/oli/Applications/IPlugEffect.app/Contents/Frameworks/IPlugEffectAUv3Framework.framework/IPlugEffectAUv3Framework being ignored in restricted program because of @executable_path 2018-05-10 20:45:25.883 auvaltool[5532:94786] -[IPlugViewController createAudioUnitWithComponentDescription:error:]: unrecognized selector sent to instance 0x7fa5b4031ee0 2018-05-10 20:45:25.883 auvaltool[5532:94786] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[IPlugViewController createAudioUnitWithComponentDescription:error:]: unrecognized selector sent to instance 0x7fa5b4031ee0' *** First throw call stack: ( 0 CoreFoundation 0x00007fff2c02032b __exceptionPreprocess + 171 1 libobjc.A.dylib 0x00007fff53735c76 objc_exception_throw + 48 2 CoreFoundation 0x00007fff2c0b8e04 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132 3 CoreFoundation 0x00007fff2bf96870 ___forwarding___ + 1456 4 CoreFoundation 0x00007fff2bf96238 _CF_forwarding_prep_0 + 120 5 AudioToolbox 0x00007fff2aaa4477 _ZL18newAUFromExtensionP11NSExtensionRK25AudioComponentDescriptionjPU15__autoreleasingP7NSError + 1368 6 AudioToolbox 0x00007fff2aaa3dd2 +[AUAudioUnit instantiateWithComponentDescription:options:completionHandler:] + 337 7 AudioToolbox 0x00007fff2aaa4f06 __58-[AUAudioUnit initWithComponentDescription:options:error:]_block_invoke + 190 8 AudioToolbox 0x00007fff2ab08ea1 Synchronously + 118 9 AudioToolbox 0x00007fff2aaa4d15 -[AUAudioUnit initWithComponentDescription:options:error:] + 600 10 AudioToolbox 0x00007fff2aa7253f +[AUAudioUnit_XH instantiateWithExtension:componentDescription:instance:options:completionHandler:] + 266 11 AudioToolbox 0x00007fff2a93e940 _ZN21AUNSExtensionInstance9OpenAsyncEP23ComponentInstanceRecordjU13block_pointerFvS1_iE + 210 12 AudioToolbox 0x00007fff2aa9af55 _ZL14AUIB_OpenAsyncPvP23ComponentInstanceRecordjU13block_pointerFvS1_iE + 234 13 AudioToolbox 0x00007fff2aa2e628 _ZN11APComponent11newInstanceEjbU13block_pointerFvP23ComponentInstanceRecordiE + 708 14 auvaltool 0x00000001014ac323 auvaltool + 70435 15 auvaltool 0x000000010149ea41 auvaltool + 14913 16 auvaltool 0x000000010149e36a auvaltool + 13162 17 auvaltool 0x000000010149de86 auvaltool + 11910 18 auvaltool 0x00000001014ab4c1 auvaltool + 66753 19 auvaltool 0x000000010149d169 auvaltool + 8553 20 auvaltool 0x000000010149c41d auvaltool + 5149 21 libdyld.dylib 0x00007fff5434f015 start + 1 22 ??? 0x0000000000000005 0x0 + 5 ) libc++abi.dylib: terminating with uncaught exception of type NSException /usr/bin/auval: line 11: 5532 Abort trap: 6 arch -x86_64 /usr/bin/auvaltool "$@"
2
0
1.8k
May ’18