Hello everyone. I would appreciate any suggestion, what I do wrong or it's a bug with the latest release?
Describe the bug
RNRadarTests.m cannot be found while building the app
To Reproduce
Steps to reproduce the behavior:
npm i react-native-radar
react-native link react-native-radar
add NSLocationAlwaysAndWhenInUseUsageDescription and NSLocationAlwaysUsageDescription keys to Info.plist and fetch with location strings to UIBackgroundModes key.
add Radar SDK. Here is my Podfile
platform :ios, '9.0'
inhibit_all_warnings!
target 'QleanCleaners' do
Pods for QleanCleaners
pod 'RadarSDK', '~> 2.1.0'
target 'QleanCleanersTests' do
inherit! :search_paths
Pods for testing
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
puts "#{target.name}"
end
end
- `pod install`
- build the app with react-native or xcode
**Expected behavior**
App builds successfully via react-native run as well as via XCode
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Metadata (please complete the following information):**
- React Native Radar Version: 2.1.4
- Platform: iOS
- Device: iPhone 5s
- Device OS Version: iOS 12
**Additional context**
Showing All Messages
:-1: Build input file cannot be found: '/Users/User/project/Qlean/cleaners/node_modules/react-native-radar/ios/RNRadarTests/RNRadarTests.m'
error: Build input file cannot be found: '/Users/User/project/node_modules/react-native-radar/ios/RNRadarTests/RNRadarUtilsTests.m'
Hello everyone. I would appreciate any suggestion, what I do wrong or it's a bug with the latest release?
Describe the bug RNRadarTests.m cannot be found while building the app
To Reproduce Steps to reproduce the behavior:
npm i react-native-radar
react-native link react-native-radar
add
NSLocationAlwaysAndWhenInUseUsageDescription
andNSLocationAlwaysUsageDescription
keys toInfo.plist
andfetch
withlocation
strings toUIBackgroundModes
key.add Radar SDK. Here is my
Podfile
target 'QleanCleaners' do
Pods for QleanCleaners
pod 'RadarSDK', '~> 2.1.0'
target 'QleanCleanersTests' do inherit! :search_paths
Pods for testing
end
end
post_install do |installer| installer.pods_project.targets.each do |target| puts "#{target.name}" end end
Showing All Messages :-1: Build input file cannot be found: '/Users/User/project/Qlean/cleaners/node_modules/react-native-radar/ios/RNRadarTests/RNRadarTests.m'
error: Build input file cannot be found: '/Users/User/project/node_modules/react-native-radar/ios/RNRadarTests/RNRadarUtilsTests.m'