Open charleston10 opened 2 years ago
Describe the bug
Error when build project - Undefined symbols for architecture arm64 I'm using physical device
Expected Behaviour
Build success
Steps to Reproduce the Problem
pod file
require_relative '../node_modules/react-native/scripts/react_native_pods' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' platform :ios, '13.0' install! 'cocoapods', :disable_input_output_paths => true inhibit_all_warnings! use_frameworks! pre_install do |installer| installer.pod_targets.each do |pod| if pod.name.eql?('RNScreens') || pod.name.eql?('RNPermissions') || pod.name.start_with?('Permission-') || pod.name.eql?('BVLinearGradient') def pod.build_type Pod::BuildType.static_library end end end end def reactNativePods config = use_native_modules! use_react_native!( :path => config[:reactNativePath] ) permissions_path = '../node_modules/react-native-permissions/ios' pod 'Permission-Camera', :path => "#{permissions_path}/Camera/Permission-Camera.podspec" pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone/Permission-Microphone.podspec" end
package.json
{ "name": "project-name", "version": "0.0.1", "private": true, "dependencies": { "@react-native-async-storage/async-storage": "^1.17.3", "@react-native-community/cli-platform-android": "^7.0.1", "@react-navigation/native": "^6.0.8", "@react-navigation/native-stack": "^6.5.2", "@react-navigation/stack": "^6.2.1", "@types/axios": "^0.14.0", "@types/i18n-js": "^3.8.2", "@types/react-native": "=0.63.3", "@types/react-redux": "^7.1.23", "@types/redux-saga": "^0.10.5", "@voxeet/react-native-voxeet-conferencekit": "=0.3.2", "axios": "^0.26.1", "dayjs": "^1.11.0", "i18n-js": "^3.9.2", "lodash": "^4.17.21", "react": "17.0.2", "react-native": "=0.63.4", "react-native-device-info": "^8.7.0", "react-native-elements": "^1.2.7", "react-native-iphone-x-helper": "^1.3.1", "react-native-linear-gradient": "^2.5.6", "react-native-localize": "^2.2.1", "react-native-permissions": "^3.3.1", "react-native-safe-area-context": "=3.4.1", "react-native-screens": "^3.13.1", "react-native-snackbar": "^2.4.0", "react-native-svg": "^12.0.3", "react-native-vector-icons": "^8.1.0", "react-redux": "^7.2.6", "recompose": "^0.30.0", "redux": "^4.1.2", "redux-persist": "^6.0.0", "redux-saga": "^1.1.3", "reselect": "^4.1.5", "uuid-random": "^1.3.2" } }
Specifications
any update?
@charleston10 I am facing the same issue, any solution?
@krinish291 @charleston10 please check with the latest version. I am not facing any issue
Describe the bug
Error when build project - Undefined symbols for architecture arm64 I'm using physical device
Expected Behaviour
Build success
Steps to Reproduce the Problem
pod file
package.json
Specifications