Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The binary uses an SDK older than the 10.9 SDK #2

Closed
LEPINARD opened this issue Feb 14, 2020 · 10 comments
Closed

The binary uses an SDK older than the 10.9 SDK #2

LEPINARD opened this issue Feb 14, 2020 · 10 comments

Comments

@LEPINARD
Copy link

LEPINARD commented Feb 14, 2020

Hello Mr. MIYAKO,
We cannot have the plugins notarized
"4d-plugin-sfml-audio"
for Catalina. Aple's answer is:
"The binary uses an SDK older than the 10.9 SDK."
Best regards

@miyako
Copy link
Owner

miyako commented Feb 14, 2020

3rd party frameworks distributed with SFML are all using an older SDK.
simply recompiling the plugin will not solve it.

otool -l libsfml-system.2.5.1.dylib

reveals

version 10.7
sdk 10.7

@miyako
Copy link
Owner

miyako commented Feb 14, 2020

  • use Apple system OpenAL

  • build static version of libvorbis, libogg, flac

@miyako
Copy link
Owner

miyako commented Feb 14, 2020

could you please test 3.0 and report here if it works or not?

https://github.com/miyako/4d-plugin-sfml-audio/releases

@LEPINARD
Copy link
Author

Hello,
Thank you for version 3. I did not try to write it down because it no longer records any sound (4D v18).
Sound playback works.
Greetings
Thierry

@miyako
Copy link
Owner

miyako commented Feb 14, 2020

keep in mind that access to the microphone requires special entitlement.

you need to code sign your app or 4D

Screen Shot 2020-02-15 at 1 36 21

@LEPINARD
Copy link
Author

Thank you but how do you sign 4D V18 code ?
(It is a great honor to be able to converse with a 4D star like you 👍 )

@miyako
Copy link
Owner

miyako commented Feb 15, 2020

you already know how to code sign your built app in v18.

SignApp.sh which is inside 4D.app,

uses 4D.entitlements inside Contents/Resources.

Screen Shot 2020-02-15 at 13 10 56

if you want to access audio input from 4D,
you should code sign 4D itself using the same methodology.

@LEPINARD
Copy link
Author

Mister Miyako,
Thanks for your help.
We signed 4D, we signed our application, it never appears in system preferences.
Do you have a working sample application?
We are using MacOS 10.14 but our tests in 10.15 are no better.
Thank you in advance.
Best regards.

@miyako
Copy link
Owner

miyako commented Feb 17, 2020

how exactly did you sign your app?

also what is its app id?

if you think your app is already remembered as "not allowed access)
you can reset security and privacy settings like so:

tccutil reset All com.4d.4d
tccutil reset All com.4D.4DServer

@miyako
Copy link
Owner

miyako commented Feb 17, 2020

also, you could disable code sign in 4D build application dialog,

and use https://github.com/miyako/4d-utility-build-application instead

@miyako miyako closed this as completed Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants