isteinbrecher / latex2ai

LaTeX Plugin for Adobe Illustrator
MIT License
162 stars 5 forks source link

Plugin crash in AI 2025 #173

Open zhuoqun-chen opened 18 hours ago

zhuoqun-chen commented 18 hours ago
image

either custom plugin location or all-user path won't work.

I'm using Mac M1 Sequoia 15.0.1 with Adobe Illustrator 2025.

Any help would be appreciated @isteinbrecher @Nikita240 @dzhi1993

zhuoqun-chen commented 17 hours ago

solved by trusting any software to be opened as described in https://gist.github.com/hoishing/cadd905b095e15531467255b537f6906

isteinbrecher commented 14 hours ago

Thanks @zhuoqun-chen for reporting this. We never experienced that error. Could you post your macOS versions and if you have an intel or apple processor? Also could you post the xml file you used to solve this? Then we can add this to the installation instructions.

zhuoqun-chen commented 4 hours ago

Hi @isteinbrecher, I'm using MacOS 15 M1 (apple processor). And here are some snippets from the original gist that I found that solved my problem:

Starting from macOS 15, sudo spctl --master-disable is no longer supported to disable Gatekeeper.
We need to disbale it with Configuration Profiles.

And the provided sample.mobileconfig is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>PayloadContent</key>
    <array>
      <dict>
        <key>PayloadType</key>
        <string>com.apple.systempolicy.control</string>
        <key>PayloadUUID</key>
        <string>FIRST-UUID-HERE</string>
        <key>PayloadIdentifier</key>
        <string>com.yourcompany.profile.systempolicy</string>
        <key>PayloadDisplayName</key>
        <string>System Policy Control</string>
        <key>PayloadDescription</key>
        <string>Configures System Policy Control settings</string>
        <key>PayloadVersion</key>
        <integer>1</integer>
        <key>EnableAssessment</key>
        <false />
      </dict>
    </array>
    <key>PayloadDisplayName</key>
    <string>Disable Gatekeeper</string>
    <key>PayloadIdentifier</key>
    <string>com.yourcompany.profile</string>
    <key>PayloadRemovalDisallowed</key>
    <false />
    <key>PayloadScope</key>
    <string>System</string>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadUUID</key>
    <string>SECOND-UUID-HERE</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
  </dict>
</plist>

I summarized how to create your own script by the provided sample.

  1. use uuidgen create 2 uuids in terminal
  2. replace <string>FIRST-UUID-HERE</string> with your actual first uuid in the terminal stdout
  3. replace <string>SECOND-UUID-HERE</string> with your actual second uuid in the terminal stdout
  4. double click the .mobileconfig file to install the profile on your Mac
  5. in system pereferences -> device management, click to open the profile and enable it
  6. restart the Mac

Attention ⚠️⚠️⚠️

but people needs to use this method at their own risk because in general it will allow any non-notarized apps being run without additional asking. Here is what it looks like in Privacy & Security section after restarting the computer:

image