Coder Social home page Coder Social logo

Comments (5)

toshi0383 avatar toshi0383 commented on July 19, 2024 1

Here you go! Just Cmd+R on a Simulator to reproduce.
HimotokiCarthageSample.zip

from himotoki.

ikesyo avatar ikesyo commented on July 19, 2024

I'm not sure about this without an example project. Would you mind providing one?

from himotoki.

ikesyo avatar ikesyo commented on July 19, 2024

TL;DR: This should be your project setting issue.

There are two things I'd like to note:

  • Even if you are referencing / linking to and embedding Carthage/Build/iOS/Himotoki.framework, why do you add Himotoki.xcodeproj to HimotokiCarthageSample? Since the framework is supplied as a prebuilt binary, you don't need to add the framework project reference to your project.

  • Due to the fact above and the Find Implicit Dependences Build Options of HimotokiCarthageSample scheme, another Himotoki.framework is built and placed into HimotokiCarthageSample-.../Build/Products/Debug-iphonesimulator. Then the another framework file is somehow loaded from the app and that can't find @rpath/libswiftSwiftOnoneSupport.dylib.

    If Himotoki.framework which is in HimotokiCarthageSample.app/Frameworks are correctly loaded from the app, the framework should successfully find HimotokiCarthageSample.app/Frameworks/libswiftSwiftOnoneSupport.dylib.

from himotoki.

toshi0383 avatar toshi0383 commented on July 19, 2024

Thanks for clarification!

why do you add Himotoki.xcodeproj to HimotokiCarthageSample?

Because I need to sometimes build from source to attach debugger to Himotoki source code.
Do you think of any workaround in this case?

from himotoki.

toshi0383 avatar toshi0383 commented on July 19, 2024

I wrote an article about this use-case in Japanese, FYI.
There are some other libraries which I don't have this issue. (e.g. I tried Ekhoo/Device and it worked fine)

from himotoki.

Related Issues (20)

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.