1. Jonathan Ashwell
  2. Valentina Database ADK
  3. 月, 1月 17 2022, 05:17 PM
  4.  メールで購読
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.
添付ファイル
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hello Jonathan,

What versions of Monterey and Xojo are used?
コメント
There are no comments made yet.
Jonathan Ashwell 承諾済みの回答
The most recent versions of each:

Monterey 12.1

Xojo 2021R3.1
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Do you have a code signing in this app?
If yes - the following thread suggests disabling library validation or re-signing the dependent libraries.
参照
  1. https://developer.apple.com/forums/thread/126895
コメント
There are no comments made yet.
Jonathan Ashwell 承諾済みの回答
Hm, I already resign all Valentina libraries as part of the codesigning process.
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
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.
コメント
There are no comments made yet.
Jonathan Ashwell 承諾済みの回答
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.
添付ファイル
コメント
There are no comments made yet.
Jonathan Ashwell 承諾済みの回答
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.
コメント
There are no comments made yet.
  • ページ :
  • 1


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