Code Monkey home page Code Monkey logo

Comments (3)

apotocki avatar apotocki commented on July 18, 2024

I can't repeat your problem. Can you create and share a minimal project that reproduces the error?

from libssh2-iosx.

iiimartin avatar iiimartin commented on July 18, 2024

I have a framework in my project and I have added NMSSH classes from: https://github.com/NMSSH/NMSSH in that framework, also I have added pods for openssl and libssh in that framework.

I have added pods for openSSL, and libssh like:
target 'MyFramework' do use_frameworks! pod 'openssl-iosx', '~> 1.1.1o' pod 'libssh2-iosx', '~> 1.10.0' end
I have imported libssh2.h and libssh_sftp.h files in NMSSH.h, like:
#import "libssh2.h" #import "libssh2_sftp.h"

I get the error in the import while building the framework.

Hope this helps you!

from libssh2-iosx.

apotocki avatar apotocki commented on July 18, 2024

I've created an empty ios App project, added Podfile with openssl and libssh2 pods, run 'pod install', opened xcworkspace file obtained in the previous step, added an empty m file to the project, added lines with #import "libssh2.h" #import "libssh2_sftp.h", added a simple function that calls some libssh2 function, gone to Project settings and add libz.tbd to "Link Binary With Library" section. And successfully built the project without any error. In addition, I checked that "Allow Non-modular Includes in Framework Modules" flag in the build setting has its default value - False. So I can't reproduce your problem, and have to repeat my previous question: Can you create and share a minimal project that reproduces the error?

from libssh2-iosx.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.