Comments (3)
Hi Samuel,
Sorry you're having set up issues! Could you please post your whole Podfile here? Also, do you have the DJI-SDK-iOS
dependency in your Podfile? Try adding pod 'DJI-SDK-iOS', '~> 4.10'
if it isn't there.
Our set up documentation can definitely use a bit of reworking and updating, hopefully we can work out your problem and add it to the docs!
from react-native-dji-mobile.
Hi Adam,
Here is the Podfile fails,
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
react_native_path = '../node_modules/react-native'
target 'AppName' do
use_modular_headers!
rn_path = '../node_modules/react-native'
pod 'yoga', path: "#{rn_path}/ReactCommon/yoga/yoga.podspec"
pod 'React', path: rn_path, subspecs: [
'Core',
'DevSupport', # Devmenu
'RCTActionSheet',
'RCTAnimation',
'RCTGeolocation',
'RCTImage',
'RCTLinkingIOS',
'RCTNetwork',
'RCTSettings',
'RCTText',
'RCTVibration',
'RCTWebSocket',
'CxxBridge'
]
pod 'GoogleMaps' # Remove this line if you don't want to support GoogleMaps on iOS
pod 'react-native-maps', path: '../node_modules/react-native-maps'
pod 'react-native-google-maps', path: '../node_modules/react-native-maps' # Remove this line
if you don't want to support GoogleMaps on iOS
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
pod 'RNDeviceInfo', :path => '../node_modules/react-native-device-info'
pod 'SentryReactNative', :path => '../node_modules/react-native-sentry'
pod 'lottie-react-native', :path => '../node_modules/lottie-react-native'
pod 'BVLinearGradient', :path => '../node_modules/react-native-linear-gradient'
# Third party deps
pod 'DoubleConversion', :podspec => react_native_path + '/third-party-
podspecs/DoubleConversion.podspec', :modular_headers => false
pod 'glog', :podspec => react_native_path + '/third-party-podspecs/glog.podspec',
:modular_headers => false
pod 'Folly', :podspec => react_native_path + '/third-party-podspecs/Folly.podspec', :modular_headers => false
pod 'rn-fetch-blob', :path => '../node_modules/rn-fetch-blob'
pod 'react-native-orientation-locker', :path => '../node_modules/react-native-orientation-
locker/react-native-orientation-locker.podspec'
pod 'react-native-camera', :path => '../node_modules/react-native-camera'
pod 'react-native-gps-state', :path => '../node_modules/react-native-gps-state'
pod 'lottie-ios', :path => '../node_modules/lottie-ios'
pod 'react-native-document-picker', :path => '../node_modules/react-native-document-picker'
pod 'react-native-image-picker', :path => '../node_modules/react-native-image-picker'
pod 'DJIWidget', '~> 1.5', :modular_headers => true
pod 'react-native-dji-mobile', :path => '../node_modules/react-native-dji-mobile'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'react-native-google-maps'
target.build_configurations.each do |config|
config.build_settings['CLANG_ENABLE_MODULES'] = 'No'
end
end
if target.name == "React"
target.remove_from_project
end
end
end
By adding pod 'DJI-SDK-iOS', '~> 4.10', compile fails in Xcode, so is there any specific configurations?
from react-native-dji-mobile.
For my project, just resolved by,
- add $(SRCROOT)/../node_modules/react-native-nfc-manager/ios to Header Search Paths
- remove those DJI's recommended settings
from react-native-dji-mobile.
Related Issues (12)
- Can't execute with android
- Usage example for DroneVideo view
- The following Swift pods cannot yet be integrated as static libraries
- TypeError: null is not an object (evaluating 'DJIMobile.ProductConnection') HOT 1
- I want to develop a DJI Android app based on React-Native
- React Native v66 support? HOT 6
- [iOS] Implement Hotpoint action
- [iOS] Implement Aircraft Yaw Action
- [iOS] Implement Attitude listener
- Implement media download HOT 3
- Get sample application working.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-dji-mobile.