Post

Replies

Boosts

Views

Activity

Reply to RPATH switch from DYLD_LIBRARY_PATH: strange results
Thank you for your suggestions I will experiment further with entitlements. I already use com.apple.security.cs.disable-library-validation but not the other one because I read in some of your posts that you discourage its use... and because I did not fully understand what it does. Just to let you know, we use the MatLab_Runtine v911 and not a more recent one (perhaps easier to use) because, for some strange reasons, it is the only one which is free of use. However, it’s hard to be sure without looking at your stuff in a lot more depth. If I cannot solve the problem by myself, there would be no problem on my side in sharing the whole project with you, but I do not wish to take up too much of your time. Formalizing everything for you and your informed answers , this is already a big help. Thank you very much again Alain
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’23
Reply to RPATH switch from DYLD_LIBRARY_PATH: strange results
Hi, As suggested, I added both com.apple.security.cs.allow-dyld-environment-variables  and com.apple.security.cs.disable-library-validation entitlements. Both are set for the main bundle but checked that they are also present for the embedded bundle while auxiliary binaries have the com.apple.security.inherit entitlement. Unfortunately enough the problem is still present. I will be in travel until the end of the month but when I will be back I am ready for a DTS tech support incident. However, since most of the contents of the App are generated by MatLab, I really don't know how to produce a small test App. All the best Alain
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’23
Reply to Stapling Error 65 (Applescript app)
I don't know if this can be of any help to others but I got the same stapling "error 65" in the following case I created a DMG containing a classical bundle "myTest.app" I successfully notarized the .dmg file I got the "Error 65" when trying to staple it. Processing: /Users/xxxx/Development/myTest_Install.dmg CloudKit query for myTest_Install.dmg (2/aaf85e0a1c60c86705e9a8880ebe1ad4cd32bf56) failed due to "Record not found". Could not find base64 encoded ticket in response for 2/aaf85e0a1c60c86705e9a8880ebe1ad4cd32bf56 The staple and validate action failed! Error 65. I ultimately found was that the error was due "myTest.app" not being notarized !!!! Come on Apple, instead of an error message that only aliens can understand it would not be too difficult to give us something more helpful! All the best
Topic: Code Signing SubTopic: General Tags:
Jul ’23