Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all 17165 articles
Browse latest View live

Cocoapods error installing libopencv-contrib

$
0
0

I am using this opencv3 library for react native, but when I try to install IOS dependencies using pod install i recieve this error, can someone help me?

    [!] Error installing libopencv-contrib    [!] /usr/bin/unzip /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip -d /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817    Archive:  /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip      End-of-central-directory signature not found.  Either this file is not      a zipfile, or it constitutes one disk of a multi-part archive.  In the      latter case the central directory and zipfile comment will be found on      the last disk(s) of this archive.    unzip:  cannot find zipfile directory in one of /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip or            /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip.zip, and cannot find /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip.ZIP, period.

Difference requiresMainQueueSetup and dispatch_get_main_queue?

$
0
0

I am trying to learn about creating react-native modules for iOS and there is one aspect that came up

Official documentation on threading mentions this block of code alongside its variations

- (dispatch_queue_t)methodQueue{  return dispatch_get_main_queue();}

There is another undocumented peace I saw a lot in the third party libraries which is this

+ (BOOL)requiresMainQueueSetup{    return NO;}

To me, these look kinda similar yet different, hence I wanted to ask for an explanation of following questions

  1. When should dispatch_get_main_queue be added to the module and what happens if it is omitted?

  2. When should requiresMainQueueSetup be added to the module and what happens if it is omitted?

  3. Can dispatch_get_main_queue and requiresMainQueueSetup be used together, if so why and when?

  4. What is the difference between returning YES and NO from requiresMainQueueSetup?

Close a SafariViewController from Detox UI tests

$
0
0

From my React-Native app, I'm opening a SafariViewController. I cannot find any way to close it and go back to my app using Detox.

I've tried to search for the "Close" button, and to use tap() with coordinates but because this seems to be a different activity, it just doesn't work.

I'm wondering if there is any way to actually go back using Detox?

I'd rather not mock this completely for the purpose of the test which wouldn't really make sense..

Thanks!

enter image description here

unable to run expo on IOS simulator

$
0
0

i've a problem with expo, who doesn’t work on my ios simulator,on the simulator i have the following message : 'There was a problem running Expo'screen of ios emulator

Everything is ok on android emulator, i tried to reinstall expo on my mac and iphone emulator, i check a lot of post but i didn’t see exactly the same error,this issue May be due to the fact that I changed my computer and that I copied all my files from the old computer.

if anybody can help me, I would be gratefulthx u.

Share singleton from Objective C to Swift

$
0
0

I am trying to access an Objective C singleton from Swift, however I only seem to get the initial value created in the init function of the singleton. The flightControllerState object exposed is updated in a delegate function and I can see that the value is properly updated on the Objective C side.

I have followed a few different posts here on SO and also this article on how to call the shared object from Swift. (I should also mention this is running inside a react native project if that may have any impact?)

Objective-C Singleton

@import DJISDK;@interface RCTBridgeDJIFlightController : RCTEventEmitter<DJIFlightControllerDelegate> {    DJIFlightControllerState *flightControllerState;}@property(nonatomic, readonly) DJIFlightControllerState *flightControllerState;+ (id)sharedFlightController;@end@implementation RCTBridgeDJIFlightControllerDJIFlightControllerState *flightControllerState;@synthesize flightControllerState;+ (id)sharedFlightController {        static RCTBridgeDJIFlightController *sharedFlightControllerInstance = nil;        static dispatch_once_t onceToken;        dispatch_once(&onceToken, ^{            sharedFlightControllerInstance = [[self alloc] init];        });        return sharedFlightControllerInstance;    }    - (id)init {    // I also tried this to make sure the shared instance was returned but no luck    //if (sharedFlightControllerInstance != nil) {    //    return sharedFlightControllerInstance;    //}    if (self = [super init]) {        flightControllerState = nil;    }    return self;    }    -(void)flightController:(DJIFlightController *)fc didUpdateState:(DJIFlightControllerState *)state {    flightControllerState = state;    }@end

Swift class calling singleton and accessing values

class VirtualStickController {  var flightControllerSharedInstance: RCTBridgeDJIFlightController  override init() {      self.flightControllerSharedInstance = RCTBridgeDJIFlightController()  }  func getFlightControllerState() {      if let state = flightControllerSharedInstance.flightControllerState {      print("FLIGHT CONTROLLER STATE: \(state)") // always null    } else {      print ("NULL")    }  }

Unable to upload image (React native, Laravel)

$
0
0

I have been trying this for a while but no success

Back-end

public function createInspection(Request $request) {   $path = Storage::disk('public')->putFile('bin_images', new File($request->file('image')));   return $path;    }

Client

data.append("image", {  uri: this.state.images[0].path,  type: this.state.images[0].mime,  size: this.state.images[0].size,  name: filename});this.props.sendInspection(data)

Service (shortend)

const res = await axios.post(url, data, {    headers: {      Authorization: `Bearer ${token}`,      Accept: "application/json","Content-Type": "multipart/form-data"    }  });

im not sure if it's something to do with path not being recongnized (ios image path) e.g. path :/private/var/mobile/Containers/Data/Application/B6FEB0FD-F9C8-4088-B15F-99D27A818C76/tmp/react-native-image-crop-picker/7BD81594-30E0-4E00-919C-4F353BBDE46F.jpg

I get this error

message: "The file "" does not exist", exception: "Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException", file: "/Users/ysr/tza-project/vendor/symfony/http-foundation/File/File.php", line: 37, file: "/Users/ysr/tza-project/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php", line: 116

Physical iPhone not listed under devices when running `xcrun simctl list devices`

$
0
0

My iPhone is plugged in to my computer with a usb lighting cable and when I run

xcrun simctl list devices

all that's listed is a bunch of simulators that I think I deleted to save storage space

== Devices ==-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-13-2 --    iPad (7th generation) (995FB8D4-520B-471F-B2E7-E4D7360C26CB) (Shutdown) (unavailable, runtime profile not found)    iPad Air (3rd generation) (4AAD0429-63F2-43BB-8F06-6250E64D4961) (Shutdown) (unavailable, runtime profile not found)    iPad Pro (11-inch) (AF920A90-0020-4F35-AB74-3AC5D7D382D0) (Shutdown) (unavailable, runtime profile not found)    iPad Pro (12.9-inch) (3rd generation) (B362351D-B4AC-444F-963F-70A490F14D5B) (Shutdown) (unavailable, runtime profile not found)    iPad Pro (9.7-inch) (C3D09E58-308A-4730-820E-2824E7F461AE) (Shutdown) (unavailable, runtime profile not found)    iPhone 11 (AD184AE5-1FEB-42F1-B40A-617E4C7E6712) (Shutdown) (unavailable, runtime profile not found)    iPhone 11 Pro (EDB228B2-3B12-4A83-90A1-526382083D19) (Shutdown) (unavailable, runtime profile not found)    iPhone 11 Pro Max (CD457702-B141-498C-8FE1-F837ABD956AF) (Shutdown) (unavailable, runtime profile not found)    iPhone 8 (5AF67E2F-902E-49C4-8D32-4E98CE12A042) (Shutdown) (unavailable, runtime profile not found)    iPhone 8 Plus (FF2B1F06-A010-4069-A738-86441725122C) (Shutdown) (unavailable, runtime profile not found)-- Unavailable: com.apple.CoreSimulator.SimRuntime.tvOS-13-2 --    Apple TV (514F0E2E-77FB-4C9F-9A93-E521A6B39606) (Shutdown) (unavailable, runtime profile not found)    Apple TV 4K (at 1080p) (91BE0179-C07F-42F3-8F17-E84243185D4A) (Shutdown) (unavailable, runtime profile not found)    Apple TV 4K (6C861FEB-584A-403E-9D8B-07BC68397745) (Shutdown) (unavailable, runtime profile not found)-- Unavailable: com.apple.CoreSimulator.SimRuntime.watchOS-6-1 --    Apple Watch Series 4 - 40mm (D4D77405-42CB-4BA4-BD91-A08F28E86CA9) (Shutdown) (unavailable, runtime profile not found)    Apple Watch Series 4 - 44mm (57D8CE15-D388-4676-A727-C530508EBDCE) (Shutdown) (unavailable, runtime profile not found)    Apple Watch Series 5 - 40mm (A196CBA3-B441-4B80-AFCF-CA68F2772EBE) (Shutdown) (unavailable, runtime profile not found)    Apple Watch Series 5 - 44mm (BA4645BA-929B-434A-8A97-287C76D0BE73) (Shutdown) (unavailable, runtime profile not found)

I am trying to run my React Native app on an actual device

Once I can find my devices name I am going to run

react-native run-ios --device="My iPhone"

I am able to run on my device through xCode, but I would like to run it from the command-line

Native base's Checkbox and radio button presentation not working

$
0
0

I am having problem with checkbox and radio button of native base. In checkbox, instead of check(tick) icon hyphen icon shows whereas for radio buttons shuffle icon shows up instead of cicle radioenter image description here button. Has anybody faced similar issues?? It was all good until last week. I dont know what has happened now. I have tried reinstalling vector icons,native base.But nothing worked.[checkbox][1]


Ios Notification dont arrive

$
0
0

I have a problem with APNS notifications. My application implements the notification service extension, the server sends APNS payload with priority = 10, but sometimes the notification does not reach the application. I know this may be some network problem, but can you provide me with other causes and possible solutions?

FCM Token for firebase cloud messaging sometimes not registered

$
0
0

I have a React Native app with React Native Firebase, which I use for push notifications / cloud messaging.So generally everything is fine, but the iOS version has one issue.

The problem is that the FCM Token I receive (const fcmToken = await messaging().getToken()) sometimes is valid and works and sometimes I get an error with NotRegistered as reason.

My test is very simple. I uploaded a version to TestFlight. When I'm now installing this version of the app a few times then the received FCM token is sometimes valid and sometimes it is not.The same code, the same keys/certificates, the same device.

Additionally checking the APNS token, that seems to be valid and working fine every time I checked.

  • I made sure I setup the Firebase app on launch with [FIRApp configure];
  • I checked if the App is registered at the APNS
  • I checked on another iPhone (The result was the same)

What can possible be wrong when the token sometimes works and sometimes doesn't?

Any hints are highly appreciated 🙏

System info:

System:    OS: macOS 10.15.6    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz    Memory: 557.23 MB / 16.00 GB    Shell: 3.0.2 - /usr/local/bin/fish  Binaries:    Node: 14.5.0 - /var/folders/bn/f6trf3q55vj_hjplf9vy9ls00000gn/T/yarn--1598005931689-0.20174739828176125/node    Yarn: 1.22.4 - /var/folders/bn/f6trf3q55vj_hjplf9vy9ls00000gn/T/yarn--1598005931689-0.20174739828176125/yarn    npm: 6.14.5 - ~/.nodenv/shims/npm    Watchman: 4.9.0 - /usr/local/bin/watchman  SDKs:    iOS SDK:      Platforms: iOS 13.6, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2    Android SDK:      API Levels: 28, 29      Build Tools: 28.0.3, 29.0.2      System Images: android-28 | Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom      Android NDK: Not Found  IDEs:    Android Studio: 3.6 AI-192.7142.36.36.6392135    Xcode: 11.6/11E708 - /usr/bin/xcodebuild  Languages:    Java: 1.8.0_232 - /usr/bin/javac    Python: 2.7.16 - /usr/bin/python  npmPackages:    @react-native-community/cli: Not Found    react: 16.13.1 => 16.13.1    react-native: 0.63.2 => 0.63.2  npmGlobalPackages:    *react-native*: Not Found

react-native run-ios is not working

$
0
0

I have a react native ios and it was working fine, suddnly it's working only in Xcode but not in terminal using this command:

react-native run-iosreact-native run-ios --device

Both of command are not working in the root directory, I tried to delete node_modules folder then run:

npm install; react-native link;

Unfortunatly it's not working, here are my logs:

enter image description hereenter image description hereenter image description here

Any Help!

Playing a video and recording at the same time react-native(iOS)

$
0
0

I want to play a video using react-native-video and at the same time record the voice of a user using react-native-audio-toolkit.

The problem is if the video is playing and i start recording, the video stop and when i click play again it simply doesn't work. Once i stop the recording everything is back to normal i can play pause and everything work.

I'm not super fluent with iOS, but in any case would it be possible that's those two libraries can both use the same iOS functions and cause interference ? The problem would be in the Recorder of react-native-audio-toolkit, because playing a sound with it's player and playing a video with rn video at the same time works.

If so does anyone would know how to solve that problem ? Thanks in advance

How to fix error " No bundle URL Present " when i'm launch my React Native App with Xcode?

$
0
0

Sorry i'm a baby dev and i'm confused by using Xcode for push my app on AppStore.

I try to put the .jsbundle of my app to build the application and send it to the stores.I followed the open classroom tutorial to do this.(here)

I've generated the javascript bundle and assets - it's okay, the problem is in its use afterwards. I don't have a JsCodeLocation in my AppDelegate, but Bridge.

It seems to do the same thing, indicating if it's in Debug mode to go through the index, if not to fetch the jsbundle.But when I run in release it crashes and gives me the error :

" No bundle URL present. Make sure you're running a packager server or have included a .jsbundle file in your application bundle."error crash on Xcode

I show you the content of my app.delegate :

#import "AppDelegate.h"#import <React/RCTBridge.h>#import <React/RCTBundleURLProvider.h>#import <React/RCTRootView.h>#import <React/RCTLinkingManager.h>#import "RNSplashScreen.h"@implementation AppDelegate- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{  RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];  RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge                                                   moduleName:@"watiz"                                            initialProperties:nil];  rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];  self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];  UIViewController *rootViewController = [UIViewController new];  rootViewController.view = rootView;  self.window.rootViewController = rootViewController;  [self.window makeKeyAndVisible];  [RNSplashScreen show];  return YES;}- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge{#if DEBUG  return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];#else  return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];#endif}- (BOOL)application:(UIApplication *)application   openURL:(NSURL *)url   options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options{  return [RCTLinkingManager application:application openURL:url options:options];}- (BOOL)application:(UIApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity restorationHandler:(nonnull void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler{ return [RCTLinkingManager application:application                  continueUserActivity:userActivity                    restorationHandler:restorationHandler];}@end

I've tried different things but nothing works, i don't know why it doesn't get the main.jsbundle

Do you have an idea ?thank you in advance !

React Native Custom Font Extra Padding

$
0
0

I am using a custom font (Cairo) for both Android & IOS. The font rendered with an extra padding for both platforms like the following

sample one

When I tried to set lineHeight=[fontSize] I got the following

sample two

I tried to set lineGap=0 following this article:Consistent font line height renderingbut I find that it's already ZERO

Also tried the paddingTop solution but it's not working at all just shift the text down with the bottom space like the above images

Hope anyone can help :)

React Native App LTR to RTL change without restarting the app

$
0
0

Currently I am using I18nManager for changing LTR to RTL, But its working only after restarting the app, My code is given below

 import {I18nManager} from 'react-native'; import RNRestart from 'react-native-restart';changeLtrToRtl=()=>{    I18nManager.forceRTL(true);    RNRestart.Restart();}

Is there some other method for implementing LTR to RTL change without restarting the app?


How to create an in-app-purchase Native Module in React Native

$
0
0

I am trying to implementing an in-app-purchase mechanism in my React Native app for iOS.But I couldn't found official supported modules about it, and I don't want to use any third party modules.

So I found this article How do you add an in-app purchase to an iOS application? on Stack overflow.Those answers were written in Swift or Objective-C, and I know little about Swift.

After I read about this article https://reactnative.dev/docs/native-modules-ios.I am thinking about making a method to request a purchase using Swift or Objective-C, and expose it to my React native project as a Native Module. After sending a request from a Button inside React Native View, I want to send the result to my React Native project using RCTEventEmitter from the Swift or Objective-C code.

Is it a good idea and how I can implement this?

Background color turns black after OnPress, when displayed on top of FlatList

$
0
0

Very strange behavior, I am using a FlatList, and on top of it there are 2 floating buttons (TouchableOpacity) (absolute position) and when they are pressed, their background color turns black.This happens only on IOS.

enter image description hereenter image description here

Code:

Render

let content = (<CollapsableNavList    onListScroll={this.showOrHideFilterButtons}    showFilterButtonsOnScroll={this.showOrHideFilterButtons}    style={styles.list}    isHorizontal={false}    dataModel={this.props.isFetching ? this.props.whileFetchingDisplayedResults : this.props.dataModel}    isFetching={false}    onRowSelect={this._onRowSelect}    didScrollWithOffset={this.didScrollWithOffset}    renderRowContent={this.renderRowContent}    keyExtractor={(item) => {      if (this.props.isFetching) {        return item      }      const property = item      return property.propertyId    }}>    {header}</CollapsableNavList>)return (<View style={[styles.container, styles.relative]}><View style={styles.filterBtnBlock}><AdditionalSearchParamsButton        title='Map'        iconName='map'        onPress={this.onMapPress}      /></View>    {content}</View>)export default class AdditionalSearchParamsButton extends Component {  // Prop type warnings  static propTypes = {    iconName: PropTypes.string.isRequired,    title: PropTypes.string.isRequired,    onPress: PropTypes.func.isRequired  }  render () {    const { iconName, title, onPress } = this.props    return (<View><TouchableHighlight onPress={onPress} underlayColor={Colors.clear}><View style={styles.innerContainer}><McIcon              name={iconName}              style={styles.additionalPropsIcon}          /><Text style={styles.additionalPropsText}>{title}</Text></View></TouchableHighlight></View>    )  }}export default StyleSheet.create({  container: {    height: 50,    width: 150,    alignItems: 'center',    justifyContent: 'center'  },  innerContainer: {    height: 36,    width: 126,    flexDirection: 'row',    justifyContent: 'center',    alignItems: 'center',    backgroundColor: Colors.snow,    borderRadius: 18,    elevation: 2,    shadowOffset: {width: 0, height: 2},    shadowColor: 'black',    shadowOpacity: 0.3,    marginBottom: 5,  },  additionalPropsBtn: {    height: 36,    flexDirection: 'row',    justifyContent: 'center',    alignItems: 'center',    backgroundColor: Colors.snow  },  additionalPropsText: {    ...Fonts.style.bigTitle,    color: Colors.blue,    paddingLeft: 10  },  additionalPropsIcon: {    fontSize: 22,    color: Colors.blue  }})

What I've tried:

-Setting underlays color to clear, with no success.

-Adding different layers under, no success.

-This only happens when displayed on a list, happens with ListView too.

What is the best way to achieve responsiveness across all ios devices while making a ios app on react native

$
0
0

I am currently making a react native app for ios and tried these 2 npm packages separately: react-native-responsive-screen and react-native-lightweight-responsive but I still have issues where some images are not where they are supposed to be for example on iphone X its placement is wrong but on iphone 8+ its right.

What is the best way to achieve responsiveness across all ios devices (iphones and ipads)? Any help is appreciated.Thank you.

Use of undeclared identifier 'AIRGoogleMapOverlay' in AIRGoogleMapOverlayManager even after #import "AIRGoogleMapOverlay.h"

$
0
0

I am getting Use of undeclared identifier 'AIRGoogleMapOverlay' error when I am trying to run my react native project through Xcode. I am actually trying to open the app on my iPhone and thats when I encounter this error. If I simply say react-native run-ios, it builds and launches the app on simulator. I am trying to extract current device location which I can't do using a simulator.

The error occurs in the AirGoogleMapOverlayManager.m file which exists in the react-native-google-maps package.

AIRGoogleMapOverlay.h

#ifdef HAVE_GOOGLE_MAPS#import <Foundation/Foundation.h>#import <GoogleMaps/GoogleMaps.h>#import <React/RCTBridge.h>#import "AIRMapCoordinate.h"#import "AIRGoogleMap.h"@interface AIRGoogleMapOverlay : UIView@property (nonatomic, strong) GMSGroundOverlay *overlay;@property (nonatomic, copy) NSString *imageSrc;@property (nonatomic, strong, readonly) UIImage *overlayImage;@property (nonatomic, copy) NSArray *boundsRect;@property (nonatomic, readonly) GMSCoordinateBounds *overlayBounds;@property (nonatomic, weak) RCTBridge *bridge;@end#endif

AIRGoogleMapOverlay.m

#ifdef HAVE_GOOGLE_MAPS#import "AIRGoogleMapOverlay.h"#import <React/RCTEventDispatcher.h>#import <React/RCTImageLoader.h>#import <React/RCTUtils.h>#import <React/UIView+React.h>@interface AIRGoogleMapOverlay()  @property (nonatomic, strong, readwrite) UIImage *overlayImage;  @property (nonatomic, readwrite) GMSCoordinateBounds *overlayBounds;@end@implementation AIRGoogleMapOverlay {  RCTImageLoaderCancellationBlock _reloadImageCancellationBlock;  CLLocationCoordinate2D _southWest;  CLLocationCoordinate2D _northEast;}- (instancetype)init{  if ((self = [super init])) {    _overlay = [[GMSGroundOverlay alloc] init];  }  return self;}- (void)setImageSrc:(NSString *)imageSrc{  NSLog(@">>> SET IMAGESRC: %@", imageSrc);  _imageSrc = imageSrc;  if (_reloadImageCancellationBlock) {    _reloadImageCancellationBlock();    _reloadImageCancellationBlock = nil;  }  __weak typeof(self) weakSelf = self;  _reloadImageCancellationBlock = [_bridge.imageLoader loadImageWithURLRequest:[RCTConvert NSURLRequest:_imageSrc]                                                                          size:weakSelf.bounds.size                                                                         scale:RCTScreenScale()                                                                       clipped:YES                                                                    resizeMode:RCTResizeModeCenter                                                                 progressBlock:nil                                                              partialLoadBlock:nil                                                               completionBlock:^(NSError *error, UIImage *image) {                                                                 if (error) {                                                                   NSLog(@"%@", error);                                                                 }                                                                 dispatch_async(dispatch_get_main_queue(), ^{                                                                   NSLog(@">>> IMAGE: %@", image);                                                                   weakSelf.overlayImage = image;                                                                   weakSelf.overlay.icon = image;                                                                 });                                                               }];}- (void)setBoundsRect:(NSArray *)boundsRect{  _boundsRect = boundsRect;  _southWest = CLLocationCoordinate2DMake([boundsRect[1][0] doubleValue], [boundsRect[0][1] doubleValue]);  _northEast = CLLocationCoordinate2DMake([boundsRect[0][0] doubleValue], [boundsRect[1][1] doubleValue]);  _overlayBounds = [[GMSCoordinateBounds alloc] initWithCoordinate:_southWest                                                        coordinate:_northEast];  _overlay.bounds = _overlayBounds;}@end#endif

And here is where I get the error, in AIRGoogleMapOverlayManager

#import "AIRGoogleMapOverlayManager.h"#import "AIRGoogleMapOverlay.h"@interface AIRGoogleMapOverlayManager()@end@implementation AIRGoogleMapOverlayManager- (UIView *)view{  AIRGoogleMapOverlay *overlay = [AIRGoogleMapOverlay new]; ERROR-Use of  undeclared identifier 'AIRGoogleMApOverlay'  overlay.bridge = self.bridge; ERROR-Use of  undeclared identifier 'overlay'  return overlay; ERROR-Use of  undeclared identifier 'overlay'  return 0;}RCT_EXPORT_MODULE()RCT_REMAP_VIEW_PROPERTY(bounds, boundsRect, NSArray)RCT_REMAP_VIEW_PROPERTY(image, imageSrc, NSString)@end

I know that solving the first will get rid of all 3 errors. Also I am running xcworkspace, not xcodeproj.

Any help is appreciated!

keep getting this error for nodemediaclient react native IOS each time i attempt to build app

$
0
0

Undefined symbols for architecture x86_64: "___darwin_check_fd_set_overflow", referenced from: _kmp_read in NodeMediaClient(kmp.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation

Viewing all 17165 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>