Closed djMax closed 1 year ago
A little more info - this has something to do with a custom metro transformer I have written to do localization. Even if I reduce it to this:
const upstreamTransformer = require('metro-react-native-babel-transformer');
module.exports.transform = function transform({ src, filename, options }) {
return upstreamTransformer.transform({ src, filename, options });
};
It will hang.
I'm also facing issues with the bundler on 0.63 in two projects, but it might be a slightly different issue because I'm promptly getting errors while bundling for release. One is a yarn workspaces / Lerna monorepo, but the other is not. Both use babel-plugin-module-resolver
to resolve modules using shortened absolute paths. The release notes don't seem to have much in the way of bundler changes, but the same config bundles just fine on 0.62.2. Has anyone come across any changes relevant to bundling in 0.63.0?
The closest I've found to what I'm experiencing is being discussed in this StackOverflow question, in case any of this is useful for you.
Change your babel.config.js to .babelrc.js and it will work
I have the same issue to @ioveracker's, not sure it's the same as the original issue of this thread though.
With 0.63 and babel-plugin-module-resolver
, it seems that jsbundle won't created from ./ios
directory (where Xcode execute react-native scripts). It works on root directory of the react-native project though.
So I did a temporary quick fix to add cd $PROJECT_DIR/..
before the "$NODE_BINARY" $NODE_ARGS "$CLI_PATH" $BUNDLE_COMMAND \
line on node_modules/react-native/scripts/react-native-xcode.sh
I don't know why this is happened, and hope will fix soon!
@typester good call! That works! ๐ To be clear, in my case, rather than patch node_modules/react-native/scripts/react-native-xcode.sh
, I added cd $PROJECT_DIR/..
to the first line of the Bundle React Native code and images
Build Phase in Xcode. I.e.:
cd $PROJECT_DIR/..
export NODE_BINARY=node
./node_modules/react-native/scripts/react-native-xcode.sh
I'm also facing issues with the bundler on 0.63 in two projects, but it might be a slightly different issue because I'm promptly getting errors while bundling for release. One is a yarn workspaces / Lerna monorepo, but the other is not. Both use
babel-plugin-module-resolver
to resolve modules using shortened absolute paths. The release notes don't seem to have much in the way of bundler changes, but the same config bundles just fine on 0.62.2. Has anyone come across any changes relevant to bundling in 0.63.0?The closest I've found to what I'm experiencing is being discussed in this StackOverflow question, in case any of this is useful for you.
same, in my case bundler can't resolve files with absolute path, but it works on 0.62.2, weird
I'm also usingbabel-plugin-module-resolver
and I fixed this issue by removing from my .bablerc.js this line:
cwd: 'babelrc',
Unfortunately, cd $PROJECT_DIR/..
doesn't work with SENTRY setup as it has own script layer over react-native-xcode.sh
... ๐ฟ
I have this issue while archiving app in XCode for distribution to AppStore. When I'm in debug mode - everything works fine. For me the solution of @ioveracker worked for the archive build, but I'm looking forward to a new patch release of RN to fix this issue.
Unfortunately,
cd $PROJECT_DIR/..
doesn't work with SENTRY setup as it has own script layer overreact-native-xcode.sh
... ๐ฟ
@todorone This version worked for us with Sentry using the workaround @typester previously mentioned;
cd $PROJECT_DIR/..
export SENTRY_PROPERTIES=ios/sentry.properties
export NODE_BINARY=$(which node)
./node_modules/@sentry/cli/bin/sentry-cli react-native xcode ./node_modules/react-native/scripts/react-native-xcode.sh
I confirm that @typester suggestion works but there are plans for a definitive fix?
@maxvw I tried your solution but i have the following error: error: An organization slug is required (provide with --org) Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output. Please attach the full debug log to all bug reports. ARCHIVE FAILED The following build commands failed: PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/runner/Library/Developer/Xcode/DerivedData/appname-ffzaoljnipttnvctkayyjbwaowdo/Build/Intermediates.noindex/ArchiveIntermediates/liberyRelease/IntermediateBuildFilesPath/libery.build/Release-iphoneos/appName.build/Script-00DD1BFF1BD5951E006B06BC.sh
in Build Phase Bundle React Native code and images i have this: cd $PROJECT_DIR/.. export SENTRY_PROPERTIES=sentry.properties export EXTRA_PACKAGER_ARGS="--sourcemap-output $DERIVED_FILE_DIR/main.jsbundle.map" export BUNDLE_COMMAND="ram-bundle" export NODE_BINARY=node ./node_modules/@sentry/cli/bin/sentry-cli react-native xcode ./node_modules/react-native/scripts/react-native-xcode.sh
@maxvw I tried your solution but i have the following error: error: An organization slug is required (provide with --org) Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
Make sure export SENTRY_PROPERTIES=sentry.properties
is pointing to the correct file, in my example this file exists inside the ios/
directory so the value for this environment variable is ios/sentry.properties
@maxvw Thank you very much, your suggestion resolved my issue. However I hope that this issue will be fixed in the next release
Still having this issue. Changing the code to:
cd $PROJECT_DIR/..
export NODE_BINARY=node
./node_modules/react-native/scripts/react-native-xcode.sh
Doesn't seem to work. Anyone with another solution? ๐ค
Edit:
Okay I've resolved the issue by index.ts
after my xcode script line. Since I'm using Typscript I've found the script initially looks for a .js file instead of my .ts file
cd $PROJECT_DIR/..
export NODE_BINARY=node
./node_modules/react-native/scripts/react-native-xcode.sh index.ts
@rnnyrk oof, that must have been fun to track down.
Heads up: the React Native docs on using TypeScript recommend leaving index.js
as .js
.
You should leave the ./index.js entrypoint file as it is otherwise you may run into an issue when it comes to bundling a production build.
I don't know if there will be other problems beyond bundling, but thought I'd toss that out there. ๐คทโโ๏ธ
@ioveracker Thanks for the heads up about this one. I dind't know about it and never ran into the docs page. Will revert since it, indeed, doesn't add any value to make the index file ts
@typester good call! That works! ๐ To be clear, in my case, rather than patch
node_modules/react-native/scripts/react-native-xcode.sh
, I addedcd $PROJECT_DIR/..
to the first line of theBundle React Native code and images
Build Phase in Xcode. I.e.:cd $PROJECT_DIR/.. export NODE_BINARY=node ./node_modules/react-native/scripts/react-native-xcode.sh
this worked perfectly.
None of the above fixed it for me on 0.63, but it works with this PR https://github.com/facebook/react-native/pull/29477
Unfortunately,
cd $PROJECT_DIR/..
doesn't work with SENTRY setup as it has own script layer overreact-native-xcode.sh
... ๐ฟ@todorone This version worked for us with Sentry using the workaround @typester previously mentioned;
cd $PROJECT_DIR/.. export SENTRY_PROPERTIES=ios/sentry.properties export NODE_BINARY=$(which node) ./node_modules/@sentry/cli/bin/sentry-cli react-native xcode ./node_modules/react-native/scripts/react-native-xcode.sh
Thank you so much for this solution @maxvw
Unfortunately,
cd $PROJECT_DIR/..
doesn't work with SENTRY setup as it has own script layer overreact-native-xcode.sh
... ๐ฟ@todorone This version worked for us with Sentry using the workaround @typester previously mentioned;
cd $PROJECT_DIR/.. export SENTRY_PROPERTIES=ios/sentry.properties export NODE_BINARY=$(which node) ./node_modules/@sentry/cli/bin/sentry-cli react-native xcode ./node_modules/react-native/scripts/react-native-xcode.sh
Can confirm this worked for me. I'm running RN 0.63.2 in a Lerna monorepo.
@typester good call! That works! ๐ To be clear, in my case, rather than patch
node_modules/react-native/scripts/react-native-xcode.sh
, I addedcd $PROJECT_DIR/..
to the first line of theBundle React Native code and images
Build Phase in Xcode. I.e.:cd $PROJECT_DIR/.. export NODE_BINARY=node ./node_modules/react-native/scripts/react-native-xcode.sh
For some reason this doesn't seem to work for me.
My monorepo project structure
In my build phase I have:
cd $PROJECT_DIR/.. # added this line because of the suggested fix
export NODE_BINARY=node
export CLI_PATH=./cli.js
../../../node_modules/react-native/scripts/react-native-xcode.sh
(if I do cat ../../../node_modules/react-native/scripts/react-native-xcode.sh
from the iOS (packages/mobile/ios
) directory the file does exist, so that is not the problem)
Besides that, if I run react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios'
for example from the packages/mobile
directory it builds the main.jsbundle
to the packages/mobile/ios
directory, so that works.
Any ideas? Or am I missing something?
EDIT: I ended up removing the CLI_PATH environment variable and changing the path for the node_modules, because after and cd $PROJECT_DIR/.. the location is of course different. Ended up with the following config:
cd $PROJECT_DIR/..
export NODE_BINARY=node
../../node_modules/react-native/scripts/react-native-xcode.sh
Note: This config will only work with my monorepo folder hierarchy, use the fix mentioned earlier if you do not use such a monorepo structure.
Upgrade to v0.63.3. It's now fixed
Changelog of v0.63.3 :
Upgrade to v0.63.3. It's now fixed
Changelog of v0.63.3 :
- Fix "main.jsbundle does not exist" issue (83777cb)
Good to know! Does anyone know if the workarounds mentioned in this thread need to be undone after updating to react-native@0.63.3?
EDIT: I shipped a build on 0.63.3 without undoing the script workarounds mentioned in this thread, so it seems that it's not harmful to leave in place.
After upgrading to new version, I got this
When I try to upgrade, most of the time I would be cornered to a point where, "damn, I'll just create a new react-native project and then copy-paste my codes there and reconfigure it", I haven't had an upgrade that worked smoothly (unless it's a patch where only a few lines changed)
Plus, when you've already modified your project, the upgrade will often fail, especially with ios, if you have already configured your ios project to run on multiple environments (UAT,STG, etc), then it gets worst.
I think it is not launching the server automatically
- 83777cb
This fixes the issue for people that do NOT use a monorepo, it basically reverts the monorepo functionality.
For the users that ARE using a monorepo this is a quick fix:
0.63.3
and edit line 63 in the node_modules/react-native/scripts/react-native-xcode.sh
PROJECT_ROOT=${PROJECT_ROOT:-"$REACT_NATIVE_DIR/../.."}
to PROJECT_ROOT=${PROJECT_ROOT:-"$REACT_NATIVE_DIR/../../<path_to_your_react_native_root>"}
node_modules/react-native/scripts/react-native-xcode.sh
For example for me it was three parents:
export NODE_BINARY=node
../../../node_modules/react-native/scripts/react-native-xcode.sh
OR
0.63.2
I agree, this is not a nice fix, and I strongly suggest that the monorepo support should be added back in some way. For me because of the ^
in my package.json
it automatically updated, and I had to put in several hours to figure out that this was the actual issue.
Upgrade to v0.63.3. It's now fixed
Changelog of v0.63.3 :
- Fix "main.jsbundle does not exist" issue (83777cb)
This worked me ๐ช๐ฝ for the issue: main.jsbundle does not exist
when archiving build on Xcode. I did not do anything else but upgrade to successfully build an app store bundle.
In my case it was all about giving xcode full access to the harddrive. Select System Preferences->Security & Privacy->Full Disk Access
version "0.63.4" and change index.tsx to index.js worked for me https://reactnative.dev/docs/typescript#adding-typescript-to-an-existing-project
This fixes the issue for people that do NOT use a monorepo, it basically reverts the monorepo functionality.
For the users that ARE using a monorepo this is a quick fix:
- update to
0.63.3
and edit line 63 in thenode_modules/react-native/scripts/react-native-xcode.sh
PROJECT_ROOT=${PROJECT_ROOT:-"$REACT_NATIVE_DIR/../.."}
toPROJECT_ROOT=${PROJECT_ROOT:-"$REACT_NATIVE_DIR/../../<path_to_your_react_native_root>"}
- Edit the Bundle React Native code and images build phase to the correct relative path of the sh script.
node_modules/react-native/scripts/react-native-xcode.sh
For example for me it was three parents:export NODE_BINARY=node ../../../node_modules/react-native/scripts/react-native-xcode.sh
OR
- stay on
0.63.2
I agree, this is not a nice fix, and I strongly suggest that the monorepo support should be added back in some way. For me because of the
^
in mypackage.json
it automatically updated, and I had to put in several hours to figure out that this was the actual issue.
Or you can change the 'Bundle React Native code and images' with
export NODE_BINARY=node\n PROJECT_ROOT=$PROJECT_DIR/.. ../../../node_modules/react-native/scripts/react-native-xcode.sh
es/OpenSSL -DFLIPPER_OSS\=1 -DFB_SONARKIT_ENABLED\=1 -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_HAVE_LIBGFLAGS\=0 -DFOLLY_HAVE_LIBJEMALLOC\=0 -DFOLLY_HAVE_PREADV\=0 -DFOLLY_HAVE_PWRITEV\=0 -DFOLLY_HAVE_TFO\=0 -DFOLLY_USE_SYMBOLIZER\=0 -Wall -std\=c++14 -Wno-global-constructors -include /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Target\ Support\ Files/Flipper/Flipper-prefix.pch -MMD -MT dependencies -MF /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/Log.d --serialize-diagnostics /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/Log.dia -c /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper/xplat/Flipper/Log.cpp -o /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/Log.o
CompileC /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperStep.o /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperStep.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Flipper' from project 'Pods') cd /Users/sahilsorot/Desktop/React\ Native/test/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-ios8.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c++14 -stdlib\=libc++ -fmodules -fmodules-cache-path\=/Users/sahilsorot/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/sahilsorot/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.4.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/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Index/DataStore -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/Flipper/include -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Private -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Private/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-DoubleConversion -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-Folly -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-Glog -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-RSocket -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/libevent -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/boost-for-react-native -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper-RSocket -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper-DoubleConversion -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources-normal/x86_64 -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources/x86_64 -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources -F/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/Flipper -F/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/OpenSSL-Universal/Frameworks -F/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OpenSSL -DFLIPPER_OSS\=1 -DFB_SONARKIT_ENABLED\=1 -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_HAVE_LIBGFLAGS\=0 -DFOLLY_HAVE_LIBJEMALLOC\=0 -DFOLLY_HAVE_PREADV\=0 -DFOLLY_HAVE_PWRITEV\=0 -DFOLLY_HAVE_TFO\=0 -DFOLLY_USE_SYMBOLIZER\=0 -Wall -std\=c++14 -Wno-global-constructors -include /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Target\ Support\ Files/Flipper/Flipper-prefix.pch -MMD -MT dependencies -MF /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperStep.d --serialize-diagnostics /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperStep.dia -c /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperStep.cpp -o /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperStep.o
CompileC /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperState.o /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperState.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Flipper' from project 'Pods') cd /Users/sahilsorot/Desktop/React\ Native/test/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-ios8.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c++14 -stdlib\=libc++ -fmodules -fmodules-cache-path\=/Users/sahilsorot/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/sahilsorot/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.4.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/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Index/DataStore -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/Flipper/include -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Private -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Private/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-DoubleConversion -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-Folly -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-Glog -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-RSocket -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/libevent -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/boost-for-react-native -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper-RSocket -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper-DoubleConversion -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources-normal/x86_64 -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources/x86_64 -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources -F/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/Flipper -F/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/OpenSSL-Universal/Frameworks -F/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OpenSSL -DFLIPPER_OSS\=1 -DFB_SONARKIT_ENABLED\=1 -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_HAVE_LIBGFLAGS\=0 -DFOLLY_HAVE_LIBJEMALLOC\=0 -DFOLLY_HAVE_PREADV\=0 -DFOLLY_HAVE_PWRITEV\=0 -DFOLLY_HAVE_TFO\=0 -DFOLLY_USE_SYMBOLIZER\=0 -Wall -std\=c++14 -Wno-global-constructors -include /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Target\ Support\ Files/Flipper/Flipper-prefix.pch -MMD -MT dependencies -MF /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperState.d --serialize-diagnostics /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperState.dia -c /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperState.cpp -o /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperState.o
CompileC /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperRSocketResponder.o /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperRSocketResponder.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Flipper' from project 'Pods')
cd /Users/sahilsorot/Desktop/React\ Native/test/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-ios8.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c++14 -stdlib\=libc++ -fmodules -fmodules-cache-path\=/Users/sahilsorot/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/sahilsorot/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.4.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/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Index/DataStore -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/Flipper/include -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Private -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Private/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-DoubleConversion -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-Folly -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-Glog -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-RSocket -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/libevent -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/boost-for-react-native -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper-RSocket -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper-DoubleConversion -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources-normal/x86_64 -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources/x86_64 -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources -F/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/Flipper -F/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/OpenSSL-Universal/Frameworks -F/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OpenSSL -DFLIPPER_OSS\=1 -DFB_SONARKIT_ENABLED\=1 -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_HAVE_LIBGFLAGS\=0 -DFOLLY_HAVE_LIBJEMALLOC\=0 -DFOLLY_HAVE_PREADV\=0 -DFOLLY_HAVE_PWRITEV\=0 -DFOLLY_HAVE_TFO\=0 -DFOLLY_USE_SYMBOLIZER\=0 -Wall -std\=c++14 -Wno-global-constructors -include /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Target\ Support\ Files/Flipper/Flipper-prefix.pch -MMD -MT dependencies -MF /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperRSocketResponder.d --serialize-diagnostics /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperRSocketResponder.dia -c /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperRSocketResponder.cpp -o /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperRSocketResponder.o
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperRSocketResponder.cpp:8:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperRSocketResponder.h:8:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-RSocket/rsocket/RSocketResponder.h:17:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-RSocket/rsocket/Payload.h:17:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/io/IOBuf.h:30:
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/FBString.h:1789:72: warning: possible misuse of comma operator here [-Wcomma]
"basic_fbstring: null pointer initializer not valid"),
^
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/FBString.h:1788:15: note: cast expression to void to silence warning
: (throw_exception~~~~~~~~~
static_cast~~~~~
static_cast
^~~~~~~~~~~~~~~~~~~~~~~
2 warnings and 1 error generated.
CompileC /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperConnectionManagerImpl.o /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperConnectionManagerImpl.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Flipper' from project 'Pods')
cd /Users/sahilsorot/Desktop/React\ Native/test/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-ios8.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c++14 -stdlib\=libc++ -fmodules -fmodules-cache-path\=/Users/sahilsorot/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/sahilsorot/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.4.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/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Index/DataStore -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/Flipper/include -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Private -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Private/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-DoubleConversion -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-Folly -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-Glog -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-RSocket -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/libevent -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/boost-for-react-native -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper-RSocket -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper-DoubleConversion -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources-normal/x86_64 -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources/x86_64 -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources -F/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/Flipper -F/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/OpenSSL-Universal/Frameworks -F/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OpenSSL -DFLIPPER_OSS\=1 -DFB_SONARKIT_ENABLED\=1 -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_HAVE_LIBGFLAGS\=0 -DFOLLY_HAVE_LIBJEMALLOC\=0 -DFOLLY_HAVE_PREADV\=0 -DFOLLY_HAVE_PWRITEV\=0 -DFOLLY_HAVE_TFO\=0 -DFOLLY_USE_SYMBOLIZER\=0 -Wall -std\=c++14 -Wno-global-constructors -include /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Target\ Support\ Files/Flipper/Flipper-prefix.pch -MMD -MT dependencies -MF /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperConnectionManagerImpl.d --serialize-diagnostics /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperConnectionManagerImpl.dia -c /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperConnectionManagerImpl.cpp -o /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperConnectionManagerImpl.o
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperConnectionManagerImpl.cpp:8:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperConnectionManagerImpl.h:11:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/io/async/EventBase.h:39:
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/ScopeGuard.h:125:52: warning: possible misuse of comma operator here [-Wcomma]
auto catcher = []() -> R { warnAboutToCrash(), std::terminate(); };
^
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/ScopeGuard.h:125:34: note: cast expression to void to silence warning
auto catcher = []() -> R { warnAboutToCrash(), std::terminate(); };
^~~~~~
static_cast~~~~
static_cast
^
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperConnectionManagerImpl.cpp:8:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperConnectionManagerImpl.h:11:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/io/async/EventBase.h:40:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/Synchronized.h:32:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/SharedMutex.h:29:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/concurrency/CacheLocality.h:33:
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/Memory.h:67:50: warning: possible misuse of comma operator here [-Wcomma]
return rc == 0 ? (errno = 0, ptr) : (errno = rc, nullptr);
^
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/Memory.h:67:40: note: cast expression to void to silence warning
return rc == 0 ? (errno = 0, ptr) : (errno = rc, nullptr);
^~~~~~
static_cast
^
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperConnectionManagerImpl.cpp:8: In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperConnectionManagerImpl.h:11: In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/io/async/EventBase.h:46: In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/io/async/AsyncTimeout.h:19: In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/io/async/EventBaseBackendBase.h:21: In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/io/async/EventUtil.h:21: In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/portability/Event.h:24: /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/libevent/event.h:44:10: fatal error: 'event2/event-config.h' file not found
^~~~~~~~~~~~~~~~~~~~~~~
CompileC /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperClient.o /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperClient.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Flipper' from project 'Pods')
cd /Users/sahilsorot/Desktop/React\ Native/test/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-ios8.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c++14 -stdlib\=libc++ -fmodules -fmodules-cache-path\=/Users/sahilsorot/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/sahilsorot/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.4.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/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Index/DataStore -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/Flipper/include -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Private -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Private/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-DoubleConversion -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-Folly -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-Glog -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-RSocket -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/libevent -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/boost-for-react-native -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper-RSocket -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper-DoubleConversion -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources-normal/x86_64 -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources/x86_64 -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources -F/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/Flipper -F/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/OpenSSL-Universal/Frameworks -F/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OpenSSL -DFLIPPER_OSS\=1 -DFB_SONARKIT_ENABLED\=1 -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_HAVE_LIBGFLAGS\=0 -DFOLLY_HAVE_LIBJEMALLOC\=0 -DFOLLY_HAVE_PREADV\=0 -DFOLLY_HAVE_PWRITEV\=0 -DFOLLY_HAVE_TFO\=0 -DFOLLY_USE_SYMBOLIZER\=0 -Wall -std\=c++14 -Wno-global-constructors -include /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Target\ Support\ Files/Flipper/Flipper-prefix.pch -MMD -MT dependencies -MF /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperClient.d --serialize-diagnostics /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperClient.dia -c /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperClient.cpp -o /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperClient.o
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperClient.cpp:8:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperClient.h:14:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperConnectionImpl.h:12:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperConnection.h:10:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/json.h:48:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/dynamic.h:68:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/container/F14Map.h:41:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/container/detail/F14Policy.h:23:
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/Memory.h:67:30: warning: possible misuse of comma operator here [-Wcomma]
return rc == 0 ? (errno = 0, ptr) : (errno = rc, nullptr);
^
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/Memory.h:67:21: note: cast expression to void to silence warning
return rc == 0 ? (errno = 0, ptr) : (errno = rc, nullptr);
^~~~~
static_cast
^
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperClient.cpp:8:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperClient.h:14:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperConnectionImpl.h:12:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperConnection.h:10:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/json.h:48:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/dynamic.h:68:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/container/F14Map.h:41:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/container/detail/F14Policy.h:23:
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/Memory.h:67:50: warning: possible misuse of comma operator here [-Wcomma]
return rc == 0 ? (errno = 0, ptr) : (errno = rc, nullptr);
^
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/Memory.h:67:40: note: cast expression to void to silence warning
return rc == 0 ? (errno = 0, ptr) : (errno = rc, nullptr);
^~~~~~
static_cast
^
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperClient.cpp:8:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperClient.h:14:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperConnectionImpl.h:12:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperConnection.h:10:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/json.h:48:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/dynamic.h:68:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/container/F14Map.h:41:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/container/detail/F14Policy.h:28:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/container/detail/F14Table.h:40:
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/ScopeGuard.h:125:52: warning: possible misuse of comma operator here [-Wcomma]
auto catcher = []() -> R { warnAboutToCrash(), std::terminate(); };
^
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/ScopeGuard.h:125:34: note: cast expression to void to silence warning
auto catcher = []() -> R { warnAboutToCrash(), std::terminate(); };
^~~~~~
static_cast~~~~~~~~~
static_cast~~~~~~
static_cast
CompileC /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/Flipper-dummy.o /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Target\ Support\ Files/Flipper/Flipper-dummy.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Flipper' from project 'Pods') cd /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods export LANG\=en_US.US-ASCII /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios8.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu11 -fobjc-arc -fobjc-weak -fmodules -fmodules-cache-path\=/Users/sahilsorot/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/sahilsorot/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 -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -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 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DPOD_CONFIGURATION_DEBUG\=1 -DDEBUG\=1 -DCOCOAPODS\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability -fobjc-abi-version\=2 -fobjc-legacy-dispatch -index-store-path /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Index/DataStore -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/Flipper/include -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Private -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Private/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-DoubleConversion -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-Folly -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-Glog -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-RSocket -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/libevent -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/boost-for-react-native -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper-RSocket -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper-DoubleConversion -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources-normal/x86_64 -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources/x86_64 -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources -F/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/Flipper -F/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/OpenSSL-Universal/Frameworks -F/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OpenSSL -include /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Target\ Support\ Files/Flipper/Flipper-prefix.pch -MMD -MT dependencies -MF /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/Flipper-dummy.d --serialize-diagnostics /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/Flipper-dummy.dia -c /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Target\ Support\ Files/Flipper/Flipper-dummy.m -o /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/Flipper-dummy.o
CompileC /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/ConnectionContextStore.o /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper/xplat/Flipper/ConnectionContextStore.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Flipper' from project 'Pods')
cd /Users/sahilsorot/Desktop/React\ Native/test/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-ios8.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c++14 -stdlib\=libc++ -fmodules -fmodules-cache-path\=/Users/sahilsorot/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/sahilsorot/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.4.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/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Index/DataStore -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/Flipper/include -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Private -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Private/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-DoubleConversion -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-Folly -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-Glog -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/Flipper-RSocket -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Headers/Public/libevent -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/boost-for-react-native -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper-RSocket -I/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper-DoubleConversion -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources-normal/x86_64 -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources/x86_64 -I/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources -F/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/Flipper -F/Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/OpenSSL-Universal/Frameworks -F/Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OpenSSL -DFLIPPER_OSS\=1 -DFB_SONARKIT_ENABLED\=1 -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_HAVE_LIBGFLAGS\=0 -DFOLLY_HAVE_LIBJEMALLOC\=0 -DFOLLY_HAVE_PREADV\=0 -DFOLLY_HAVE_PWRITEV\=0 -DFOLLY_HAVE_TFO\=0 -DFOLLY_USE_SYMBOLIZER\=0 -Wall -std\=c++14 -Wno-global-constructors -include /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Target\ Support\ Files/Flipper/Flipper-prefix.pch -MMD -MT dependencies -MF /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/ConnectionContextStore.d --serialize-diagnostics /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/ConnectionContextStore.dia -c /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper/xplat/Flipper/ConnectionContextStore.cpp -o /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/ConnectionContextStore.o
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/ConnectionContextStore.cpp:8:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/ConnectionContextStore.h:10:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/dynamic.h:68:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/container/F14Map.h:41:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/container/detail/F14Policy.h:23:
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/Memory.h:67:30: warning: possible misuse of comma operator here [-Wcomma]
return rc == 0 ? (errno = 0, ptr) : (errno = rc, nullptr);
^
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/Memory.h:67:21: note: cast expression to void to silence warning
return rc == 0 ? (errno = 0, ptr) : (errno = rc, nullptr);
^~~~~
static_cast
^
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/ConnectionContextStore.cpp:8:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/ConnectionContextStore.h:10:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/dynamic.h:68:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/container/F14Map.h:41:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/container/detail/F14Policy.h:23:
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/Memory.h:67:50: warning: possible misuse of comma operator here [-Wcomma]
return rc == 0 ? (errno = 0, ptr) : (errno = rc, nullptr);
^
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/Memory.h:67:40: note: cast expression to void to silence warning
return rc == 0 ? (errno = 0, ptr) : (errno = rc, nullptr);
^~~~~~
static_cast
^
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/ConnectionContextStore.cpp:8:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper/xplat/Flipper/ConnectionContextStore.h:10:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/dynamic.h:68:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/container/F14Map.h:41:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/container/detail/F14Policy.h:28:
In file included from /Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/container/detail/F14Table.h:40:
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/ScopeGuard.h:125:52: warning: possible misuse of comma operator here [-Wcomma]
auto catcher = []() -> R { warnAboutToCrash(), std::terminate(); };
^
/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Headers/Public/Flipper-Folly/folly/ScopeGuard.h:125:34: note: cast expression to void to silence warning
auto catcher = []() -> R { warnAboutToCrash(), std::terminate(); };
^~~~~~
static_cast~~~~~~~~~
static_cast~~~~~~
static_cast
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'boost-for-react-native' from project 'Pods') warning: 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 test editor. (in target 'test' from project 'test') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Flipper-DoubleConversion' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'YogaKit' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Flipper-Glog' from project 'Pods') warning: no rule to process file '/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper-RSocket/rsocket/benchmarks/CMakeLists.txt' of type 'text' for architecture 'x86_64' (in target 'Flipper-RSocket' from project 'Pods') warning: no rule to process file '/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper-RSocket/rsocket/benchmarks/README.md' of type 'net.daringfireball.markdown' for architecture 'x86_64' (in target 'Flipper-RSocket' from project 'Pods') warning: no rule to process file '/Users/sahilsorot/Desktop/React Native/test/ios/Pods/Flipper-RSocket/rsocket/README.md' of type 'net.daringfireball.markdown' for architecture 'x86_64' (in target 'Flipper-RSocket' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Flipper' from project 'Pods')
BUILD FAILED
The following build commands failed: CompileC /Users/sahilsorot/Library/Developer/Xcode/DerivedData/test-fncyocqpxetfylbadjrykhkriqkv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperRSocketResponder.o /Users/sahilsorot/Desktop/React\ Native/test/ios/Pods/Flipper/xplat/Flipper/FlipperRSocketResponder.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure)
i am also facing same issue while i install a fresh project
@typester good call! That works! ๐ To be clear, in my case, rather than patch
node_modules/react-native/scripts/react-native-xcode.sh
, I addedcd $PROJECT_DIR/..
to the first line of theBundle React Native code and images
Build Phase in Xcode. I.e.:cd $PROJECT_DIR/.. export NODE_BINARY=node ./node_modules/react-native/scripts/react-native-xcode.sh
not working for me :(
for anyone using RN 0.63.4 got this error. Please try to kill your development server and try yarn start again I have a screen with wrong import path but not get alert because I pull it from git and when yarn start again, it failed to bundle main.js :)
@typester good call! That works! ๐ To be clear, in my case, rather than patch
node_modules/react-native/scripts/react-native-xcode.sh
, I addedcd $PROJECT_DIR/..
to the first line of theBundle React Native code and images
Build Phase in Xcode. I.e.:cd $PROJECT_DIR/.. export NODE_BINARY=node ./node_modules/react-native/scripts/react-native-xcode.sh
My project is in rn0.63.4 and cocoapods v1.10.0, after I upgrade pod, it happened always and not fixed with above suggestion. If someone knows how to fix, very appreciate.
cd $PROJECT_DIR/.. export NODE_BINARY=node ./node_modules/react-native/scripts/react-native-xcode.sh index.ts
Thank you so much @rnnyrk . In my project have file index.tsx I have to change the script index.ts to index.tsx. It worked.
@vadim312 have you solved the problem? I'm having the same problem.
I downgraded from Cocoapods 1.10.1 to 1.10.0 and this fixed it for me. (using RN 0.63.3)
To remove your current cocoapods version you could just run:
sudo gem uninstall cocoapods
you can install a specific version of cocoapods via the following command:
sudo gem install cocoapods -v 1.10.0
Used script in xCode:
export NODE_BINARY=$(which node)
../node_modules/@sentry/cli/bin/sentry-cli react-native xcode ../node_modules/react-native/scripts/react-native-xcode.sh
Hope this helps someone!
Thank you all so much for contributing to this thread. I found that when using Sentry sourcemaps with this cd ..
approach, the autogenerated sourcemaps had an unwanted path prefix and this didn't match up.
I was stuck on this minor annoyance for hours. Fortunately, upgrading to 0.63.4 fixed everything. If you're using module_resolver
and React Native 0.63.2, I recommend updating.
@typester good call! That works! ๐ To be clear, in my case, rather than patch
node_modules/react-native/scripts/react-native-xcode.sh
, I addedcd $PROJECT_DIR/..
to the first line of theBundle React Native code and images
Build Phase in Xcode. I.e.:cd $PROJECT_DIR/.. export NODE_BINARY=node ./node_modules/react-native/scripts/react-native-xcode.sh
My project is in rn0.63.4 and cocoapods v1.10.0, after I upgrade pod, it happened always and not fixed with above suggestion. If someone knows how to fix, very appreciate.
You can try my solution first, it might be an issue about node versioning https://github.com/facebook/react-native/issues/32108#issuecomment-915131210
well, for anybody that got that error this is how I fixed it.
When you try to archive your app in xCode and you get a build error saying something like
main.jsbundle does not exist. This must be a bug with
if you start to look a couple of lines above you get this
error The resource '/some/path/here/index.js` was not found. Run CLI with --verbose flag for more details.
What that means is that it can't locate the index.js
file and the path is wrong. Because if you look at that path that comes after the The resource
the index.js files it not located in that path. So what you need to do is make sure that the path is the correct one to the index.js
here is the fix
xCode -> build Phases -> Bundle react native code and images
cd $PROJECT_DIR/..
export NODE_BINARY=node
../../node_modules/react-native/scripts/react-native-xcode.sh ./packages/mobile/index.js
./packages/mobile/index.js
this is the important part and make sure that you point it to the right path. To start with just do like this ./HERE/index.js
and then you will see that it will point you to from the root/to/the/path/that/the/project/is/looking/for/the/HERE/index.js
After that it is just to add your own path and it will work
Image for reference
Might be related to an issue here: https://github.com/aeirola/react-native-svg-asset-plugin/issues/73
I was able to fix the bug by changing the project.pbxproj "Build Phases -> Bundle React Native code and images" to
export NODE_BINARY=node
# The project root by default is one level up from the ios directory
export PROJECT_ROOT="$PROJECT_DIR"/..
`node --print "require('path').dirname(require.resolve('react-native/package.json')) + '/scripts/react-native-xcode.sh'"`
I found this script when generating a new project with the expo. It should be updated but it seems missing in the documentation when upgrading to EXPO 43.
Sorry wrong thread
it helped for me just changed --max-old-space-size from 16000 to 160000
My issue was with _export NODEBINARY=node not recognizing the node from my PATH. Simply changing
_NODEBINARY=node to _NODEBINARY=/usr/local/bin/node (which is where my node is installed and can be found by running echo $NODE)
fixed the issue for me.
As suggested on This answer
export PATH="$PATH:/opt/homebrew/bin" export NODE_BINARY=node ...
To build phases -> Bundle React Native code and images
Worked for me on React-native 0.63.4
This is my solution
main.jsbundle should appear in your ios folder.
npx react-native bundle --entry-file ./index.js --platform ios --bundle-output ios/main.jsbundle
add main.jsbundle to Copy Bundle Resources
then set your Bundle React Native code and images
cd $PROJECT_DIR/..
export NODE_BINARY=node
./node_modules/react-native/scripts/react-native-xcode.sh
If you are using a shim.js I was able to solve it with this comment from a very good man <3 @DDushkin
it stopped working after cloning the project....... it works on the old one but runninng Archieve command is beeing tthrown the same exception...... Why?????
Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
I can no longer build a react bundle, it gets to "Done copying assets" and then never finishes.
React Native version:
Steps To Reproduce
I'm not sure I can reliably repro this, so I probably need some steps that might yield more data. But I run this:
Also, in case it's relevant, I have a monorepo setup with yarn workspaces and lerna.
Expected Results
A bundle should be produced in something less than an hour, which is how long I waited...