Skip to content

Instantly share code, notes, and snippets.

@workwithnano
Created September 22, 2012 01:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save workwithnano/3764806 to your computer and use it in GitHub Desktop.
Save workwithnano/3764806 to your computer and use it in GitHub Desktop.
_kCFBooleanTrue4, what's with the number 4 at the end of the constant?
Nanos-MacBook-Air:zinemachine nano$ rake --trace
** Invoke default (first_time)
** Invoke simulator (first_time)
** Invoke build:simulator (first_time)
** Execute build:simulator
/usr/bin/env VM_KERNEL_PATH="/Library/RubyMotion/data/6.0/iPhoneSimulator/kernel-i386.bc" VM_OPT_LEVEL="0" /Library/RubyMotion/bin/ruby --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/RubyMotion.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/UIKit.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/CoreVideo.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/CoreImage.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/Security.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/Foundation.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/CoreGraphics.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/CoreFoundation.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/ImageIO.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/QuartzCore.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/CoreText.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/MobileCoreServices.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/CFNetwork.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/Accelerate.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/SystemConfiguration.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/AVFoundation.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/AudioToolbox.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/CoreMedia.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/MediaToolbox.bridgesupport" --uses-bs "/Library/RubyMotion/data/6.0/BridgeSupport/OpenGLES.bridgesupport" --emit-llvm "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/mtf_duo_viewcontroller.rb.i386.bc" MREP_F1048CDEC8A94BC282A72CE6453AC509 "/Users/nano/Dropbox/Projects/zinemachine/app/mtf_duo_viewcontroller.rb"
/Library/RubyMotion/bin/llc "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/mtf_duo_viewcontroller.rb.i386.bc" -o="./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/mtf_duo_viewcontroller.rb.i386.s" -march=x86 -relocation-model=pic -disable-fp-elim -jit-enable-eh -disable-cfi
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -fexceptions -c -arch i386 "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/mtf_duo_viewcontroller.rb.i386.s" -o "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/mtf_duo_viewcontroller.rb.i386.o"
/usr/bin/lipo -create "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/mtf_duo_viewcontroller.rb.i386.o" -output "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/mtf_duo_viewcontroller.rb.o"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ "./build/iPhoneSimulator-6.0-Development/objs/init.mm" -arch i386 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk" -miphoneos-version-min=6.0 -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/System/Library/Frameworks -fexceptions -fblocks -fobjc-legacy-dispatch -fobjc-abi-version=2 -c -o "./build/iPhoneSimulator-6.0-Development/objs/init.o"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -o "./build/iPhoneSimulator-6.0-Development/Zine Machine.app/Zine Machine" "./build/iPhoneSimulator-6.0-Development/objs/init.o" "./build/iPhoneSimulator-6.0-Development/objs/main.o" "/Library/RubyMotion/data/6.0/iPhoneSimulator/UIKit_stubs.o" "/Library/RubyMotion/data/6.0/iPhoneSimulator/Foundation_stubs.o" "/Library/RubyMotion/data/6.0/iPhoneSimulator/CoreGraphics_stubs.o" "/Library/RubyMotion/data/6.0/iPhoneSimulator/CoreFoundation_stubs.o" "/Library/RubyMotion/data/6.0/iPhoneSimulator/CFNetwork_stubs.o" "/Library/RubyMotion/data/6.0/iPhoneSimulator/AudioToolbox_stubs.o" "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/app_delegate.rb.o" "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/browser/mtf_browser_viewcontroller.rb.o" "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/config/constants.rb.o" "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/helpers/mtf_helper.rb.o" "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/lib/hash.rb.o" "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/mtf_duo_view.rb.o" "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/mtf_duo_viewcontroller.rb.o" "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/mtf_view.rb.o" "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/scissors/mtf_path_view.rb.o" "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/scissors/mtf_scissors_view.rb.o" "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/scissors/mtf_scissors_viewcontroller.rb.o" "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/zine/mtf_zine_page_view.rb.o" "./build/iPhoneSimulator-6.0-Development/objs/Users/nano/Dropbox/Projects/zinemachine/app/zine/mtf_zine_page_viewcontroller.rb.o" -arch i386 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk" -miphoneos-version-min=6.0 -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/System/Library/Frameworks -L/Library/RubyMotion/data/6.0/iPhoneSimulator -lmacruby-static -lobjc -licucore -framework UIKit -framework CoreVideo -framework CoreImage -framework Security -framework Foundation -framework CoreGraphics -framework CoreFoundation -framework ImageIO -framework QuartzCore -framework CoreText -framework MobileCoreServices -framework CFNetwork -framework Accelerate -framework SystemConfiguration -framework AVFoundation -framework AudioToolbox -framework CoreMedia -framework MediaToolbox -framework OpenGLES
Undefined symbols for architecture i386:
"_kCFBooleanTrue4", referenced from:
_MREP_F1048CDEC8A94BC282A72CE6453AC509 in mtf_duo_viewcontroller.rb.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
rake aborted!
Command failed with status (1): [/Applications/Xcode.app/Contents/Developer...]
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/file_utils.rb:53:in `create_shell_runner'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `call'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `sh'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:39:in `sh'
/Library/RubyMotion/lib/motion/project/builder.rb:375:in `build'
/Library/RubyMotion/lib/motion/project/app.rb:72:in `build'
/Library/RubyMotion/lib/motion/project.rb:51
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `execute'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `invoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:176:in `invoke_prerequisites'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `invoke_prerequisites'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:157:in `invoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:176:in `invoke_prerequisites'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `invoke_prerequisites'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:157:in `invoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `run'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/bin/rake:33
/usr/bin/rake:19:in `load'
/usr/bin/rake:19
Tasks: TOP => default => simulator => build:simulator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment