I too have same question. Is it possible to wrote to a file from AudioServerPlugin? If Yes, to which disk path we can write?
Post
Replies
Boosts
Views
Activity
To summarise: Recorded file will have stereo channels, Left front and rear is recorded in Left channel; Right Front and rear is recorded in right channel.
I am not handling mixing explicitly. I wanted to know if AVCaptureAudioDataOutput mixes channels if it receives 6 channels as input and output should be only 2.
The query was already posted and there was a solution for it:
https://developer.apple.com/forums/thread/690481
Apple has not addressed the issue even after a week. Bug ID: FB9760173
I am not able to proceed without sandbox receipt as I need to test in-app purchase integration which I introduced for the first time in my app. Is there any work around?
In 10.13 and below it is working fine. Catalina onwards it has issues.
In the Console I am getting the following console messages:
ReceiptRefreshRequest: Error fetching receipt for /Applications/MyAppName.app - Error Domain=com.apple.commerce.client Code=500 "(null)"
Failed to perform in-line receipt renewal for application at path/Applications/MyAppName.app : 'Error Domain=com.apple.commerce.client Code=500 "(null)
We could not reproduce it in our system using same system configuration (with fresh OS install as well). Most of these users who had installed had installed beta version of the OS and I am not sure if this is the issue.
Also for these users (who are facing crash), my app is not getting listed under Microphone. We asked user to try tccutil reset All and restart the system and re-launch the app. But, still app is not listed under Microphone, nor even permission alert (displayed by OS API to give access to Microphone when we use Audio API) is displayed to these users. It just crashes.
What work around can be given to these users? Could you please give suggestion?
We will be providing DMG to the user and user need to drag and drop it to the Applications folder (applications fodler shortcut has been provided in DMG and have guided user to drag and drop it to Applications folder)
The application launches a Helper application using the call SMLoginItemSetEnabled. This helper is required to monitor and switch back to user preferred sound output when our application crashes. Also, this helper is not terminated by setting false to SMLoginItemSetEnabled, if user wants to launch our application on system-login.
Thank you.
Regards,
Deepa
This for sure something related to privacy violation, the app has to ask user permission to obtain access to Microphone. But, I have added require Privacy Message in info.plist and enabled entitlement as well. I am not the crash is for which permission that app is trying to access.
I was thinking of using App Groups for common user data. Thank you very much for the response.
Yes, NSConnection has been deprecated quite long back and due to some constraints we could not migrate. I would like to know if NSXPCConnection will be the right approach for communication between Main and Helper app. We need to share some data too between Main and Helper app.
If NSXPCConnection is the right approach in the following context
Can someone write their version of Helper.app with same bundle identifier as my Helper.app and expose a xpc-connection with same service name (when my Main.app and Helper.app is not running).
Now when Main.app is launched, it get connected to 3rd party Helper.app.
Suppose you are copying the custom fonts to the Bundle's Resources folder directly (without subfolder), add the key "Application fonts resource path" to your Info.plist with empty value. Please check if this solves the problem.
Thank you eskimo. This has worked for me.
Sorry for mentioning your email address.
Regards,
Deepa
I have attached the sample project that I created to learn OSACOMPILEEXECUTEONLY. I have added apple script "ScriptTest.scpt" to the project, OSACOMPILEEXECUTEONLY is set to true. If I compile the project and check the Resources folder of the TestScript.app, there exist ScriptTest.scpt which can be opened and readable in ScriptEditor.
Would you please let me know what I am doing wrong here.
The sample project is attached to your email … with the subject "OSACOMPILEEXECUTEONLY does not make script execute only"
Thank you eskimo. The usage of the command was not proper. Now, it worked for me.
I had used initially:
osacompile -x <MyAppleScriptPath.scpt>
It should have been osacompile -x -o <MyAppleScriptReadOnlyPath.scpt> <MyAppleScriptPath.scpt>
But, why it does not work via XCode Build Settings?
I am facing the same problem if I run osacompile with -x flag. osacompile -x <MyAppleScriptPath>.
If I open Apple Script at path MyAppleScriptPath after running osacompile command, I can still read Apple script command whereas the expectation is the script will be in executable format and command are not readable.