adamwaite / iOS-Build-Kit

☠️ BuildKit is a modular command line interface for automating iOS project builds. Bundled build tasks include: Increment app version • Xcode build • Overlay version number on icon files • Run unit tests • Create .ipa artefact.
MIT License
568 stars 54 forks source link

Error when using buildkit #22

Closed phpmaple closed 10 years ago

phpmaple commented 10 years ago

/Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in require': dlopen(/Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/RMagick2.bundle, 9): Library not loaded: /usr/local/lib/libfreetype.6.dylib (LoadError) Referenced from: /usr/local/lib/libMagickCore-6.Q16.1.dylib Reason: Incompatible library version: libMagickCore-6.Q16.1.dylib requires version 17.0.0 or later, but libfreetype.6.dylib provides version 13.0.0 - /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/RMagick2.bundle from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:inrequire' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/rmagick-2.13.2/lib/rmagick.rb:11:in <top (required)>' from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:inrequire' from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in require' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit/tasks/decorate_icon.rb:3:inmodule:BuildKit' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit/tasks/decorate_icon.rb:1:in <top (required)>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:inload' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in block in <module:BuildKit>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:ineach' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in <module:BuildKit>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:1:in<top (required)>' from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in require' from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:inrequire' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/bin/buildkit:6:in <top (required)>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/buildkit:23:inload' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/buildkit:23:in <main>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:ineval' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `

'

adamwaite commented 10 years ago

I think you need to install/reinstall ImageMagick:

brew update brew install imagemagick

Try that and let me know how it goes.

phpmaple commented 10 years ago

show imagemagick-6.8.7-7 already installed

adamwaite commented 10 years ago

Please try:

brew update
brew remove imagemagick
brew install imagemagick

I am almost certain it's an incorrect installation of imaggemagick that's causing you trouble.

phpmaple commented 10 years ago

Or not, may I is to use macport installation before, but I've put the macport uninstalled and also carried out brew update brew remove imagemagick brew install imagemagick  --  new email Sent with Airmail

On 2014年2月28日 at 下午7:04:45, new email (koofranker@gmail.com) wrote:

Please try:

brew update brew remove imagemagick brew install imagemagick I am almost certain it's an incorrect installation of imaggemagick that's causing you trouble.

— Reply to this email directly or view it on GitHub.

adamwaite commented 10 years ago

Sorry I didn't understand your last message? So you tried my suggestion and it's still failing?

phpmaple commented 10 years ago

yes,it's still failing   --  new email Sent with Airmail

On 2014年2月28日 at 下午8:02:06, new email (koofranker@gmail.com) wrote:

Sorry I didn't understand your last message? So you tried my suggestion and it's still failing?

— Reply to this email directly or view it on GitHub.

phpmaple commented 10 years ago

I think it could be home-brew and macport conflict ,but macport has been uninstalled --  new email Sent with Airmail

On 2014年2月28日 at 下午8:02:06, new email (koofranker@gmail.com) wrote:

Sorry I didn't understand your last message? So you tried my suggestion and it's still failing?

— Reply to this email directly or view it on GitHub.

adamwaite commented 10 years ago

Can you show me what this outputs?

brew list

phpmaple commented 10 years ago

brew-cask ghostscript jpeg libtiff little-cms2 pkg-config freetype jbig2dec libpng libtool openssl wget --  new email Sent with Airmail

On 2014年2月28日 at 下午8:12:21, Adam Waite (notifications@github.com) wrote:

Can you show me what this outputs?

brew list

— Reply to this email directly or view it on GitHub.

adamwaite commented 10 years ago

Notice that imagemagick isn't there, that's your issue. You need to install imagemagick.

phpmaple commented 10 years ago

Because I've just uninstalled,Now I install imagemagick and show you brew list  --  new email Sent with Airmail

On 2014年2月28日 at 下午8:15:19, new email (koofranker@gmail.com) wrote:

Notice that imagemagick isn't there, that's your issue. You need to install imagemagick.

— Reply to this email directly or view it on GitHub.

phpmaple commented 10 years ago

brew-cask ghostscript jbig2dec libpng libtool openssl wget freetype imagemagick jpeg libtiff little-cms2 pkg-config --  new email Sent with Airmail

On 2014年2月28日 at 下午8:15:19, new email (koofranker@gmail.com) wrote:

Notice that imagemagick isn't there, that's your issue. You need to install imagemagick.

— Reply to this email directly or view it on GitHub.

adamwaite commented 10 years ago

Ok, now run build kit and post the output please

phpmaple commented 10 years ago

but run build kit  show error: /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in require': dlopen(/Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/RMagick2.bundle, 9): Library not loaded: /usr/local/lib/libfreetype.6.dylib (LoadError)   Referenced from: /usr/local/lib/libMagickCore-6.Q16.1.dylib   Reason: Incompatible library version: libMagickCore-6.Q16.1.dylib requires version 18.0.0 or later, but libfreetype.6.dylib provides version 13.0.0 - /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/RMagick2.bundle from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:inrequire' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/rmagick-2.13.2/lib/rmagick.rb:11:in <top (required)>' from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:inrequire' from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in require' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit/tasks/decorate_icon.rb:3:inmodule:BuildKit' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit/tasks/decorate_icon.rb:1:in <top (required)>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:inload' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in block in <module:BuildKit>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:ineach' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in <module:BuildKit>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:1:in<top (required)>' from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in require' from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:inrequire' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/bin/buildkit:6:in <top (required)>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/buildkit:23:inload' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/buildkit:23:in <main>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:ineval' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `

' --  new email Sent with Airmail

On 2014年2月28日 at 下午8:15:19, new email (koofranker@gmail.com) wrote:

Notice that imagemagick isn't there, that's your issue. You need to install imagemagick.

— Reply to this email directly or view it on GitHub.

adamwaite commented 10 years ago
/Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in `require': dlopen(/Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/RMagick2.bundle, 9): Library not loaded: /usr/local/lib/libfreetype.6.dylib (LoadError)
  Referenced from: /usr/local/lib/libMagickCore-6.Q16.1.dylib
  Reason: Incompatible library version: libMagickCore-6.Q16.1.dylib requires version 18.0.0 or later, but libfreetype.6.dylib provides version 13.0.0 - /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/RMagick2.bundle
    from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in `require'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/rmagick-2.13.2/lib/rmagick.rb:11:in `<top (required)>'
    from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit/tasks/decorate_icon.rb:3:in `<module:BuildKit>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit/tasks/decorate_icon.rb:1:in `<top (required)>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in `load'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in `block in <module:BuildKit>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in `each'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in `<module:BuildKit>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:1:in `<top (required)>'
    from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/bin/buildkit:6:in `<top (required)>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/buildkit:23:in `load'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/buildkit:23:in `<main>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `<main>'
adamwaite commented 10 years ago

Try:

brew uninstall freetype
brew update
brew install freetype
phpmaple commented 10 years ago

now show this error:

/Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in require': dlopen(/Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/RMagick2.bundle, 9): Library not loaded: /usr/local/lib/libpng15.15.dylib (LoadError)   Referenced from: /usr/local/lib/libfreetype.6.dylib   Reason: Incompatible library version: libfreetype.6.dylib requires version 33.0.0 or later, but libpng15.15.dylib provides version 21.0.0 - /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/RMagick2.bundle from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:inrequire' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/rmagick-2.13.2/lib/rmagick.rb:11:in <top (required)>' from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:inrequire' from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in require' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit/tasks/decorate_icon.rb:3:inmodule:BuildKit' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit/tasks/decorate_icon.rb:1:in <top (required)>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:inload' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in block in <module:BuildKit>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:ineach' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in <module:BuildKit>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:1:in<top (required)>' from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in require' from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:inrequire' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/bin/buildkit:6:in <top (required)>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/buildkit:23:inload' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/buildkit:23:in <main>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:ineval' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `

' --  new email Sent with Airmail

On 2014年2月28日 at 下午8:26:23, new email (koofranker@gmail.com) wrote:

Try:

brew uninstall freetype brew update brew install freetype — Reply to this email directly or view it on GitHub.

adamwaite commented 10 years ago
/Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in `require': dlopen(/Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/RMagick2.bundle, 9): Library not loaded: /usr/local/lib/libpng15.15.dylib (LoadError)
  Referenced from: /usr/local/lib/libfreetype.6.dylib
  Reason: Incompatible library version: libfreetype.6.dylib requires version 33.0.0 or later, but libpng15.15.dylib provides version 21.0.0 - /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/RMagick2.bundle
    from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in `require'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/rmagick-2.13.2/lib/rmagick.rb:11:in `<top (required)>'
    from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit/tasks/decorate_icon.rb:3:in `<module:BuildKit>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit/tasks/decorate_icon.rb:1:in `<top (required)>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in `load'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in `block in <module:BuildKit>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in `each'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in `<module:BuildKit>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:1:in `<top (required)>'
    from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/bin/buildkit:6:in `<top (required)>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/buildkit:23:in `load'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/buildkit:23:in `<main>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `<main>'
adamwaite commented 10 years ago
brew uninstall libpng
brew update
brew install libpng
phpmaple commented 10 years ago

now show error:

/Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in require': dlopen(/Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/RMagick2.bundle, 9): Library not loaded: /usr/local/lib/libMagickCore-6.Q16.1.dylib (LoadError)   Referenced from: /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/RMagick2.bundle   Reason: image not found - /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/RMagick2.bundle from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:inrequire' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/rmagick-2.13.2/lib/rmagick.rb:11:in <top (required)>' from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:inrequire' from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in require' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit/tasks/decorate_icon.rb:3:inmodule:BuildKit' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit/tasks/decorate_icon.rb:1:in <top (required)>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:inload' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in block in <module:BuildKit>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:ineach' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in <module:BuildKit>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:1:in<top (required)>' from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in require' from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:inrequire' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/bin/buildkit:6:in <top (required)>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/buildkit:23:inload' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/buildkit:23:in <main>' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:ineval' from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `

' --  new email Sent with Airmail

On 2014年2月28日 at 下午8:37:02, new email (koofranker@gmail.com) wrote:

brew uninstall libpng brew update brew install libpng — Reply to this email directly or view it on GitHub.

adamwaite commented 10 years ago

Please format your errors like this:

/Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in `require': dlopen(/Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/RMagick2.bundle, 9): Library not loaded: /usr/local/lib/libMagickCore-6.Q16.1.dylib (LoadError)
  Referenced from: /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/RMagick2.bundle
  Reason: image not found - /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/RMagick2.bundle
    from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in `require'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/rmagick-2.13.2/lib/rmagick.rb:11:in `<top (required)>'
    from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit/tasks/decorate_icon.rb:3:in `<module:BuildKit>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit/tasks/decorate_icon.rb:1:in `<top (required)>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in `load'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in `block in <module:BuildKit>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in `each'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:3:in `<module:BuildKit>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/lib/ios_build_kit.rb:1:in `<top (required)>'
    from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/ios_build_kit-0.0.5/bin/buildkit:6:in `<top (required)>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/buildkit:23:in `load'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/buildkit:23:in `<main>'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval'
    from /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `<main>'
adamwaite commented 10 years ago

gem install rmagick

phpmaple commented 10 years ago

when gem install rmagick

Building native extensions.  This could take a while... ERROR:  Error installing rmagick: ERROR: Failed to build gem native extension.

    /Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb checking for Ruby version >= 1.8.5... yes checking for /usr/bin/clang... yes checking for Magick-config... yes checking for ImageMagick version >= 6.4.9... yes checking for HDRI disabled version of ImageMagick... yes Package MagickCore was not found in the pkg-config search path. Perhaps you should add the directory containing MagickCore.pc' to the PKG_CONFIG_PATH environment variable No package 'MagickCore' found Package MagickCore was not found in the pkg-config search path. Perhaps you should add the directory containingMagickCore.pc' to the PKG_CONFIG_PATH environment variable No package 'MagickCore' found Package MagickCore was not found in the pkg-config search path. Perhaps you should add the directory containing MagickCore.pc' to the PKG_CONFIG_PATH environment variable No package 'MagickCore' found Package MagickCore was not found in the pkg-config search path. Perhaps you should add the directory containingMagickCore.pc' to the PKG_CONFIG_PATH environment variable No package 'MagickCore' found checking for stdint.h... yes checking for sys/types.h... yes checking for wand/MagickWand.h... no

Can't install RMagick 2.13.2. Can't find MagickWand.h. * extconf.rb failed * Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers.  Check the mkmf.log file for more details.  You may need configuration options.

Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/Users/koofrank/.rvm/rubies/ruby-2.0.0-p247/bin/ruby

extconf failed, exit code 1

Gem files will remain installed in /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/gems/rmagick-2.13.2 for inspection. Results logged to /Users/koofrank/.rvm/gems/ruby-2.0.0-p247/extensions/x86_64-darwin-12/2.0.0-static/rmagick-2.13.2/gem_make.out --  new email Sent with Airmail

On 2014年2月28日 at 下午8:46:58, new email (koofranker@gmail.com) wrote:

gem install rmagick

— Reply to this email directly or view it on GitHub.

adamwaite commented 10 years ago

What is happening is that rvm can't find the imagemagick directory.

Try this first:

brew install pkgconfig

And if that doesn't work:

Open ~/.bash_profile in a text editor.

and add the following line:

export PKG_CONFIG_PATH="/opt/local/lib/pkgconfig:$PKG_CONFIG_PATH"

phpmaple commented 10 years ago

i solve all problem, now i echo build kit test.yml show :Terminating with error: Missing File: BuildKit/BuildKit-Info.plist does not exist --  new email Sent with Airmail

On 2014年2月28日 at 下午8:46:58, new email (koofranker@gmail.com) wrote:

gem install rmagick

— Reply to this email directly or view it on GitHub.

adamwaite commented 10 years ago

That's a buildKit warning. Open your config.yml and set the options for your project.