gulrotkake / fsmonitor Goto Github PK
View Code? Open in Web Editor NEWA tool that monitors changes in a directory structure using the FSEvents API.
A tool that monitors changes in a directory structure using the FSEvents API.
Reproducible with xcodebuild on command line and interactively in Xcode: Debug-build succeeds, Release-build fails:
=== BUILD NATIVE TARGET fswatch OF PROJECT fswatch WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
CompileC build/fswatch.build/Release/fswatch.build/Objects-normal/i386/main.o main.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/mag/prog/fswatch
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -std=gnu99 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -iquote /Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/fswatch-generated-files.hmap -I/Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/fswatch-own-target-headers.hmap -I/Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/fswatch-all-target-headers.hmap -iquote /Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/fswatch-project-headers.hmap -I/Users/mag/prog/fswatch/build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/DerivedSources/i386 -I/Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/DerivedSources -F/Users/mag/prog/fswatch/build/Release -MMD -MT dependencies -MF /Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/Objects-normal/i386/main.d --serialize-diagnostics /Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/Objects-normal/i386/main.dia -c /Users/mag/prog/fswatch/main.m -o /Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/Objects-normal/i386/main.o
/Users/mag/prog/fswatch/main.m:28:13: error: synthesized property 'tree' must either be named the same as a compatible instance variable or must explicitly name an instance variable
@synthesize tree, addScripts, delScripts, modScripts;
^
/Users/mag/prog/fswatch/main.m:28:19: error: synthesized property 'addScripts' must either be named the same as a compatible instance variable or must explicitly name an instance variable
@synthesize tree, addScripts, delScripts, modScripts;
^
/Users/mag/prog/fswatch/main.m:28:31: error: synthesized property 'delScripts' must either be named the same as a compatible instance variable or must explicitly name an instance variable
@synthesize tree, addScripts, delScripts, modScripts;
^
/Users/mag/prog/fswatch/main.m:28:43: error: synthesized property 'modScripts' must either be named the same as a compatible instance variable or must explicitly name an instance variable
@synthesize tree, addScripts, delScripts, modScripts;
^
4 errors generated.
CompileC build/fswatch.build/Release/fswatch.build/Objects-normal/i386/fstree.o fstree.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/mag/prog/fswatch
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -std=gnu99 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -iquote /Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/fswatch-generated-files.hmap -I/Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/fswatch-own-target-headers.hmap -I/Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/fswatch-all-target-headers.hmap -iquote /Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/fswatch-project-headers.hmap -I/Users/mag/prog/fswatch/build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/DerivedSources/i386 -I/Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/DerivedSources -F/Users/mag/prog/fswatch/build/Release -MMD -MT dependencies -MF /Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/Objects-normal/i386/fstree.d --serialize-diagnostics /Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/Objects-normal/i386/fstree.dia -c /Users/mag/prog/fswatch/fstree.m -o /Users/mag/prog/fswatch/build/fswatch.build/Release/fswatch.build/Objects-normal/i386/fstree.o
/Users/mag/prog/fswatch/fstree.m:13:13: error: synthesized property 'fileName' must either be named the same as a compatible instance variable or must explicitly name an instance variable
@synthesize fileName, attributes;
^
/Users/mag/prog/fswatch/fstree.m:13:23: error: synthesized property 'attributes' must either be named the same as a compatible instance variable or must explicitly name an instance variable
@synthesize fileName, attributes;
^
/Users/mag/prog/fswatch/fstree.m:43:13: error: synthesized property 'pathTree' must either be named the same as a compatible instance variable or must explicitly name an instance variable
@synthesize pathTree, fileManager, changesListener, scanRecursively;
^
/Users/mag/prog/fswatch/fstree.m:43:23: error: synthesized property 'fileManager' must either be named the same as a compatible instance variable or must explicitly name an instance variable
@synthesize pathTree, fileManager, changesListener, scanRecursively;
^
/Users/mag/prog/fswatch/fstree.m:43:36: error: synthesized property 'changesListener' must either be named the same as a compatible instance variable or must explicitly name an instance variable
@synthesize pathTree, fileManager, changesListener, scanRecursively;
^
/Users/mag/prog/fswatch/fstree.m:43:53: error: synthesized property 'scanRecursively' must either be named the same as a compatible instance variable or must explicitly name an instance variable
@synthesize pathTree, fileManager, changesListener, scanRecursively;
^
6 errors generated.
** BUILD FAILED **
The following build commands failed:
CompileC build/fswatch.build/Release/fswatch.build/Objects-normal/i386/main.o main.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/fswatch.build/Release/fswatch.build/Objects-normal/i386/fstree.o fstree.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.