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

Compilation issue #4

Open
jacubero opened this issue Dec 25, 2015 · 0 comments
Open

Compilation issue #4

jacubero opened this issue Dec 25, 2015 · 0 comments

Comments

@jacubero
Copy link

When compiling I get the following error:

sudo xcodebuild -project PDFFonts.xcodeproj
Password:
=== BUILD TARGET PDFFonts OF PROJECT PDFFonts WITH THE DEFAULT CONFIGURATION (Release) ===

Check dependencies

CompileC build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/DocumentProcessor.o DocumentProcessor.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/jacubero/Template/PDFFonts
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=204 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Werror -Werror=incompatible-pointer-types -Werror-implicit-function-declaration -Wmissing-field-initializers -Wmissing-prototypes -Wdocumentation -Wunreachable-code -Wimplicit-atomic-properties -Wobjc-missing-property-synthesis -Warc-repeated-use-of-weak -Wexplicit-ownership-type -Wimplicit-retain-self -Wduplicate-method-match -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wunknown-pragmas -pedantic -Wshadow -Wfour-char-constants -Wconversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wassign-enum -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wstrict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.11 -g -fvisibility=hidden -Wsign-conversion -I/Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/PDFFonts.hmap -I/Users/jacubero/Template/PDFFonts/build/Release/include -I/Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/DerivedSources/x86_64 -I/Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/DerivedSources -F/Users/jacubero/Template/PDFFonts/build/Release -MMD -MT dependencies -MF /Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/DocumentProcessor.d --serialize-diagnostics /Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/DocumentProcessor.dia -c /Users/jacubero/Template/PDFFonts/DocumentProcessor.m -o /Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/DocumentProcessor.o

CompileC build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/PDFFonts.o PDFFonts.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/jacubero/Template/PDFFonts
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=204 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Werror -Werror=incompatible-pointer-types -Werror-implicit-function-declaration -Wmissing-field-initializers -Wmissing-prototypes -Wdocumentation -Wunreachable-code -Wimplicit-atomic-properties -Wobjc-missing-property-synthesis -Warc-repeated-use-of-weak -Wexplicit-ownership-type -Wimplicit-retain-self -Wduplicate-method-match -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wunknown-pragmas -pedantic -Wshadow -Wfour-char-constants -Wconversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wassign-enum -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wstrict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.11 -g -fvisibility=hidden -Wsign-conversion -I/Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/PDFFonts.hmap -I/Users/jacubero/Template/PDFFonts/build/Release/include -I/Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/DerivedSources/x86_64 -I/Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/DerivedSources -F/Users/jacubero/Template/PDFFonts/build/Release -MMD -MT dependencies -MF /Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/PDFFonts.d --serialize-diagnostics /Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/PDFFonts.dia -c /Users/jacubero/Template/PDFFonts/PDFFonts.m -o /Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/PDFFonts.o

CompileC build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/Application.o Application.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/jacubero/Template/PDFFonts
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=204 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Werror -Werror=incompatible-pointer-types -Werror-implicit-function-declaration -Wmissing-field-initializers -Wmissing-prototypes -Wdocumentation -Wunreachable-code -Wimplicit-atomic-properties -Wobjc-missing-property-synthesis -Warc-repeated-use-of-weak -Wexplicit-ownership-type -Wimplicit-retain-self -Wduplicate-method-match -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wunknown-pragmas -pedantic -Wshadow -Wfour-char-constants -Wconversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wassign-enum -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wstrict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.11 -g -fvisibility=hidden -Wsign-conversion -I/Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/PDFFonts.hmap -I/Users/jacubero/Template/PDFFonts/build/Release/include -I/Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/DerivedSources/x86_64 -I/Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/DerivedSources -F/Users/jacubero/Template/PDFFonts/build/Release -MMD -MT dependencies -MF /Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/Application.d --serialize-diagnostics /Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/Application.dia -c /Users/jacubero/Template/PDFFonts/Application.m -o /Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/Application.o

CompileC build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/FontList.o FontList.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/jacubero/Template/PDFFonts
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=204 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Werror -Werror=incompatible-pointer-types -Werror-implicit-function-declaration -Wmissing-field-initializers -Wmissing-prototypes -Wdocumentation -Wunreachable-code -Wimplicit-atomic-properties -Wobjc-missing-property-synthesis -Warc-repeated-use-of-weak -Wexplicit-ownership-type -Wimplicit-retain-self -Wduplicate-method-match -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wunknown-pragmas -pedantic -Wshadow -Wfour-char-constants -Wconversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wassign-enum -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wstrict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.11 -g -fvisibility=hidden -Wsign-conversion -I/Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/PDFFonts.hmap -I/Users/jacubero/Template/PDFFonts/build/Release/include -I/Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/DerivedSources/x86_64 -I/Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/DerivedSources -F/Users/jacubero/Template/PDFFonts/build/Release -MMD -MT dependencies -MF /Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/FontList.d --serialize-diagnostics /Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/FontList.dia -c /Users/jacubero/Template/PDFFonts/FontList.m -o /Users/jacubero/Template/PDFFonts/build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/FontList.o
/Users/jacubero/Template/PDFFonts/FontList.m:54:20: error: multiple methods named 'allObjects' found [-Werror,-Wstrict-selector-match]
NSArray *array = [data allObjects];
^~~~~~~~~~~~~~~~~
In file included from /Users/jacubero/Template/PDFFonts/FontList.m:33:
In file included from /Users/jacubero/Template/PDFFonts/FontList.h:33:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:6:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:42:49: note: using
@Property (readonly, copy) NSArray *allObjects;
^~~~~~~~~~
In file included from /Users/jacubero/Template/PDFFonts/FontList.m:33:
In file included from /Users/jacubero/Template/PDFFonts/FontList.h:33:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:58:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h:67:37: note: also found
@Property (readonly, copy) NSArray *allObjects;
^~~~~~~~~~
1 error generated.

** BUILD FAILED **

The following build commands failed:
CompileC build/PDFFonts.build/Release/PDFFonts.build/Objects-normal/x86_64/FontList.o FontList.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

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

No branches or pull requests

1 participant