I'm getting an error while archiving the ios build with react-native-jitsi-meet and it works fine for debug. Already tried deleting pods and reinstalling pods, adding the library to linking.
enter image description here
Related
I am trying to integrate Google Maps into my React Native iOS application. I followed the steps outlined in the documentation and installed the react-native-maps library. However, when I try to build my project in Xcode, I found many solutions but no one is working for me and I get the following error:
'RCTConvert+AIRMap.h' file not found
I have tried the following steps to resolve the issue, but the error persists:
I checked that the react-native-maps library is installed correctly and I have linked it using react-native link react-native-maps.
I tried to clean the build folder and rebuild the project.
I have tried to manually add the RCTConvert+AIRMap.h file to my project, but it still gives me the same error.
I have checked that my Xcode project's search paths are set correctly and $(SRCROOT)/../node_modules/react-native-maps/ios/AirMaps is added to the header search paths.
I have also tried to delete the Podfile.lock file, and reinstall the Podfile by running pod install.
Despite all these efforts, I am still getting the same error. Any help or suggestions on how to resolve this issue would be greatly appreciated.
I have installed library using pod file.
used this library
https://github.com/ivpusic/react-native-image-crop-picker
image selection from gallery working fine when I run code from x-code , but got above error when I run 'react-native run-ios'.
Any solution will be helpful.
Reason for this error:
The xcode could find the library in pods you need to install pods in order to make it work on iOS.
try running
pod install
I am busy trying to implement camera functionality into an app I am writing in react-native. I have installed react-native-camera via npm and have this working solidly in IOS.
When I try and run on android, the project does not build and throws below error
node_modules/react-native-camera/android/src/main/java/org/reactnative/camera/events/BarCodeReadEvent.java:27: error: no suitable method found for init(int)
I have specified the correct android sdk build tools as described on https://github.com/react-native-community/react-native-camera.
I can run simple projects on my android emulator but as soon as I link the react-native-camera, I am unable to build. Does anyone have any ideas, or experience with this?
I am developing on a mac and as mentioned above. Everything works perfectly on the IOS app.
I have developed an app in react native, but the project folder is too large(1.2GB) to upload into git and the IOS folder itself holding 0.9GB.I have done the following steps to overcome the issue
Steps Followed :-
Deleted Android and IOS folders from project folder.
Uploaded and Downloaded the project code using git.
Later run the commands like npm install and react-native upgrade
After running the above commands to generate IOS and Android folders, we are supposed to run Android version, but facing issue with IOS.
So...I request you to let me know the proper process of uploading code into git such that i can run both Android and IOS.
Make sure you have a .gitignore and make sure at a minimum that the build and node_modules folders are not included. For me 95% of the size is from that.
example gitignore
I am new to Facebook SDK with iOS. I want to send invitation to friends on Facebook for using my app for this I am using Facebook (developer.facebook.com)sdk api I have registered my app installed sdk and imported framework. After importing got error as,
ld: warning: directory not found for option '-
F/Users/vijaywebsolutions/Documents/FacebookSDK'
ld: framework not found FacebookSDKkk
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Why don't you try CocoaPods for your projects its the dependency manager for Objective-C projects.
Refer CocoaPods
Simple Setup
Open Terminal and type sudo gem install cocoapods
Once installed you need to create a simple Pod file in your project directory and add the dependency to that file example.
Go to your project root directory and create Pod File by typing in terminal touch Podfile
Once created add the following line to the podfile.
platform :ios
pod 'Facebook-iOS-SDK', '~> 3.11.0'
Save the file and then in the terminal(where pod file exist) run pod install
Now it will install the requested dependencies and will create a Workspace for your project, you don't need to take any effort to configure it.
Its the best way to manage your dependencies. Give it a try you won't regret.
First you have to include facebook sdk in you project, steps as follows :
click on your project folder in xcode.
go to general tab and find Linked framework and libraries.
in that click on + sign and provide path to FacebookSDK.framework
These steps will facebook sdk in your project.
Then you have to import it in any of .m file where you want to use is it. like following line :
#import <FacebookSDK/FacebookSDK.h>
I also ran into similar error when integrating FacebookSDK into my app. I have added the framework in the Link Binary with Libraries, however, error persisted. One important thing to note when app is built, is it should be build against source Facebook iOS SDK and NOT binary SDK. I got latest source from here Facebook iOS SDK, downloaded Bolts-iOS and XCTOOL and then ran build_framework.sh Once completed, copied FacebookSDK.framework to my app and everything worked perfect.