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

Call obj for a component

$
0
0

I'm calling an obj for my index.js screen like that ...

index.js

import React from 'react';import { View, Text } from 'react-native';import ScreenUsers from './ScreenUsers';const Users = (props) => {  const username = props?.route?.params?.user.map(name => (    name.userDetails.nameUser  ));  return (<Text>{username}</Text>    {ScreenUsers()}  );}

Until then my index.js works, pull the username, however my index has a component from another screen called ScreenUsers.js where I make a list of users. In this other component that is breaking because it does not return what I want.

ScreenUsers.js

import React from 'react';import { View, Text } from 'react-native';function ScreenUsers(props) {  const fullnanme = props?.route?params?.user.users;  return <Text>{fullname}</Text>}

ScreenUsers have route error


React-native iOS crash report operator() + 44. There is no specified error

$
0
0

There are a lot of bugs in my application, but I can't find the problem. After opening a bug in the project, you don't see any errors either. The application works normally on 2 tested devices with the system 14.4.2. I am sending screenshots.attachment1attachment2

Make React Native Text component take no space inside TextInput on Android

$
0
0

I have a Text element inside a TextInput that I want to make take no space. Here's a preview of the component:

export function Component() {  function renderText() {    return (<Text>        This is normal text<Text style={styles.hiddenText}>This very long text should be hidden because it is metadata.</Text></Text>    );  }  return (<View style={styles.container}><TextInput        style={styles.input}        multiline={true}>        {renderText()}</TextInput></View>  );}

Here are the styles that I have applied to the Text element that I want to hide:

hiddenText: {  fontSize: 0.000001,  backgroundColor: 'red' // just to show that it actually appears on Android}

These styles work as expected on iOS, but on Android the supposedly hidden Text element still occupies quite a lot of space (see Snack demo).

See iOS screenshot

See Android screenshot

In case you are wondering why I want to do this, the above is a simplified version of my real app. In reality, I have a text input that allows for adding comments and the users can also tag each other. My current implementation keeps the tagged user inside the text itself in the following format @user's full name|userId; because I found this approach to be the easiest in terms of manipulating the actual content of the text input. I have to keep the id of the user along with the full name as the id is what is actually sent to the API.

How can I hide the red background text on Android and make it look the same as on iOS?

Maximum character count for local notification body - React Native iOS

$
0
0

I have implemented Local Notification in my React Native App.

Package using react-native-push-notification-ios/push-notification-ios

I have tried to fire local notification and it's a success. But local notification does not show all the Text of the body. Any maximum length or any solution for showing full text ?

My code :

  showNotification = (id, title, message, data = {}, options = {}, channel) => {    console.log('SHOWWWWWW');    PushNotification.localNotification({      /* Android Only Properties */      ...this.buildAndroidNotification(        id,        title,        message,        data,        options,        channel,      ),      /* iOS and Android properties */      ...this.buildIOSNotification(id, title, message, data, options),      /* iOS and Android properties */      title: title || '',      message: message || '',      playSound: options.playSound || false,      soundName: options.soundName || 'default',      userInteraction: true, // BOOLEAN: If the notification was opened by the user from the notification area or not    });  };  buildIOSNotification = (id, title, message, data = {}, options = {}) => {    return {      alertAction: options.alertAction || 'view',      alertBody: message || '',      category: options.category || '',      userInfo: {        id: id,        item: data,      },    };  };

enter image description here

UPDATED SOLUTION :

Maximum character length is 256 on iOS Side

Couldn't find a navigation object. Is your component inside a screen in a navigator?

$
0
0

In My below code when I use useNavigation() then it gives an error like my quiestionHow to use useNavigation, Please any one can solve this error... ERROR:Couldn't find a navigation object. Is your component inside a screen in a navigator?I followed code from here https://rnfirebase.io/messaging/notifications#handling-interaction

import React, {useState, useEffect } from 'react';import messaging from '@react-native-firebase/messaging';import { NavigationContainer, useNavigation } from "@react-navigation/native";import { createStackNavigator, HeaderTitle, } from "@react-navigation/stack";const Stack = createStackNavigator();function App(props) {     const navigation = props.navigation    //const navigation = useNavigation();    const [initialRoute, setInitialRoute] = useState('Splash Screen');    useEffect(() => {        messaging().onMessage(remoteMessage => {            navigation.navigate("Description Screen");            console.log(props.navigation)        });    }, []);    return (<NavigationContainer><Stack.Navigator                initialRouteName={initialRoute}                headerMode="none"                screenOptions={{                    gestureEnabled: true,                }}><Stack.Screen name="Splash Screen" component={SplashScreen} /><Stack.Screen name="Description Screen" component={DescriptionScreen} /></Stack.Navigator></NavigationContainer>    );}export default App;

How to access protocol methods when passing the React Native root UIViewController as a delegate

$
0
0

I am working on an iOS bridge to integrate a .framework SDK into a React Native app.

The documentation for this SDK states I should pass a UIViewController as a delegate to the framework initialiser to which the SDK will notify all its outputs.

As React Native apps are built within a single UIViewController, I have passed that root UIViewController to the initialiser like so:

UIViewController *rootViewController = [UIApplication sharedApplication].delegate.window.rootViewController;if (![CustomSDK isStarted]) {    [CustomSDK startWithDelegate:rootViewController];}

Following the examples of iOS bridge in the React Native documentation, I have created a separate module to handle this where I've implemented the protocol methods.

// CustomSDKModule.h@interface CustomSDKModule : RCTEventEmitter <RCTBridgeModule, CustomSDKProtocol>@end

Using this root controller throws some warnings about incompatible types of UIViewControllers but the app builds and the SDK launches as expected.

The problems appear when the SDK tries to trigger the protocol methods. I have the protocol methods implemented in my CustomSDKModule.m file, the same file that has the method to initialise the SDK, but they are never triggered by the SDK. Instead, the app crashes with the following message:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIViewController CustomSDKMethodName:withCaptureType:]: unrecognized selector sent to instance 0x15dd2e8b0'

I'm wondering whether those methods should be declared within the implementation on the app's root UIViewController? e.g AppDelegate.m

Any tips on what I'm doing wrong or should be doing are appreciated

React Native iOS - fatal error: module 'GoogleMapsBase' not found

$
0
0

iOS build got failed due to fatal error: module 'GoogleMapsBase' not foundi followed this doc also https://github.com/airbnb/react-native-maps/blob/master/docs/installation.md and used this package : https://github.com/airbnb/react-native-maps

please help me to fix this issue.These are the steps i have already done.

  • cleaned the code in xocde
  • took rebuild
  • did react-native link react-native-maps
  • pod install
  • added the lines in AppDelegate.m

here is my Podfile

target 'ios_user' do  rn_path = '../node_modules/react-native'  pod 'yoga', path: "#{rn_path}/ReactCommon/yoga/Yoga.podspec"  pod 'React', path: rn_path, subspecs: ['Core','RCTActionSheet','RCTAnimation','RCTGeolocation','RCTImage','RCTLinkingIOS','RCTNetwork','RCTSettings','RCTText','RCTVibration','RCTWebSocket','BatchedBridge'  ]  pod 'GoogleMaps'  pod 'react-native-maps', path: '../node_modules/react-native-maps'  pod 'react-native-google-maps', path: '../node_modules/react-native-maps'end

these are the dependencies in package.json file

"dependencies": {"moment": "^2.19.1","react": "16.0.0-beta.5","react-native": "0.49.2","react-native-elements": "^0.17.0","react-native-maps": "^0.17.1","react-native-simple-radio-button": "^2.6.2","react-native-vector-icons": "^4.4.0","validate.js": "^0.11.1"  },

Thanks in advance

Xcode v12.5 - Build error on opening SQlite DB

$
0
0

Working on a React-Native project, after upgrading the Xcode from v12.4 to 12.5 getting a build error. Used to work perfectly in Xcode v12.4

I have narrowed down to the line which causes this build error:

var db: OpaquePointer?let _path = path ?? "widgetdb.sqlite3";sqlite3_open(_path, &db) <-- This is the culprit!

Error log:

Undefined symbols for architecture x86_64:"Swift._ArrayBuffer._copyContents(initializing: Swift.UnsafeMutableBufferPointer<A>) -> (Swift.IndexingIterator<Swift._ArrayBuffer<A>>, Swift.Int)", referenced from:      generic specialization <serialized, Swift._ArrayBuffer<Swift.Int8>> of Swift._copyCollectionToContiguousArray<A where A: Swift.Collection>(A) -> Swift.ContiguousArray<A.Element> in SQLiteDatabase.o

Any help will be appreciated!Thanks!!


How to resolve 'FIRApp' has different definitions in different modules; first difference is definition in module 'FirebaseCore?

$
0
0

Im migrating from xcode 11.7 to xcode 12. I tried building the app from xcode 12 and then these errors showed up. Do you have any solutions? Thanks in advance!

enter image description here

New RN project in M1 mbp built failed. "Could not find node. Make sure it is in bash PATH or set the NODE_BINARY environment variable."

$
0
0
System:    OS: macOS 11.3    CPU: (8) arm64 Apple M1    Memory: 124.86 MB / 16.00 GB    Shell: 5.8 - /bin/zsh  Binaries:    Node: 16.0.0 - /opt/homebrew/bin/node    Yarn: Not Found    npm: 7.10.0 - /opt/homebrew/bin/npm    Watchman: Not Found  Managers:    CocoaPods: 1.10.1 - /Users/chia/.rbenv/shims/pod  SDKs:    iOS SDK:      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4    Android SDK: Not Found  IDEs:    Android Studio: Not Found    Xcode: 12.5/12E262 - /usr/bin/xcodebuild  Languages:    Java: Not Found  npmPackages:    @react-native-community/cli: Not Found    react: 17.0.1 => 17.0.1     react-native: 0.64.0 => 0.64.0     react-native-macos: Not Found  npmGlobalPackages:    *react-native*: Not Found

New RN project create successful, but built failed by Xcode.

Error:

Error: Could not find node. Make sure it is in bash PATH or set the NODE_BINARY environment variable.

Command PhaseScriptExecution failed with a nonzero exit code

node installed by homebrew, and Intel mbp doesn't have this error.

How to resolve this error?

Building React native fail on ios

$
0
0

I've got a new mac and I followed the instructions for the installation.

when I run the Command:

npx react-natove init ProjectName

I got the following Error

** BUILD FAILED **

The following build commands failed:CompileC /Users/aghiadmonier/Library/Developer/Xcode/DerivedData/test-bbpkvpircnzzukgpgaaohkixdojw/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/ConnectionContextStore.o /Users/aghiadmonier/Desktop/React/test/ios/Pods/Flipper/xplat/Flipper/ConnectionContextStore.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler(1 failure)

I am using Xcode 12.5

I cannot load a react native component from a custom library locally installed

$
0
0

I'm trying to create a library for react native by using https://github.com/callstack/react-native-builder-bob and I have some problems when I install this package locally in another react-native project I'm installing it by using the command yarn add file:/path/to/local/folder and I'm also installing its pod dependencies but I don't know why I get the next errors when I want to use the component.

My component names VideoConferenceView

I'm using the component created by default by the scaffolding and it does not have any text

How to make React Native Animated.View clickable?

$
0
0

I'm using this react native tinder demo ->https://github.com/brentvatne/react-native-animated-demo-tinder

Is it possible to make the cards 'clickable' so it would navigate to another view on click? I've tried wrapping the "Touchable" components around the animated view but doing so disables the animations.

Any ideas would be highly appreciated, thanks!

xCode Cocoapods build fails "Undefined symbols for architecture x86_64"

$
0
0

I want to build my Xcode project (react native & swift) for the simulator and on a real device.

The simulator worked great. Today I tried to build it for my device, I selected my device in the Xcode bar and added the scheme to release (I had to do this because I'm using react native and otherwise the bundle is not packed)

Then an error during the build occurs (in this case for the dependency RNPurchases, but this is completely random. sometimes it's Expo-Keep-Awake or Facebook)

Undefined symbols for architecture x86_64:"_OBJC_CLASS_$_RCPurchases", referenced from:  objc-class-ref in RNPurchases.old: symbol(s) not found for architecture x86_64clang: error: linker command failed with exit code 1 (use -v to see invocation)

Even switching the back to Build Configuration Debug in my scheme has no effect anymore.

I already tried several things:

  • clear Xcode build
  • delete pod folder
  • remove pod cache
  • remove Xcode/DerivedData
  • reboot

nothing works.

This problem is pretty new to me, it already occurred twice within the last 2 months. Somehow I got the build for the simulator running again, but never for a device. I didn't have the problems like this half a year ago ...

My Setup

  • Xcode 12.4
  • MacBook Pro (Big Sur 11.2.3)
  • Build Settings for App-Target: Build Active Architectures Only: Debug YES, Release NO)
  • Build Settings for Pod-Target: Build Active Architectures Only: Debug YES, Release NO)
  • Podfile:
    require_relative '../node_modules/react-native/scripts/react_native_pods'    require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'    require_relative '../node_modules/react-native-unimodules/cocoapods.rb' # expo uni modules    use_frameworks!    install! 'cocoapods', :deterministic_uuids => false, :warn_for_unused_master_specs_repo => false    target 'TrainUrTeam' do      platform :ios, '12.0'      # ... pods xyz      use_unimodules!      config = use_native_modules!      use_react_native!(:path => config["reactNativePath"])    end    post_install do |installer| # src: https://stackoverflow.com/a/64139830/6003494      installer.pods_project.targets.each do |target|        target.build_configurations.each do |config|          config.build_settings["ONLY_ACTIVE_ARCH"] = "YES"        end      end    end

React Native 0.64 won't build iOS app after updating Xcode to 12.5 and iOS to 14.5

$
0
0

After upgrading Xcode to 12.5 and iOS to 14.5, I can't run the iOS app on a real device nor in the simulator.

After running npm run ios, I get this message:

The following build commands failed:        CompileC .../Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper-Folly.build/Objects-normal/x86_64/DistributedMutex.o /Users/guilherme/Documents/Dood/ios/Pods/Flipper-Folly/folly/synchronization/DistributedMutex.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler

If I try to run the app on a real device using Xcode, this is the error I get (related to Flipper-Folly):

.../ios/Pods/Headers/Private/Flipper-Folly/folly/synchronization/DistributedMutex-inl.h:1051:5: 'atomic_notify_one<unsigned long>' is unavailable

Ideas? Thanks!


React Native Project is not running on iOS Simulator

$
0
0

I am not new to React Native, have been working on this for a while, but the issue which I am facing right now is pretty much new. I am fed up with this problem. The problem I am facing is, I cannot run the app on the iOS simualator. I have tried almost every way to solve this, but could not.

My Trials:

  1. Removing Pods and Podfile.lock and then doing pod install and react-nativerun-ios
  2. removed node_modules and package-lock.json and then Pods, Podfile.lock and then doing npm install -> pod install -> react-native run-ios
  3. Opening Xcode, cleaning the Build, and then react-native run-ios
  4. Running react-native start --reset-cache and then react-native run-ios
  5. Doing pod update and then react-native run-ios

It is still failing, and it throws me a lot of error on the console. I am confused and horrified with this situation. Till morning every thing was working fine, but now nothing works

Error I get:

I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-jsi -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-jsiexecutor -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-jsinspector -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-perflogger -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-runtimeexecutor -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/ReactCommon -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/Yoga -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/glog -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/boost-for-react-native -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/RCT-Folly -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/DoubleConversion -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Private/React-Core -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/DerivedSources-normal/x86_64 -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/DerivedSources/x86_64 -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/DerivedSources -F/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Products/Debug-iphonesimulator/ReactCommon -fmodule-map-file\=/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React/React-Core.modulemap -fmodule-map-file\=/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/yoga/Yoga.modulemap -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation -include /Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Target\ Support\ Files/ReactCommon/ReactCommon-prefix.pch -MMD -MT dependencies -MF /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModuleUtils.d --serialize-diagnostics /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModuleUtils.dia -c /Users/careerlabsdev/Documents/Projects/SpaceX/node_modules/react-native/ReactCommon/react/nativemodule/core/ReactCommon/TurboModuleUtils.cpp -o /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModuleUtils.oLibtool /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Products/Debug-iphonesimulator/YogaKit/libYogaKit.a normal (in target 'YogaKit' from project 'Pods')    cd /Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods    export IPHONEOS_DEPLOYMENT_TARGET\=10.0    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only x86_64 -D -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -L/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Products/Debug-iphonesimulator/YogaKit -filelist /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/YogaKit.build/Objects-normal/x86_64/YogaKit.LinkFileList -dependency_info /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/YogaKit.build/Objects-normal/x86_64/YogaKit_libtool_dependency_info.dat -o /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Products/Debug-iphonesimulator/YogaKit/libYogaKit.aCompileC /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModulePerfLogger.o /Users/careerlabsdev/Documents/Projects/SpaceX/node_modules/react-native/ReactCommon/react/nativemodule/core/ReactCommon/TurboModulePerfLogger.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'ReactCommon' from project 'Pods')    cd /Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods    export LANG\=en_US.US-ASCII    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -target x86_64-apple-ios10.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c++14 -stdlib\=libc++ -fmodules -fmodules-cache-path\=/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DPOD_CONFIGURATION_DEBUG\=1 -DDEBUG\=1 -DCOCOAPODS\=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Index/DataStore -iquote /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/ReactCommon-generated-files.hmap -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/ReactCommon-own-target-headers.hmap -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/ReactCommon-all-non-framework-target-headers.hmap -ivfsoverlay /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/all-product-headers.yaml -iquote /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/ReactCommon-project-headers.hmap -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Products/Debug-iphonesimulator/ReactCommon/include -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Private -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Private/ReactCommon -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/DoubleConversion -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/RCT-Folly -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-Core -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-callinvoker -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-cxxreact -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-jsi -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-jsiexecutor -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-jsinspector -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-perflogger -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-runtimeexecutor -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/ReactCommon -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/Yoga -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/glog -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/boost-for-react-native -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/RCT-Folly -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/DoubleConversion -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Private/React-Core -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/DerivedSources-normal/x86_64 -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/DerivedSources/x86_64 -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/DerivedSources -F/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Products/Debug-iphonesimulator/ReactCommon -fmodule-map-file\=/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React/React-Core.modulemap -fmodule-map-file\=/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/yoga/Yoga.modulemap -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation -include /Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Target\ Support\ Files/ReactCommon/ReactCommon-prefix.pch -MMD -MT dependencies -MF /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModulePerfLogger.d --serialize-diagnostics /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModulePerfLogger.dia -c /Users/careerlabsdev/Documents/Projects/SpaceX/node_modules/react-native/ReactCommon/react/nativemodule/core/ReactCommon/TurboModulePerfLogger.cpp -o /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModulePerfLogger.oCompileC /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModuleBinding.o /Users/careerlabsdev/Documents/Projects/SpaceX/node_modules/react-native/ReactCommon/react/nativemodule/core/ReactCommon/TurboModuleBinding.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'ReactCommon' from project 'Pods')    cd /Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods    export LANG\=en_US.US-ASCII    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -target x86_64-apple-ios10.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c++14 -stdlib\=libc++ -fmodules -fmodules-cache-path\=/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DPOD_CONFIGURATION_DEBUG\=1 -DDEBUG\=1 -DCOCOAPODS\=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Index/DataStore -iquote /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/ReactCommon-generated-files.hmap -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/ReactCommon-own-target-headers.hmap -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/ReactCommon-all-non-framework-target-headers.hmap -ivfsoverlay /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/all-product-headers.yaml -iquote /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/ReactCommon-project-headers.hmap -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Products/Debug-iphonesimulator/ReactCommon/include -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Private -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Private/ReactCommon -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/DoubleConversion -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/RCT-Folly -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-Core -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-callinvoker -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-cxxreact -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-jsi -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-jsiexecutor -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-jsinspector -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-perflogger -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-runtimeexecutor -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/ReactCommon -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/Yoga -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/glog -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/boost-for-react-native -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/RCT-Folly -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/DoubleConversion -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Private/React-Core -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/DerivedSources-normal/x86_64 -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/DerivedSources/x86_64 -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/DerivedSources -F/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Products/Debug-iphonesimulator/ReactCommon -fmodule-map-file\=/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React/React-Core.modulemap -fmodule-map-file\=/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/yoga/Yoga.modulemap -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation -include /Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Target\ Support\ Files/ReactCommon/ReactCommon-prefix.pch -MMD -MT dependencies -MF /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModuleBinding.d --serialize-diagnostics /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModuleBinding.dia -c /Users/careerlabsdev/Documents/Projects/SpaceX/node_modules/react-native/ReactCommon/react/nativemodule/core/ReactCommon/TurboModuleBinding.cpp -o /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModuleBinding.oCompileC /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModule.o /Users/careerlabsdev/Documents/Projects/SpaceX/node_modules/react-native/ReactCommon/react/nativemodule/core/ReactCommon/TurboModule.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'ReactCommon' from project 'Pods')    cd /Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods    export LANG\=en_US.US-ASCII    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -target x86_64-apple-ios10.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c++14 -stdlib\=libc++ -fmodules -fmodules-cache-path\=/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DPOD_CONFIGURATION_DEBUG\=1 -DDEBUG\=1 -DCOCOAPODS\=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Index/DataStore -iquote /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/ReactCommon-generated-files.hmap -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/ReactCommon-own-target-headers.hmap -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/ReactCommon-all-non-framework-target-headers.hmap -ivfsoverlay /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/all-product-headers.yaml -iquote /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/ReactCommon-project-headers.hmap -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Products/Debug-iphonesimulator/ReactCommon/include -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Private -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Private/ReactCommon -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/DoubleConversion -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/RCT-Folly -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-Core -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-callinvoker -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-cxxreact -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-jsi -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-jsiexecutor -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-jsinspector -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-perflogger -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React-runtimeexecutor -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/ReactCommon -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/Yoga -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/glog -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/boost-for-react-native -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/RCT-Folly -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/DoubleConversion -I/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Private/React-Core -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/DerivedSources-normal/x86_64 -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/DerivedSources/x86_64 -I/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/DerivedSources -F/Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Products/Debug-iphonesimulator/ReactCommon -fmodule-map-file\=/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/React/React-Core.modulemap -fmodule-map-file\=/Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Headers/Public/yoga/Yoga.modulemap -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation -include /Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Target\ Support\ Files/ReactCommon/ReactCommon-prefix.pch -MMD -MT dependencies -MF /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModule.d --serialize-diagnostics /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModule.dia -c /Users/careerlabsdev/Documents/Projects/SpaceX/node_modules/react-native/ReactCommon/react/nativemodule/core/ReactCommon/TurboModule.cpp -o /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModule.owarning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the SpaceX editor. (in target 'SpaceX' from project 'SpaceX')** BUILD FAILED **The following build commands failed:        CompileC /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperRSocketResponder.o /Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Flipper/xplat/Flipper/FlipperRSocketResponder.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler(1 failure)

The last line of the error feels like the issue:

** BUILD FAILED **The following build commands failed:        CompileC /Users/careerlabsdev/Library/Developer/Xcode/DerivedData/SpaceX-gxgruwmfuircbegvjpqyszccmuiz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperRSocketResponder.o /Users/careerlabsdev/Documents/Projects/SpaceX/ios/Pods/Flipper/xplat/Flipper/FlipperRSocketResponder.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler(1 failure)

Podfile

  use_flipper!({'Flipper' => '0.81.0'})  post_install do |installer|    flipper_post_install(installer)    installer.pods_project.targets.each do |target|      target.build_configurations.each do |config|        config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'      end    end  end

I am in urgent need of the solution. If anyone knows about this please help. I use Apple M1 Chip Macbook Air. Thank You.

Can't show Image in React Native

$
0
0

I'm using react-native 0.28.0

I'm trying to show an image on iPhone simulator according to this tutorial: Introduction to React Native: Building iOS Apps with JavaScript | Appcoda

var styles = StyleSheet.create({image: {    width: 107,    height: 165,    padding: 10  }}var imageURI = 'http://books.google.com/books/content?id=PCDengEACAAJ&printsec=frontcover&img=1&zoom=1&source=gbs_api'

Then in the render() function, I add this:

<Image style={styles.image} source={{uri:imageURI}} />

The space allocated for the image is there, but the image is not shown.

I want to render a React Native component n number of times only

$
0
0

I am creating an in app rating feature for an app built using React Native.The in app rating library used is react native rate and is contained in its own component. I only want to call this component 3 times as to avoid annoying users. I am thinking I have to have a variable in AsyncStorage that gets added 1 everytime the component gets called.Whats the best way to do this?

import React, { useEffect } from 'react';import { View, Text, Button } from 'react-native';import { useSelector, useDispatch } from 'react-redux';import Rate, { AndroidMarket } from 'react-native-rate';import AsyncStorage from '@react-native-community/async-storage';import remoteConfig from '@react-native-firebase/remote-config';;const InAppRating = () => {  const first_time_toggle = useSelector((state) => state.flow_engine.first_time);       // TEST STATMENT GETDATA() for Asyncstorage       const getData = async () => {         try {           const value = await AsyncStorage.getItem('sessions');           if(value !== null) {             console.log(value)           }         } catch (error) {           console.log(error)         }       }  // Remote Config Variable  //let IOS_RATING_SESSIONS = remoteConfig().getValue('ios_rating_sessions').asNumber();  useEffect(() => {    // Rating library Call function    const inAppRatingToggle = () => {      const options = {        AppleAppID: '2193813192',        GooglePackageName: 'com.mywebsite.myapp',        OtherAndroidURL: 'http://www.randomappstore.com/app/47172391',        preferredAndroidMarket: AndroidMarket.Google,        preferInApp: true,        openAppStoreIfInAppFails: true,        fallbackPlatformURL: 'https://test.com',      };      Rate.rate(options, (success) => {        if (success) {          // this technically only tells us if the user successfully went to the Review Page. Whether they actually did anything, we do not know.          console.log('[InAppRating] - Review Page shown to user');        } else {          console.log('[InAppRating] - There was an error showing the Review Page to user');        }    });    }    // Rating Logic     if(first_time_toggle == null) {      console.log('[InAppRating] - Rating function could not be called');    } else {      inAppRatingToggle();      console.log('[InAppRating] - Rating function called!');    }  })    return (<View><Text>This works!</Text></View>    );};export default InAppRating;

React Native build ios Flipper crash

$
0
0

I don't know what changed but I tried just about any thing and I am always getting this message:

The following build commands failed:    CompileC eveloper/Xcode/DerivedData/xxx-bvxasjfnemrqklbhzatwzolraqjj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper-Folly.build/Objects-normal/x86_64/DistributedMutex.o /WebstormProjects/xxx/ios/Pods/Flipper-Folly/folly/synchronization/DistributedMutex.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler(1 failure)

This is my Podfile:

require_relative '../node_modules/react-native/scripts/react_native_pods'require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'permissions_path = '../node_modules/react-native-permissions/ios'platform :ios, '10.0'target 'xxx' do  config = use_native_modules!  use_react_native!(:path => config["reactNativePath"])  pod 'RNSVG', :path => '../node_modules/react-native-svg'  pod 'react-native-camera', :path => '../node_modules/react-native-camera'  pod 'RNPermissions', :path => '../node_modules/react-native-permissions'  pod 'Permission-Camera', :path => "#{permissions_path}/Camera"  pod 'RNCPicker', :path => '../node_modules/@react-native-picker/picker'  pod 'react-native-splash-screen', :path => '../node_modules/react-native-splash-screen'  pod 'react-native-fbsdk', :path => '../node_modules/react-native-fbsdk'  pod 'RNCAsyncStorage', :path => '../node_modules/@react-native-async-storage/async-storage'  pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'  target 'xxxTests' do    inherit! :complete    # Pods for testing  end  # Enables Flipper.  #  # Note that if you have use_frameworks! enabled, Flipper will not work and  # you should disable these next few lines.  use_flipper!  post_install do |installer|    flipper_post_install(installer)  endendtarget 'xxx-tvOS' do  # Pods for xxx-tvOS  target 'xxx-tvOSTests' do    inherit! :search_paths    # Pods for testing  endend

Some of the things I tried:

  1. rm Pods + Podfile.lock and pod install
  2. Setting flipper version 0.74.0
  3. I am 100% sure I am opening the project with the xcworkspace and not the xcodeproj

Thanks to anyone who can help

iOS Share extension not showing for URLs and Text

$
0
0

So I have made a hybrid application using react-native and I had no issues setting up share for android, but in iOS I am not able to make my application appear on the share list.I need Apple Music or any application that shares a URL to be able to share to my extension.

I have added the following settings to my info.plist for the share extension

enter image description here

If I mention the NSExtensionActivationRule for an Image, I am able to see my application on the list but it is not working for URLs at all. Am I missing something in the setup ?

Update:

I am using MacOS 10.15 and Xcode 12.4The share extension is working as expected on iOS 14.2 on an iPhone 8 and it is not working as expected in iOS 14.4.2 on an iPhone X

Found more information on Apple Developer forums: https://developer.apple.com/forums/thread/662671?page=2

it seems to be getting fixed if you restart the device, this is an open issue and appeared first in iOS 14.4.1

found another issue with a similar problemShare extension - App not showing in share menu on first attempt since iOS 14

Viewing all 16548 articles
Browse latest View live