Aminoid / react-native-activity-recognition

React Native wrapper for the Activity Recognition API.
GNU General Public License v2.0
92 stars 79 forks source link

Any update for 2022? #55

Open tsachit opened 1 year ago

tsachit commented 1 year ago
image
lucidprojects commented 1 year ago

I got this working by linking the lib's xcodeproj in the libraries of my parent xcodeproj as described here

I also needed to add HEADER_SEARCH_PATHS as mentioned here

My search_paths look like this now and I was able to successfully build from Xcode.

buildSettings = {
    HEADER_SEARCH_PATHS = (
        "$(inherited)",
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
        "$(SRCROOT)/../../../React/**",
        "$(SRCROOT)/../../../ios/Pods/Headers/Public/React-Core/**",
        "$(SRCROOT)/../../react-native/React/**",
    );
    ...
};

hope it helps anyone that may end up here