Giter Site home page Giter Site logo

Comments (9)

dcvz avatar dcvz commented on August 15, 2024 3

Can you try adding a swift file to your project? You can call it dummy.swift then you will be prompted if you want to generate a bridging header. Say yes, and then try building again :)

We've yet to formalize the documentation for this.

from react-native-track-player.

jasongrishkoff avatar jasongrishkoff commented on August 15, 2024 1

Hey @anderslemke -- it actually requires Xcode beta for Swift right now. Are you able to install that?

from react-native-track-player.

anderslemke avatar anderslemke commented on August 15, 2024

Oh! I will try... :)

from react-native-track-player.

dcvz avatar dcvz commented on August 15, 2024

@anderslemke as Jason said, you'll need the latest Xcode 9 beta for this to work :)

from react-native-track-player.

anderslemke avatar anderslemke commented on August 15, 2024

Now I've updated, and that first error went away.
I have new one now, though... :)

ld: library not found for -lswiftCoreAudio for architecture x86_64

I will investigate.

from react-native-track-player.

anderslemke avatar anderslemke commented on August 15, 2024

I tried this: https://stackoverflow.com/a/39630099/923539

But it doesn't work...

from react-native-track-player.

dcvz avatar dcvz commented on August 15, 2024

Hey @anderslemke are you working with a default xcode project? The ones generated by the react-native cli?

from react-native-track-player.

anderslemke avatar anderslemke commented on August 15, 2024

I would say so. It was, however, not generated with the latest version of React Native.

from react-native-track-player.

anderslemke avatar anderslemke commented on August 15, 2024

Yes! I created the dummy.swift.
XCode failed, and gave me the path to the header file it was missing. So I created that file:

touch /Users/anders/Projects/zetland/lyd-react-native/ios/LydReactNative-Bridging-Header.h

Now it works! 🎉

from react-native-track-player.

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.