Closed eatoncw closed 4 years ago
Try having just
#import <React/RCTBridgeModule.h>
instead of
#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
#import <React/RCTBridgeModule.h>
#endif
in RNAudioJack.h
https://github.com/robinpowered/react-native-audio-jack/releases/tag/v1.1.0
Should work better with autolinking now
I'm getting this build error after linking:
Used
react-native link react-native-audio-jack
to install. I'm using cocoapods (but still used the link command).Specs: Xcode 10.0 react-native-cli: 2.0.1 react-native: 0.55.4 React 16.3.1 expokit 1.7.1
I've seen this a fairly common build error for different packages but I'm not sure why this error crops up.
If it helps here's my podfile: `source 'https://github.com/CocoaPods/Specs.git' platform :ios, '9.0'
target 'photon-gym-mob' do pod 'ExpoKit', :git => "http://github.com/expo/expo.git", :tag => "ios/2.8.4", :subspecs => [ "Core" ], :inhibit_warnings => true pod 'EXAdsAdMob', :path => "../node_modules/expo-ads-admob/ios" pod 'EXBarCodeScanner', :path => "../node_modules/expo-barcode-scanner/ios" pod 'EXBarCodeScannerInterface', :path => "../node_modules/expo-barcode-scanner-interface/ios" pod 'EXCamera', :path => "../node_modules/expo-camera/ios" pod 'EXCameraInterface', :path => "../node_modules/expo-camera-interface/ios" pod 'EXConstants', :path => "../node_modules/expo-constants/ios" pod 'EXConstantsInterface', :path => "../node_modules/expo-constants-interface/ios" pod 'EXContacts', :path => "../node_modules/expo-contacts/ios" pod 'EXCore', :path => "../node_modules/expo-core/ios" pod 'EXFaceDetectorInterface', :path => "../node_modules/expo-face-detector-interface/ios" pod 'EXFileSystem', :path => "../node_modules/expo-file-system/ios" pod 'EXFileSystemInterface', :path => "../node_modules/expo-file-system-interface/ios" pod 'EXFont', :path => "../node_modules/expo-font/ios" pod 'EXFontInterface', :path => "../node_modules/expo-font-interface/ios" pod 'EXGL', :path => "../node_modules/expo-gl/ios" pod 'EXGL-CPP', :path => "../node_modules/expo-gl-cpp/cpp" pod 'EXImageLoaderInterface', :path => "../node_modules/expo-image-loader-interface/ios" pod 'EXLocalAuthentication', :path => "../node_modules/expo-local-authentication/ios" pod 'EXLocation', :path => "../node_modules/expo-location/ios" pod 'EXMediaLibrary', :path => "../node_modules/expo-media-library/ios" pod 'EXPaymentsStripe', :path => "../node_modules/expo-payments-stripe/ios" pod 'EXPermissions', :path => "../node_modules/expo-permissions/ios" pod 'EXPermissionsInterface', :path => "../node_modules/expo-permissions-interface/ios" pod 'EXPrint', :path => "../node_modules/expo-print/ios" pod 'EXReactNativeAdapter', :path => "../node_modules/expo-react-native-adapter/ios" pod 'EXSegment', :path => "../node_modules/expo-analytics-segment/ios" pod 'EXSensors', :path => "../node_modules/expo-sensors/ios" pod 'EXSensorsInterface', :path => "../node_modules/expo-sensors-interface/ios" pod 'EXSMS', :path => "../node_modules/expo-sms/ios"
pod 'React', :path => "../node_modules/react-native", :inhibit_warnings => true, :subspecs => [ "Core", "ART", "RCTActionSheet", "RCTAnimation", "RCTCameraRoll", "RCTGeolocation", "RCTImage", "RCTNetwork", "RCTText", "RCTVibration", "RCTWebSocket", "DevSupport", "CxxBridge" ] pod 'yoga', :path => "../node_modules/react-native/ReactCommon/yoga", :inhibit_warnings => true pod 'DoubleConversion', :podspec => "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec", :inhibit_warnings => true pod 'Folly', :podspec => "../node_modules/react-native/third-party-podspecs/Folly.podspec", :inhibit_warnings => true pod 'glog', :podspec => "../node_modules/react-native/third-party-podspecs/glog.podspec", :inhibit_warnings => true
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
post_install do |installer| installer.pods_project.main_group.tab_width = '2'; installer.pods_project.main_group.indent_width = '2';
end end `