From 979dfe50b87f8a906a068e0370f9edcb8e83ce31 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik <bubnikv@gmail.com> Date: Wed, 20 Jan 2021 09:21:16 +0100 Subject: [PATCH] OSX specific, needed after update of Xcode to 12.2 with OSX SDK 11.1, where we have issues with false positives of address sanitizer https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow#false-positives Setting ASAN_OPTIONS=detect_container_overflow=0 inside Info.plist --- src/platform/osx/Info.plist.in | 183 +++++++++++++++++---------------- 1 file changed, 94 insertions(+), 89 deletions(-) diff --git a/src/platform/osx/Info.plist.in b/src/platform/osx/Info.plist.in index e3a690662..46858bb29 100644 --- a/src/platform/osx/Info.plist.in +++ b/src/platform/osx/Info.plist.in @@ -23,98 +23,103 @@ <key>CFBundleVersion</key> <string>@SLIC3R_BUILD_ID@</string> <key>CFBundleDocumentTypes</key> - <array> - <dict> - <key>CFBundleTypeExtensions</key> - <array> - <string>stl</string> - <string>STL</string> - </array> - <key>CFBundleTypeIconFile</key> - <string>stl.icns</string> - <key>CFBundleTypeName</key> + <array> + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>stl</string> <string>STL</string> - <key>CFBundleTypeRole</key> - <string>Viewer</string> - <key>LISsAppleDefaultForType</key> - <true/> - <key>LSHandlerRank</key> - <string>Alternate</string> - </dict> - <dict> - <key>CFBundleTypeExtensions</key> - <array> - <string>obj</string> - <string>OBJ</string> - </array> - <key>CFBundleTypeIconFile</key> - <string>PrusaSlicer.icns</string> - <key>CFBundleTypeName</key> - <string>STL</string> - <key>CFBundleTypeRole</key> - <string>Viewer</string> - <key>LISsAppleDefaultForType</key> - <true/> - <key>LSHandlerRank</key> - <string>Alternate</string> - </dict> - <dict> - <key>CFBundleTypeExtensions</key> - <array> - <string>amf</string> - <string>AMF</string> - </array> - <key>CFBundleTypeIconFile</key> - <string>PrusaSlicer.icns</string> - <key>CFBundleTypeName</key> + </array> + <key>CFBundleTypeIconFile</key> + <string>stl.icns</string> + <key>CFBundleTypeName</key> + <string>STL</string> + <key>CFBundleTypeRole</key> + <string>Viewer</string> + <key>LISsAppleDefaultForType</key> + <true/> + <key>LSHandlerRank</key> + <string>Alternate</string> + </dict> + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>obj</string> + <string>OBJ</string> + </array> + <key>CFBundleTypeIconFile</key> + <string>PrusaSlicer.icns</string> + <key>CFBundleTypeName</key> + <string>STL</string> + <key>CFBundleTypeRole</key> + <string>Viewer</string> + <key>LISsAppleDefaultForType</key> + <true/> + <key>LSHandlerRank</key> + <string>Alternate</string> + </dict> + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>amf</string> <string>AMF</string> - <key>CFBundleTypeRole</key> - <string>Viewer</string> - <key>LISsAppleDefaultForType</key> - <true/> - <key>LSHandlerRank</key> - <string>Alternate</string> - </dict> - <dict> - <key>CFBundleTypeExtensions</key> - <array> - <string>3mf</string> - <string>3MF</string> - </array> - <key>CFBundleTypeIconFile</key> - <string>PrusaSlicer.icns</string> - <key>CFBundleTypeName</key> + </array> + <key>CFBundleTypeIconFile</key> + <string>PrusaSlicer.icns</string> + <key>CFBundleTypeName</key> + <string>AMF</string> + <key>CFBundleTypeRole</key> + <string>Viewer</string> + <key>LISsAppleDefaultForType</key> + <true/> + <key>LSHandlerRank</key> + <string>Alternate</string> + </dict> + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>3mf</string> <string>3MF</string> - <key>CFBundleTypeRole</key> - <string>Viewer</string> - <key>LISsAppleDefaultForType</key> - <true/> - <key>LSHandlerRank</key> - <string>Alternate</string> - </dict> - <dict> - <key>CFBundleTypeExtensions</key> - <array> - <string>gcode</string> - <string>GCODE</string> - </array> - <key>CFBundleTypeIconFile</key> - <string>gcode.icns</string> - <key>CFBundleTypeName</key> + </array> + <key>CFBundleTypeIconFile</key> + <string>PrusaSlicer.icns</string> + <key>CFBundleTypeName</key> + <string>3MF</string> + <key>CFBundleTypeRole</key> + <string>Viewer</string> + <key>LISsAppleDefaultForType</key> + <true/> + <key>LSHandlerRank</key> + <string>Alternate</string> + </dict> + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>gcode</string> <string>GCODE</string> - <key>CFBundleTypeRole</key> - <string>Viewer</string> - <key>LISsAppleDefaultForType</key> - <true/> - <key>LSHandlerRank</key> - <string>Alternate</string> - </dict> - </array> - <key>LSMinimumSystemVersion</key> - <string>10.10</string> - <key>NSPrincipalClass</key> - <string>NSApplication</string> - <key>NSHighResolutionCapable</key> - <true/> + </array> + <key>CFBundleTypeIconFile</key> + <string>gcode.icns</string> + <key>CFBundleTypeName</key> + <string>GCODE</string> + <key>CFBundleTypeRole</key> + <string>Viewer</string> + <key>LISsAppleDefaultForType</key> + <true/> + <key>LSHandlerRank</key> + <string>Alternate</string> + </dict> + </array> + <key>LSMinimumSystemVersion</key> + <string>10.10</string> + <key>NSPrincipalClass</key> + <string>NSApplication</string> + <key>NSHighResolutionCapable</key> + <true/> + <key>LSEnvironment</key> + <dict> + <key>ASAN_OPTIONS</key> + <string>detect_container_overflow=0</string> </dict> +</dict> </plist>