react-native-nordic-dfu: Error on Build version 3.0.0

Having an issue building with this library using the 3.0.0

Followed all instructions in the readme

yarn add react-native-nordic-dfu
react-native link react-native-nordic-dfu

Created my podfile with pod init, added the path to the nordic dfu library.

also did a pod install. Outputs the following error:

[!] Unable to determine Swift version for the following pods:

- `iOSDFULibrary` does not specify a Swift version and none of the targets (`<app_name_here>`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.

Build with Xcode version 10.2.

Xcode Complains about RNNordicDFU.h not found. So I added the react-native-nordic-dfu to my search path. Now it complains that iOSDFULibrary is not found.

The readme is clearly missing information on how to successfully build a project with this repo

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Reactions: 5
  • Comments: 19 (5 by maintainers)

Most upvoted comments

Facing the same issue

@MD3XTER @Looveh Have you encountered this problem when running directly on an iPhone? “App installation failed” “This application’s bundle identifier does not match its code signing identifier.” image

@shengliZh I don’t think this has anything to do with the library.