Salt-PepperEngineering / react-native-nordic-dfu

Nordic Device Firmware Update for React Native
MIT License
30 stars 36 forks source link

Update Xcode & iOSDFULibrary & Add old PR & README #6

Closed manualexSP closed 1 year ago

manualexSP commented 1 year ago
cn-johndpope commented 1 year ago

fyi -

Screenshot 2023-07-07 at 9 23 48 am

when I compile it can't find <iOSDFULibrary/iOSDFULibrary-Swift.h>

but changing back - it works. import @iOSDFULibrary

I think we abandon / trash the example - create a fresh react native project - then run add project - commit - and push blowing away all previous code. can then slowly resurrect more functionality - but should be able to do this as sanity check.

manualexSP commented 1 year ago

@cn-johndpope Did you add the use_framework logic? The problem here is that the iOS logic is written with Objective-C so for that you need to mark the ios library as a static framework. I was able to pass the import issue only after I added the logic for the framework.

johndpope commented 1 year ago

I read readme and all good. I couldn’t find this comment so couldn’t update it. Thx for your help @manualexSP