Skip to content

Instantly share code, notes, and snippets.

CompileC /Users/danielzanchi/Developer/opencv2/opencv-4.x/build_xcframeworkxphoto/iphoneos/build/build-arm64-iphoneos/3rdparty/libwebp/OpenCV.build/Release-iphoneos/libwebp.build/Objects-normal/arm64/upsampling_neon.o /Users/danielzanchi/Developer/opencv2/opencv-4.x/3rdparty/libwebp/src/dsp/upsampling_neon.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'libwebp' from project 'OpenCV')
cd /Users/danielzanchi/Developer/opencv2/opencv-4.x
export LANG\=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target arm64-apple-ios9.0 -fmessage-length\=232 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wn
@DanielZanchi
DanielZanchi / copy URL
Created May 4, 2022 11:58
copy URL reference
if let fileRefURL = (url as NSURL).fileReferenceURL() as NSURL? {
print(fileRefURL)
let pasteboard = NSPasteboard.general
pasteboard.clearContents()
pasteboard.writeObjects([fileRefURL])
pasteboard.setString(fileRefURL.relativeString, forType: .fileURL)
}