Skip to content

react-native run-ios fails #3

@purcymarte

Description

@purcymarte

I have been looking for a long time for a react-native midi library, thank you for creating this project!

Issue:
After npm install and pod install, my run-ios build fails with the following error:

** BUILD FAILED **

The following build commands failed:
	SwiftEmitModule normal x86_64 Emitting\ module\ for\ midival_react_native (in target 'midival-react-native' from project 'Pods')
(1 failure)

When building the project in XCode, I got the following specified errors in the ReactNative.swift file:

- line 23: Only classes that inherit from NSObject can be declared @objc
- line 24: Cannot find type 'RCTEventEmitter' in scope
- line 28: Method does not override any method from its superclass
- line 33: Value of type 'Midival' has no member 'sendEvent'
- line 39: Method does not override any method from its superclass

Versions:

  • React Native 0.70.3
  • XCode 14.0.1
  • midival/core 0.0.17
  • midival/react-native 0.0.2

I would be happy to contribute, but unfortunately don't have any experience in swift or objective-c.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions