siuying / NanoStoreInMotion

RubyMotion wrapper for NanoStore, a lightweight schema-less key-value document database based on sqlite.
Other
103 stars 24 forks source link

Getting Error while running Rake #4

Closed raysrashmi closed 12 years ago

raysrashmi commented 12 years ago

i am using nanostore in my rubymotion app. i have installed all the thing mentioned in README file ruby version is ruby-1.9.3-p194 and motion 1.6 but when i am running rake command i am getting the following error -:

/Library/RubyMotion/lib/motion/project.rb:16: warning: Insecure world writable dir /usr/local in PATH, mode 040777
     Build ./build/iPhoneSimulator-5.1-Development
     Build vendor/Pods
Build settings from command line:
    ARCHS = i386
    CONFIGURATION_BUILD_DIR = build
    SDKROOT = iphonesimulator5.1

=== BUILD NATIVE TARGET Pods OF PROJECT Pods WITH CONFIGURATION Release ===
Check dependencies

ProcessPCH /var/folders/p8/ylt13v016xj6m4tntc01kn3m0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Pods-prefix-dvzstflxmctdrlaplrliflxextnz/Pods-prefix.pch.pth Pods-prefix.pch normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/rashmiyadav/mprojects/raffler/vendor/Pods
    setenv LANG en_US.US-ASCII
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/rashmiyadav/.rvm/gems/ruby-1.9.3-p194/bin:/Users/rashmiyadav/.rvm/gems/ruby-1.9.3-p194@global/bin:/Users/rashmiyadav/.rvm/rubies/ruby-1.9.3-p194/bin:/Users/rashmiyadav/.rvm/bin:/usr/local/bin:/Users/rashmiyadav/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/oracle/instantclient_10_2"
    /usr/bin/gcc-4.2 -x objective-c-header -arch i386 -fmessage-length=0 -std=gnu99 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wmissing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -fexceptions -fasm-blocks -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.6 -g -Wno-conversion -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -I/Users/rashmiyadav/mprojects/raffler/vendor/Pods/build/Pods.build/Release-iphonesimulator/Pods.build/Pods.hmap -I/Users/rashmiyadav/mprojects/raffler/vendor/Pods/build/include -I/Users/rashmiyadav/mprojects/raffler/vendor/Pods/Headers -I/Users/rashmiyadav/mprojects/raffler/vendor/Pods/Headers/NanoStore -I/Users/rashmiyadav/mprojects/raffler/vendor/Pods/build/Pods.build/Release-iphonesimulator/Pods.build/DerivedSources/i386 -I/Users/rashmiyadav/mprojects/raffler/vendor/Pods/build/Pods.build/Release-iphonesimulator/Pods.build/DerivedSources -F/Users/rashmiyadav/mprojects/raffler/vendor/Pods/build -fobjc-arc --serialize-diagnostics /var/folders/p8/ylt13v016xj6m4tntc01kn3m0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Pods-prefix-dvzstflxmctdrlaplrliflxextnz/Pods-prefix.pch.dia -c /Users/rashmiyadav/mprojects/raffler/vendor/Pods/Pods-prefix.pch -o /var/folders/p8/ylt13v016xj6m4tntc01kn3m0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Pods-prefix-dvzstflxmctdrlaplrliflxextnz/Pods-prefix.pch.pth -MMD -MT dependencies -MF /var/folders/p8/ylt13v016xj6m4tntc01kn3m0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Pods-prefix-dvzstflxmctdrlaplrliflxextnz/Pods-prefix.pch.d
2012-05-23 15:35:12.739 xcodebuild[10188:4c03]  DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-1197/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCCommandLineToolSpecification.m:817
Details:  Unable to get message category info for tool '/usr/bin/gcc-4.2'.
Reason: i686-apple-darwin11-gcc-4.2.1: no input files

Object:   <XCCompilerSpecificationClang: 0x4009b37e0>
Method:   -messageCategoryInfoForExecutablePath:
Thread:   <NSThread: 0x4010b0020>{name = (null), num = 4}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
i686-apple-darwin11-gcc-4.2.1: /var/folders/p8/ylt13v016xj6m4tntc01kn3m0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Pods-prefix-dvzstflxmctdrlaplrliflxextnz/Pods-prefix.pch.dia: No such file or directory
cc1obj: error: unrecognized command line option "-Wno-implicit-atomic-properties"
cc1obj: error: unrecognized command line option "-Wno-deprecated-implementations"
cc1obj: error: unrecognized command line option "-Wno-sign-conversion"
cc1obj: error: unrecognized command line option "-fobjc-arc"
cc1obj: error: unrecognized command line option "-fserialize-diagnostics"
Command /usr/bin/gcc-4.2 failed with exit code 1

** BUILD FAILED **

The following build commands failed:
    ProcessPCH /var/folders/p8/ylt13v016xj6m4tntc01kn3m0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Pods-prefix-dvzstflxmctdrlaplrliflxextnz/Pods-prefix.pch.pth Pods-prefix.pch normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
rake aborted!
Command failed with status (65): [/usr/bin/xcodebuild -project "Pods.xcodepr...]

Tasks: TOP => default => simulator => build:simulator
(See full trace by running task with --trace)
siuying commented 12 years ago

It seems a motion-cocoapods bug, please check here https://github.com/HipByte/motion-cocoapods/issues/12 for the workaround