1. Jonathan Ashwell
  2. Valentina Database ADK
  3. Monday, January 17 2022, 05:17 PM
  4.  Subscribe via email
Using Xojo plugin 11.4.3 in Monterey -> no problem. But when I try to run in Monterey I get a Valentina runtime error, and upgrading to the current Valentina release doesn't fix it. I've uploaded a screen snap of the error.
Attachments (1)
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hello Jonathan,

What versions of Monterey and Xojo are used?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 1
Jonathan Ashwell Accepted Answer
The most recent versions of each:

Monterey 12.1

Xojo 2021R3.1
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 2
Sergey Pashkov Accepted Answer
Do you have a code signing in this app?
If yes - the following thread suggests disabling library validation or re-signing the dependent libraries.
References
  1. https://developer.apple.com/forums/thread/126895
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 3
Jonathan Ashwell Accepted Answer
Hm, I already resign all Valentina libraries as part of the codesigning process.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 4
Sergey Pashkov Accepted Answer
During this process - do you call install vcomponents script that copies libraries to the app bundle?
As shown on the screenshot with this error the plugin tries to load libraries from /usr/local/lib/vcomponents_x64.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 5
Jonathan Ashwell Accepted Answer
I see my first post had a nasty type. Signing works in Mojave, fails in Monterey.

Yes, I call the install script provided provided by Paradigmasoft. And the dylibs are in /usr/local/lib

If I turn off codesigning the app just crashes on launch.

The part of the report that seems the most interesting is "libvshared_fat_release_x64.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs)". I'm not sure what the Team ID refers to, though.

I googled this and found a post from @Beatrix Willius# another crash involving signing of

vcomponents_x64/libvshared_fat_release_x64.dylib

but that was in High Sierra (which my app compiled fine in), so may not be related at all.

crash post

Maybe Beatrix will get in on this conversation.
Attachments (1)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 6
Jonathan Ashwell Accepted Answer
Solved - I updated the XCode command line tools in Terminal:

xcode-select --install

and no longer get the error.

Thanks for pointing me towards codesigning as the culprit, it helped me track this down.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 7
  • Page :
  • 1


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

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories