Closed Tanner closed 10 years ago
I'm sorry, but Tribo doesn't support 32-bit processors.
On Aug 25, 2013, at 4:32 PM, Tanner Smith notifications@github.com wrote:
Cloned and set up git's submodules and the certificate according to the README.
Compiling the app in Xcode results in the build failing:
CompileC "/Users/tanner/Library/Developer/Xcode/DerivedData/Tribo-giznqtyopqzclecgnwwyjtagvumb/Build/Intermediates/Tribo.build/Debug/Authentication Tool.build/Objects-normal/i386/NSResponder+TBAdditions.o" "Shared/System Additions/NSResponder+TBAdditions.m" normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler cd /Users/tanner/Downloads/Tribo 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 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wmissing-field-initializers -Wmissing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wmissing-braces -Wparentheses -Wswitch -Wno-unused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wconversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -Wno-sign-conversio n -iquot e "/Users/tanner/Library/Developer/Xcode/DerivedData/Tribo-giznqtyopqzclecgnwwyjtagvumb/Build/Intermediates/Tribo.build/Debug/Authentication Tool.build/Tribo Authentication Tool-generated-files.hmap" "-I/Users/tanner/Library/Developer/Xcode/DerivedData/Tribo-giznqtyopqzclecgnwwyjtagvumb/Build/Intermediates/Tribo.build/Debug/Authentication Tool.build/Tribo Authentication Tool-own-target-headers.hmap" "-I/Users/tanner/Library/Developer/Xcode/DerivedData/Tribo-giznqtyopqzclecgnwwyjtagvumb/Build/Intermediates/Tribo.build/Debug/Authentication Tool.build/Tribo Authentication Tool-all-target-headers.hmap" -iquote "/Users/tanner/Library/Developer/Xcode/DerivedData/Tribo-giznqtyopqzclecgnwwyjtagvumb/Build/Intermediates/Tribo.build/Debug/Authentication Tool.build/Tribo Authentication Tool-project-headers.hmap" -I/Users/tanner/Library/Developer/Xcode/DerivedData/Tribo-giznqtyopqzclecgnwwyjtagvumb/Build/Products/Debug/include -IDependencies -IDependencies/CocoaHTTPServer -IDependencies/ CurlHand le -IDependencies/CZAFileWatcher -IDependencies/GRMustache -IDependencies/Rsync -IDependencies/Sundown -IDependencies/CocoaHTTPServer/Core -IDependencies/CocoaHTTPServer/Extensions -IDependencies/CocoaHTTPServer/Samples -IDependencies/CocoaHTTPServer/Vendor -IDependencies/CurlHandle/CURLHandleSource -IDependencies/CurlHandle/CURLHandleTesterSource -IDependencies/CurlHandle/Documentation -IDependencies/GRMustache/Articles -IDependencies/GRMustache/Guides -IDependencies/GRMustache/include -IDependencies/GRMustache/lib -IDependencies/GRMustache/Reference -IDependencies/GRMustache/src -IDependencies/Sundown/examples -IDependencies/Sundown/html -IDependencies/Sundown/src -IDependencies/CocoaHTTPServer/Core/Categories -IDependencies/CocoaHTTPServer/Core/Mime -IDependencies/CocoaHTTPServer/Core/Responses -IDependencies/CocoaHTTPServer/Extensions/WebDAV -IDependencies/CocoaHTTPServer/Samples/DynamicServer -IDependencies/CocoaHTTPServer/Samples/iPhoneHTTPServer -IDependencies/CocoaHT TPServer /Samples/PasswdHTTPServer -IDependencies/CocoaHTTPServer/Samples/PostHTTPServer -IDependencies/CocoaHTTPServer/Samples/SecureHTTPServer -IDependencies/CocoaHTTPServer/Samples/SecureWebSocketServer -IDependencies/CocoaHTTPServer/Samples/SimpleFileUploadServer -IDependencies/CocoaHTTPServer/Samples/SimpleHTTPServer -IDependencies/CocoaHTTPServer/Samples/SimpleWebSocketServer -IDependencies/CocoaHTTPServer/Samples/WebDAVServer -IDependencies/CocoaHTTPServer/Samples/Xcode-Configurations -IDependencies/CocoaHTTPServer/Vendor/CocoaAsyncSocket -IDependencies/CocoaHTTPServer/Vendor/CocoaLumberjack -IDependencies/GRMustache/Guides/runtime -IDependencies/GRMustache/Guides/sample_code -IDependencies/GRMustache/Reference/html -IDependencies/GRMustache/src/bin -IDependencies/GRMustache/src/classes -IDependencies/GRMustache/src/tests -IDependencies/GRMustache/src/vendor -IDependencies/CocoaHTTPServer/Samples/DynamicServer/Web -IDependencies/CocoaHTTPServer/Samples/iPhoneHTTPServer/Classes -IDepen dencies/CocoaHTTPServer/Samples/iPhoneHTTPServer/Web -IDependencies/CocoaHTTPServer/Samples/PostHTTPServer/Web -IDependencies/CocoaHTTPServer/Samples/SecureWebSocketServer/SecureWebSocketServer -IDependencies/CocoaHTTPServer/Samples/SimpleFileUploadServer/SimpleFileUploadServer -IDependencies/CocoaHTTPServer/Samples/SimpleWebSocketServer/Web -IDependencies/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions -IDependencies/GRMustache/Guides/sample_code/indexes -IDependencies/GRMustache/Guides/sample_code/layout -IDependencies/GRMustache/Reference/html/Categories -IDependencies/GRMustache/Reference/html/Classes -IDependencies/GRMustache/Reference/html/css -IDependencies/GRMustache/Reference/html/img -IDependencies/GRMustache/Reference/html/Protocols -IDependencies/GRMustache/src/tests/Private -IDependencies/GRMustache/src/tests/Public -IDependencies/GRMustache/src/tests/vendor -IDependencies/GRMustache/src/vendor/groue -IDependencies/CocoaHTTPServer/Samples/SecureWebSocketServer /SecureW ebSocketServer/Web -IDependencies/CocoaHTTPServer/Samples/SimpleFileUploadServer/SimpleFileUploadServer/web -IDependencies/GRMustache/Guides/sample_code/indexes/GRMustacheIndexes -IDependencies/GRMustache/Guides/sample_code/layout/GRMustacheLayout -IDependencies/GRMustache/src/tests/Private/GRPreventNSUndefinedKeyExceptionAttackTest.xcdatamodeld -IDependencies/GRMustache/src/tests/Public/v6.0 -IDependencies/GRMustache/src/tests/Public/v6.2 -IDependencies/GRMustache/src/tests/Public/v6.3 -IDependencies/GRMustache/src/tests/Public/v6.4 -IDependencies/GRMustache/src/tests/Public/v6.6 -IDependencies/GRMustache/src/tests/Public/v6.7 -IDependencies/GRMustache/src/tests/vendor/groue -IDependencies/GRMustache/src/tests/vendor/mustache -IDependencies/GRMustache/src/vendor/groue/jrswizzle -IDependencies/GRMustache/src/tests/Private/GRPreventNSUndefinedKeyExceptionAttackTest.xcdatamodeld/GRPreventNSUndefinedKeyExceptionAttackTest.xcdatamodel -IDependencies/GRMustache/src/tests/Public/v 6.0/GRMu stacheSuites -IDependencies/GRMustache/src/tests/Public/v6.0/GRMustacheTemplateRepositoryTest -IDependencies/GRMustache/src/tests/Public/v6.0/GRMustacheTemplateRepositoryTest_ISOLatin1 -IDependencies/GRMustache/src/tests/Public/v6.0/GRMustacheTemplateRepositoryTest_UTF8 -IDependencies/GRMustache/src/tests/Public/v6.4/GRMustacheLocalizerTestBundle -IDependencies/GRMustache/src/tests/vendor/groue/JSONKit -IDependencies/GRMustache/src/tests/vendor/mustache/spec -IDependencies/GRMustache/src/tests/Public/v6.0/GRMustacheTemplateRepositoryTest/partials -IDependencies/GRMustache/src/tests/Public/v6.0/GRMustacheTemplateRepositoryTest_ISOLatin1/dir -IDependencies/GRMustache/src/tests/Public/v6.0/GRMustacheTemplateRepositoryTest_UTF8/dir -IDependencies/GRMustache/src/tests/Public/v6.0/GRMustacheTemplateRepositoryTest_ISOLatin1/dir/dir -IDependencies/GRMustache/src/tests/Public/v6.0/GRMustacheTemplateRepositoryTest_UTF8/dir/dir "-I/Users/tanner/Library/Developer/Xcode/DerivedData/Tribo -giznqty opqzclecgnwwyjtagvumb/Build/Intermediates/Tribo.build/Debug/Authentication Tool.build/DerivedSources/i386" "-I/Users/tanner/Library/Developer/Xcode/DerivedData/Tribo-giznqtyopqzclecgnwwyjtagvumb/Build/Intermediates/Tribo.build/Debug/Authentication Tool.build/DerivedSources" -F/Users/tanner/Library/Developer/Xcode/DerivedData/Tribo-giznqtyopqzclecgnwwyjtagvumb/Build/Products/Debug -MMD -MT dependencies -MF "/Users/tanner/Library/Developer/Xcode/DerivedData/Tribo-giznqtyopqzclecgnwwyjtagvumb/Build/Intermediates/Tribo.build/Debug/Authentication Tool.build/Objects-normal/i386/NSResponder+TBAdditions.d" --serialize-diagnostics "/Users/tanner/Library/Developer/Xcode/DerivedData/Tribo-giznqtyopqzclecgnwwyjtagvumb/Build/Intermediates/Tribo.build/Debug/Authentication Tool.build/Objects-normal/i386/NSResponder+TBAdditions.dia" -c "/Users/tanner/Downloads/Tribo/Shared/System Additions/NSResponder+TBAdditions.m" -o "/Users/tanner/Library/Developer/Xcode/DerivedData/Tribo-giznqtyopqzclec gnwwyjta gvumb/Build/Intermediates/Tribo.build/Debug/Authentication Tool.build/Objects-normal/i386/NSResponder+TBAdditions.o"
error: -fobjc-arc is not supported on platforms using the legacy runtime Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1 Fixed by turning ARC off for the "Tribo" and "Authentication Tool" target.
I'm on OS 10.8.4, Xcode 4.6.3.
— Reply to this email directly or view it on GitHub.
For some reason the target was only set to compile using 32-bit. TBSettingsSheet will not open. I'm guessing due to this, you're using Xcode 5 at this point?
That's correct. It should never have attempted to build for 32-bit processors: are you using a 32-bit-only machine?
On Aug 25, 2013, at 5:57 PM, Tanner Smith notifications@github.com wrote:
For some reason the target was only set to compile using 32-bit. TBSettingsSheet will not open. I'm guessing due to this, you're using Xcode 5 at this point?
— Reply to this email directly or view it on GitHub.
No, I am not. After doing some reading, it seems the architecture $(NATIVE_ARCH) is inconsistent/unreliable between projects on the same machine/different machines. Sometimes it's 32 bit for some reason.
Changing the architecture on all targets to "Standard" allows me to change the project to 64 bit which then allows to compile. However, Authentication Tool was unable to find NSResponder, so AppKit needed to be included.
After that, everything seems to be fine. I'm hitting the TBSettingsSheet Xcode 5 roadblock, so I'm of no further help (sad).
The architecture issue is mysterious. I'll look in to that further.
The Authentication Tool shouldn't require NSResponder at all. Can you give me any more information about the error you were getting?
Finally, I just pushed a downgrade of the TBSettingsSheet.xib Xcode version requirement in 7968963c00e0b74f6221b5b46a2cf1e3d79a8415, which will hopefully allow you to work on that file.
I found out why Authentication Tool was dependent on NSResponder – the target has NSResponder+TBAdditions listed in "Compile Sources". The method defined in NSResponder+TBAdditions isn't called anywhere in Authentication Tool, so I think it was added accidentally.
After the downgrade of TBSettingsSheet (thanks!) and removing NSResponder+TBAdditions from Authentication Tool target, everything compiles and runs fine. :+1:
Cloned and set up git's submodules and the certificate according to the README.
Compiling the app in Xcode results in the build failing:
Fixed by turning ARC off for the "Tribo" and "Authentication Tool" target.
I'm on OS 10.8.4, Xcode 4.6.3.