I'm experimenting with RealityView in the UI of an AUv3 plug-in. The plug-in UI is implemented in a UIKitViewController with a UIHostingController hosting a RealityView. When i run the standalone app on visionOS I want the background to be transparent, and the reality view content. how can i achieve that? I've tried turning off opaque in many views and and setting background colors to .clear.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I am adapting my custom UI Framework for visionOS, and I'm wondering if it is going to be possible to detect hover over different UI elements within my view. The UI Framework draws to a Metal layer in a UIView. I don't currently support uihovergesturerecognizer on the view but I guess this wouldn't help, since you don't get coordinates. I can imagine an unpleasant solution might be to add invisible UIControls for each of my custom controls that are drawn in my own framework.
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?
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
}
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 "$@"