GithubHelp home page GithubHelp logo

Comments (7)

rpiwetz avatar rpiwetz commented on May 22, 2024 7

I was able to fix this issue by making sure that "Valid Architectures" only had the "arm64" value.
Check for this in "Build Settings" -> "Architectures" -> "Valid Architectures" (I had to remove arm7 and arm7s values)
I had to make this change in two places...MyAppName's Build Settings as well as MyAppNameTests' Build Settings

Perhaps this change should occur automatically as a part of adding this library to the project since it only works for 64 bit architectures?

from react-native-arkit.

Tamiyadd avatar Tamiyadd commented on May 22, 2024 5

I'm having the same issue also following the manual installation guide 😢

from react-native-arkit.

XavierColombel avatar XavierColombel commented on May 22, 2024 1

Hey, Debug and Release values should be set to Yes in Project > Architectures > Build Active Architecture Only. You shouldn't have to remove armv7 and armv7s.

Build Active Architecture Only

from react-native-arkit.

macrozone avatar macrozone commented on May 22, 2024

@flexy1994 can you verify with the manual installation? https://github.com/HippoAR/react-native-arkit#manual-installation

check if

  • project is included in Libraries in xcode
  • libRCTARKit.a is in "Link Binary With Libraries"

from react-native-arkit.

macrozone avatar macrozone commented on May 22, 2024

@rpiwetz when i started with the project i also had many different build problems. Then, you try different things and some solve it and some make it worse, so its sometimes hard to find the underlying problem ;-) In particular if you lack experience on ios projects like i do.

E.g. on my project i still have armv7 and armv7s architecture and it builds fine.

The main problem on my project was, that it was built with expo and then ejected. Then it will use cocoapods for react-native dependencies. This can lead to header file missing errors on most third-party libraries. The fix is to adjust the Header Search paths on the library project.

But if you search on github for that error, you find tons of suggestions what to do. Some will lead to other problems.

If you have any build error, its best to follow the manual installation and revert any change you did. If you then have an error, google for that. If the solution found leads to another error, it was probably the wrong solution ;-)

from react-native-arkit.

macrozone avatar macrozone commented on May 22, 2024

I closes this because it was inactive. If you still have problem with the build, please head over to the slack channel react-native-ar.slack.com

from react-native-arkit.

khiami avatar khiami commented on May 22, 2024

Lookup @ben Flynn answer in https://stackoverflow.com/questions/26031932/cant-link-with-a-main-executable-file for help

from react-native-arkit.

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.