Skip to content

Does SQLCipher pod requires adding openssl-xcode and OPENSSL_SRC manually *Rubymotion #45

Closed
@upadhyay-ashish

Description

@upadhyay-ashish

I have added the SQLCipher pod in the rake file of a rubymotion project and running into issues now.
When I try to compile the application it throws an error 👎

***** executing ranlib on libraries in /Users/ashish/Documents/Workspace/iOS/Rubymotion/firm_directory/vendor/openssl-xcode/.build *****

  • ranlib /Users/ashish/Documents/Workspace/iOS/Rubymotion/firm_directory/vendor/openssl-xcode/.build/libcrypto.a
    ranlib: can't open file: /Users/ashish/Documents/Workspace/iOS/Rubymotion/firm_directory/vendor/openssl-xcode/.build/libcrypto.a (No such file or directory)
  • ranlib /Users/ashish/Documents/Workspace/iOS/Rubymotion/firm_directory/vendor/openssl-xcode/.build/libssl.a
    ranlib: can't open file: /Users/ashish/Documents/Workspace/iOS/Rubymotion/firm_directory/vendor/openssl-xcode/.build/libssl.a (No such file or directory)

** BUILD FAILED **

The following build commands failed:
PhaseScriptExecution "Run Script" build/openssl.build/Release-iphonesimulator/crypto.build/Script-9038ACD812DCAC96004FA0D0.sh
(1 failure)
rake aborted!
Command failed with status (65): [/usr/bin/xcodebuild -project "openssl.xcod...]
/Library/RubyMotion/lib/motion/project/vendor.rb:163:in block in build_xcode' /Library/RubyMotion/lib/motion/project/vendor.rb:132:inchdir'
/Library/RubyMotion/lib/motion/project/vendor.rb:132:in build_xcode' /Library/RubyMotion/lib/motion/project/vendor.rb:41:inbuild'
/Library/RubyMotion/lib/motion/project/builder.rb:57:in block in build' /Library/RubyMotion/lib/motion/project/builder.rb:56:ineach'
/Library/RubyMotion/lib/motion/project/builder.rb:56:in build' /Library/RubyMotion/lib/motion/project/app.rb:72:inbuild'
/Library/RubyMotion/lib/motion/project.rb:51:in block (2 levels) in <top (required)>' /Users/ashish/.rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:ineval'
/Users/ashish/.rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in `

'
Tasks: TOP => default => simulator => build:simulator
(See full trace by running task with --trace)

How do I configure the project settings to pull openssl-xcode and openssl and compile then on build ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions