Coder Social home page Coder Social logo

Comments (9)

acexo avatar acexo commented on July 18, 2024

You are trying to run it for the simulator, don't.

from mobileminer.

darrenhakimi avatar darrenhakimi commented on July 18, 2024

As evident in the screenshot, I have my iPhone selected in the top left corner. Where else do I need to select to run on my iPhone rather than the simulator? Thank you.

from mobileminer.

limneos avatar limneos commented on July 18, 2024

It appears that minerd.a is not included, since it cannot find its exported symbol "start_mining".
Have you dragged minerd.a into the project?
Have you set -all_load in Other Linker Flags?

from mobileminer.

darrenhakimi avatar darrenhakimi commented on July 18, 2024

Below is a video of the exact steps I take, which cause the error, running on a clean copy of MobileMiner:
https://www.dropbox.com/s/uqtx0275dl1c7v3/MobileMiner%20Linking%20Error.mov?dl=0
Thank you for your feedback.

from mobileminer.

limneos avatar limneos commented on July 18, 2024
  1. Since you're dragging the precompiled binaries in your project, delete those 2 that appear in red (libjansson.a and libcurl.a). You're double-passing them to the linker.
  2. You're trying to run arm64 binaries on simulator. These have been compiled for arm64 only. Use a real device.

from mobileminer.

darrenhakimi avatar darrenhakimi commented on July 18, 2024

Below is an updated video. I addressed the two issues mentioned, but the error is still consistent. Thank you:
https://www.dropbox.com/s/llzcmrler8p9gnp/MobileMiner%20Linking%20Error%202.mov?dl=0

from mobileminer.

limneos avatar limneos commented on July 18, 2024

It seems it cannot find the directory from which you're importing the libraries.
Try copying the 4 libraries to your Desktop, remove the existing ones from your project, and drag those from Desktop in your project.

from mobileminer.

darrenhakimi avatar darrenhakimi commented on July 18, 2024

I deleted the existing files from my project and tried re-adding them from my desktop. Now, I am getting the same error that I initially posted.
screen shot 2018-01-14 at 4 42 36 am

from mobileminer.

darrenhakimi avatar darrenhakimi commented on July 18, 2024

Nevermind. It worked. I retried it but did exactly as you said. I moved the files to another directory. Then, I deleted them from Xcode. Lastly, I re-added them to Xcode from the new directory. Thank you!!

from mobileminer.

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.