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

44973640: Spotlight Importer fails on Mojave with SIP enabled. Code signature error "not valid for use in process using Library Validation: mapping process is a platform binary, but mapped file is not" #20512

Open
openradar-mirror opened this issue Oct 3, 2018 · 2 comments

Comments

@openradar-mirror
Copy link

Description

Summary:
Spotlight Importer fails on Mojave with SIP enabled. Code signature error "not valid for use in process using Library Validation: mapping process is a platform binary, but mapped file is not"

This affects the production version of Evernote (version 7.5)

The importer works as expected if SIP is disabled

Steps to Reproduce:

  • Ensure that SIP is enabled
  • Launch Evernote
  • Create a new account or sign in with an existing one
  • Create a few notes with unique or distinct titles
  • Test the Spotlight Importer by running:
    mdimport -g <path/to/importer> -d2 <path/to/external/record>

Expected Results:
mdimport should output at least a kMDItemTitle attribute for the given record

Actual Results:
No title attribute is output. An error similar to the following is observed in the console:

<path/to/importer>: code signature in (<path/to/importer>) not valid for use in process using Library Validation: mapping process is a platform binary, but mapped file is not

Version/Build:
macOS 10.14 (18A391)

Configuration:

Product Version: 10.14 (18A391)
Created: 2018-10-03T15:48:07.416930
Originated: 2018-10-03T00:00:00
Open Radar Link: http://www.openradar.me/44973640

@cbfiddle
Copy link

cbfiddle commented Dec 7, 2018

I have encountered the same problem with my application.

@cbfiddle
Copy link

cbfiddle commented Dec 8, 2018

I have also observed this failure running mdimport on a Spotlight importer that appears to work (QuarkExpress). It may be that mdimport is broken, but normal Spotlight does not use it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants