1. Scott
  2. Valentina Database ADK
  3. Tuesday, July 26 2022, 10:46 PM
  4.  Subscribe via email
I am having issues building a Xojo MacOS arm app and including the ADK. I use these steps:

Include a build step which copies the vcomponents to the Frameworks/vcomponents_x64 folder.
Same for copying the vresources folder and its contents to Resources/vresources

I then use the install_vcomponents_v4rb appname.app 64 terminal command and I receive a series of warnings for vclient, vkernel, vshared, and vrebort

/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: ./v4rb_cocoa_64.dylib

I then try to run the app on a different clean arm mac and it crashes.

Crash report indicates code signature invalid.

As a side note, if I build it using Universal I can run the app on an Arm Mac using Rosetta.

Any ideas on what what I am doing wrong?
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hello Scott,

Valentina libraries are signed for passing Apple notarization, a deployment script changes them, so the signature becomes invalid.

I remember there are some strange differences in running apps natively and using Rosetta, probably that’s one of them.

So you don’t sign the resulting app with your certificate, right?
I think removing the signature may help, there a few threads about it on Stack Overflow.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.