BatchedBridge error in React Native on iOS












0















I have a simple native iOS app that I want to integrate React Native into. When I open the view controller, I get an error:



> Error calling RCTLog.logIfNoNativeHook
>
> Unhandled JS Exception: Could not get BatchedBridge, make sure your
> bundle is packaged correctly
>
> RCTFatal
> -[RCTCxxBridge handleError:]
> __34-[RCTCxxBridge _initializeBridge:]_block_invoke facebook::react::RCTMessageThread::tryFunc(std::__1::function<void ()>
> const&)
> facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
> ()>&&)::$_1::operator()() const void
> std::__1::__invoke_void_return_wrapper<void>::__call<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
> ()>&&)::$_1&>(facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
> ()>&&)::$_1&&&)
> std::__1::__function::__func<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
> ()>&&)::$_1,
> std::__1::allocator<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
> ()>&&)::$_1>, void ()>::operator()() std::__1::function<void
> ()>::operator()() const invocation function for block in
> facebook::react::RCTMessageThread::runAsync(std::__1::function<void
> ()>)
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__
> __CFRunLoopDoBlocks
> __CFRunLoopRun CFRunLoopRunSpecific
> +[RCTCxxBridge runRunLoop]
> __NSThread__start__
> _pthread_body
> _pthread_body thread_start


This is my Podfile:



# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'NativeRNTest' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!

pod 'React', :path => '../node_modules/react-native', :subspecs => [
'Core',
'CxxBridge', # Include this for RN >= 0.47
'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
'RCTText',
'RCTNetwork',
'RCTWebSocket', # needed for debugging
'BatchedBridge',
# Add any other subspecs you want to use in your project
]
# Explicitly include Yoga if you are using RN >= 0.42.0
pod "yoga", :path => "../node_modules/react-native/ReactCommon/yoga"

# Third party deps podspec link
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'GLog', :podspec => '../node_modules/react-native/third-party-podspecs/GLog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

# Pods for NativeRNTest

target 'NativeRNTestTests' do
inherit! :search_paths
# Pods for testing
end

target 'NativeRNTestUITests' do
inherit! :search_paths
# Pods for testing
end

end


My environment:



>react-native info
Scanning folders for symlinks in /Users/[redacted]/Projects/native_rn_demo/node_modules (5ms)

Environment:

OS: macOS Sierra 10.12.6
Node: 8.9.0
Yarn: 1.1.0
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 2.3 AI-162.4069837

Packages: (wanted => installed)
react: ^16.0.0 => 16.0.0
react-native: ^0.51.0 => 0.51.0


I've searched for this problem, and all the solutions are for Android, and don't seem to work here. Any ideas?










share|improve this question





























    0















    I have a simple native iOS app that I want to integrate React Native into. When I open the view controller, I get an error:



    > Error calling RCTLog.logIfNoNativeHook
    >
    > Unhandled JS Exception: Could not get BatchedBridge, make sure your
    > bundle is packaged correctly
    >
    > RCTFatal
    > -[RCTCxxBridge handleError:]
    > __34-[RCTCxxBridge _initializeBridge:]_block_invoke facebook::react::RCTMessageThread::tryFunc(std::__1::function<void ()>
    > const&)
    > facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
    > ()>&&)::$_1::operator()() const void
    > std::__1::__invoke_void_return_wrapper<void>::__call<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
    > ()>&&)::$_1&>(facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
    > ()>&&)::$_1&&&)
    > std::__1::__function::__func<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
    > ()>&&)::$_1,
    > std::__1::allocator<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
    > ()>&&)::$_1>, void ()>::operator()() std::__1::function<void
    > ()>::operator()() const invocation function for block in
    > facebook::react::RCTMessageThread::runAsync(std::__1::function<void
    > ()>)
    > __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__
    > __CFRunLoopDoBlocks
    > __CFRunLoopRun CFRunLoopRunSpecific
    > +[RCTCxxBridge runRunLoop]
    > __NSThread__start__
    > _pthread_body
    > _pthread_body thread_start


    This is my Podfile:



    # Uncomment the next line to define a global platform for your project
    # platform :ios, '9.0'

    target 'NativeRNTest' do
    # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
    use_frameworks!

    pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'Core',
    'CxxBridge', # Include this for RN >= 0.47
    'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
    'RCTText',
    'RCTNetwork',
    'RCTWebSocket', # needed for debugging
    'BatchedBridge',
    # Add any other subspecs you want to use in your project
    ]
    # Explicitly include Yoga if you are using RN >= 0.42.0
    pod "yoga", :path => "../node_modules/react-native/ReactCommon/yoga"

    # Third party deps podspec link
    pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
    pod 'GLog', :podspec => '../node_modules/react-native/third-party-podspecs/GLog.podspec'
    pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

    # Pods for NativeRNTest

    target 'NativeRNTestTests' do
    inherit! :search_paths
    # Pods for testing
    end

    target 'NativeRNTestUITests' do
    inherit! :search_paths
    # Pods for testing
    end

    end


    My environment:



    >react-native info
    Scanning folders for symlinks in /Users/[redacted]/Projects/native_rn_demo/node_modules (5ms)

    Environment:

    OS: macOS Sierra 10.12.6
    Node: 8.9.0
    Yarn: 1.1.0
    npm: 5.6.0
    Watchman: 4.9.0
    Xcode: Xcode 9.2 Build version 9C40b
    Android Studio: 2.3 AI-162.4069837

    Packages: (wanted => installed)
    react: ^16.0.0 => 16.0.0
    react-native: ^0.51.0 => 0.51.0


    I've searched for this problem, and all the solutions are for Android, and don't seem to work here. Any ideas?










    share|improve this question



























      0












      0








      0








      I have a simple native iOS app that I want to integrate React Native into. When I open the view controller, I get an error:



      > Error calling RCTLog.logIfNoNativeHook
      >
      > Unhandled JS Exception: Could not get BatchedBridge, make sure your
      > bundle is packaged correctly
      >
      > RCTFatal
      > -[RCTCxxBridge handleError:]
      > __34-[RCTCxxBridge _initializeBridge:]_block_invoke facebook::react::RCTMessageThread::tryFunc(std::__1::function<void ()>
      > const&)
      > facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
      > ()>&&)::$_1::operator()() const void
      > std::__1::__invoke_void_return_wrapper<void>::__call<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
      > ()>&&)::$_1&>(facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
      > ()>&&)::$_1&&&)
      > std::__1::__function::__func<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
      > ()>&&)::$_1,
      > std::__1::allocator<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
      > ()>&&)::$_1>, void ()>::operator()() std::__1::function<void
      > ()>::operator()() const invocation function for block in
      > facebook::react::RCTMessageThread::runAsync(std::__1::function<void
      > ()>)
      > __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__
      > __CFRunLoopDoBlocks
      > __CFRunLoopRun CFRunLoopRunSpecific
      > +[RCTCxxBridge runRunLoop]
      > __NSThread__start__
      > _pthread_body
      > _pthread_body thread_start


      This is my Podfile:



      # Uncomment the next line to define a global platform for your project
      # platform :ios, '9.0'

      target 'NativeRNTest' do
      # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
      use_frameworks!

      pod 'React', :path => '../node_modules/react-native', :subspecs => [
      'Core',
      'CxxBridge', # Include this for RN >= 0.47
      'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
      'RCTText',
      'RCTNetwork',
      'RCTWebSocket', # needed for debugging
      'BatchedBridge',
      # Add any other subspecs you want to use in your project
      ]
      # Explicitly include Yoga if you are using RN >= 0.42.0
      pod "yoga", :path => "../node_modules/react-native/ReactCommon/yoga"

      # Third party deps podspec link
      pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
      pod 'GLog', :podspec => '../node_modules/react-native/third-party-podspecs/GLog.podspec'
      pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

      # Pods for NativeRNTest

      target 'NativeRNTestTests' do
      inherit! :search_paths
      # Pods for testing
      end

      target 'NativeRNTestUITests' do
      inherit! :search_paths
      # Pods for testing
      end

      end


      My environment:



      >react-native info
      Scanning folders for symlinks in /Users/[redacted]/Projects/native_rn_demo/node_modules (5ms)

      Environment:

      OS: macOS Sierra 10.12.6
      Node: 8.9.0
      Yarn: 1.1.0
      npm: 5.6.0
      Watchman: 4.9.0
      Xcode: Xcode 9.2 Build version 9C40b
      Android Studio: 2.3 AI-162.4069837

      Packages: (wanted => installed)
      react: ^16.0.0 => 16.0.0
      react-native: ^0.51.0 => 0.51.0


      I've searched for this problem, and all the solutions are for Android, and don't seem to work here. Any ideas?










      share|improve this question
















      I have a simple native iOS app that I want to integrate React Native into. When I open the view controller, I get an error:



      > Error calling RCTLog.logIfNoNativeHook
      >
      > Unhandled JS Exception: Could not get BatchedBridge, make sure your
      > bundle is packaged correctly
      >
      > RCTFatal
      > -[RCTCxxBridge handleError:]
      > __34-[RCTCxxBridge _initializeBridge:]_block_invoke facebook::react::RCTMessageThread::tryFunc(std::__1::function<void ()>
      > const&)
      > facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
      > ()>&&)::$_1::operator()() const void
      > std::__1::__invoke_void_return_wrapper<void>::__call<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
      > ()>&&)::$_1&>(facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
      > ()>&&)::$_1&&&)
      > std::__1::__function::__func<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
      > ()>&&)::$_1,
      > std::__1::allocator<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void
      > ()>&&)::$_1>, void ()>::operator()() std::__1::function<void
      > ()>::operator()() const invocation function for block in
      > facebook::react::RCTMessageThread::runAsync(std::__1::function<void
      > ()>)
      > __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__
      > __CFRunLoopDoBlocks
      > __CFRunLoopRun CFRunLoopRunSpecific
      > +[RCTCxxBridge runRunLoop]
      > __NSThread__start__
      > _pthread_body
      > _pthread_body thread_start


      This is my Podfile:



      # Uncomment the next line to define a global platform for your project
      # platform :ios, '9.0'

      target 'NativeRNTest' do
      # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
      use_frameworks!

      pod 'React', :path => '../node_modules/react-native', :subspecs => [
      'Core',
      'CxxBridge', # Include this for RN >= 0.47
      'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
      'RCTText',
      'RCTNetwork',
      'RCTWebSocket', # needed for debugging
      'BatchedBridge',
      # Add any other subspecs you want to use in your project
      ]
      # Explicitly include Yoga if you are using RN >= 0.42.0
      pod "yoga", :path => "../node_modules/react-native/ReactCommon/yoga"

      # Third party deps podspec link
      pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
      pod 'GLog', :podspec => '../node_modules/react-native/third-party-podspecs/GLog.podspec'
      pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

      # Pods for NativeRNTest

      target 'NativeRNTestTests' do
      inherit! :search_paths
      # Pods for testing
      end

      target 'NativeRNTestUITests' do
      inherit! :search_paths
      # Pods for testing
      end

      end


      My environment:



      >react-native info
      Scanning folders for symlinks in /Users/[redacted]/Projects/native_rn_demo/node_modules (5ms)

      Environment:

      OS: macOS Sierra 10.12.6
      Node: 8.9.0
      Yarn: 1.1.0
      npm: 5.6.0
      Watchman: 4.9.0
      Xcode: Xcode 9.2 Build version 9C40b
      Android Studio: 2.3 AI-162.4069837

      Packages: (wanted => installed)
      react: ^16.0.0 => 16.0.0
      react-native: ^0.51.0 => 0.51.0


      I've searched for this problem, and all the solutions are for Android, and don't seem to work here. Any ideas?







      ios react-native






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 28 '17 at 21:19







      Macondo2Seattle

















      asked Dec 28 '17 at 20:57









      Macondo2SeattleMacondo2Seattle

      14k33367




      14k33367
























          2 Answers
          2






          active

          oldest

          votes


















          0














          OK, I fixed the error by renaming index.js to index.ios.js.






          share|improve this answer
























          • Hi @Macondo2Seattle, having upgrading my project from RN 0.39 to 0.52 (yeah I know), I'm having the exact same problem as you above : Error calling RCTLog.logIfNoNativeHook. I tried to change index.js to index.ios.js but didn't fixed a thing. Did you happen to do something else than that to fix this error? I can't find a thing about that. Thanks a lot!

            – Guillaume S.
            Jan 18 '18 at 10:17











          • @GuillaumeS. I had the same stuff and just solved it by having all files index.js, index.android.js and index.ios.js. Try it out and comment if it helped.

            – 6axter82
            Jan 18 '18 at 16:06











          • @GuillaumeS. renaming the file was all I had to do, as far as I remember.

            – Macondo2Seattle
            Jan 18 '18 at 17:15













          • still encounter this issue with rn 0.55.4 after remove node_modules and resintall. Any fix?

            – Leon
            Jul 4 '18 at 8:38



















          0














          That's how I resolved it.



          Terminate your metro bundler > react-native link > react-native run-ios



          It was not bundling because of some errors which are not showing in the simulator but just bundling was failed. After I re-bundled the package from starting it resolved the error.






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f48014303%2fbatchedbridge-error-in-react-native-on-ios%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            OK, I fixed the error by renaming index.js to index.ios.js.






            share|improve this answer
























            • Hi @Macondo2Seattle, having upgrading my project from RN 0.39 to 0.52 (yeah I know), I'm having the exact same problem as you above : Error calling RCTLog.logIfNoNativeHook. I tried to change index.js to index.ios.js but didn't fixed a thing. Did you happen to do something else than that to fix this error? I can't find a thing about that. Thanks a lot!

              – Guillaume S.
              Jan 18 '18 at 10:17











            • @GuillaumeS. I had the same stuff and just solved it by having all files index.js, index.android.js and index.ios.js. Try it out and comment if it helped.

              – 6axter82
              Jan 18 '18 at 16:06











            • @GuillaumeS. renaming the file was all I had to do, as far as I remember.

              – Macondo2Seattle
              Jan 18 '18 at 17:15













            • still encounter this issue with rn 0.55.4 after remove node_modules and resintall. Any fix?

              – Leon
              Jul 4 '18 at 8:38
















            0














            OK, I fixed the error by renaming index.js to index.ios.js.






            share|improve this answer
























            • Hi @Macondo2Seattle, having upgrading my project from RN 0.39 to 0.52 (yeah I know), I'm having the exact same problem as you above : Error calling RCTLog.logIfNoNativeHook. I tried to change index.js to index.ios.js but didn't fixed a thing. Did you happen to do something else than that to fix this error? I can't find a thing about that. Thanks a lot!

              – Guillaume S.
              Jan 18 '18 at 10:17











            • @GuillaumeS. I had the same stuff and just solved it by having all files index.js, index.android.js and index.ios.js. Try it out and comment if it helped.

              – 6axter82
              Jan 18 '18 at 16:06











            • @GuillaumeS. renaming the file was all I had to do, as far as I remember.

              – Macondo2Seattle
              Jan 18 '18 at 17:15













            • still encounter this issue with rn 0.55.4 after remove node_modules and resintall. Any fix?

              – Leon
              Jul 4 '18 at 8:38














            0












            0








            0







            OK, I fixed the error by renaming index.js to index.ios.js.






            share|improve this answer













            OK, I fixed the error by renaming index.js to index.ios.js.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 28 '17 at 21:39









            Macondo2SeattleMacondo2Seattle

            14k33367




            14k33367













            • Hi @Macondo2Seattle, having upgrading my project from RN 0.39 to 0.52 (yeah I know), I'm having the exact same problem as you above : Error calling RCTLog.logIfNoNativeHook. I tried to change index.js to index.ios.js but didn't fixed a thing. Did you happen to do something else than that to fix this error? I can't find a thing about that. Thanks a lot!

              – Guillaume S.
              Jan 18 '18 at 10:17











            • @GuillaumeS. I had the same stuff and just solved it by having all files index.js, index.android.js and index.ios.js. Try it out and comment if it helped.

              – 6axter82
              Jan 18 '18 at 16:06











            • @GuillaumeS. renaming the file was all I had to do, as far as I remember.

              – Macondo2Seattle
              Jan 18 '18 at 17:15













            • still encounter this issue with rn 0.55.4 after remove node_modules and resintall. Any fix?

              – Leon
              Jul 4 '18 at 8:38



















            • Hi @Macondo2Seattle, having upgrading my project from RN 0.39 to 0.52 (yeah I know), I'm having the exact same problem as you above : Error calling RCTLog.logIfNoNativeHook. I tried to change index.js to index.ios.js but didn't fixed a thing. Did you happen to do something else than that to fix this error? I can't find a thing about that. Thanks a lot!

              – Guillaume S.
              Jan 18 '18 at 10:17











            • @GuillaumeS. I had the same stuff and just solved it by having all files index.js, index.android.js and index.ios.js. Try it out and comment if it helped.

              – 6axter82
              Jan 18 '18 at 16:06











            • @GuillaumeS. renaming the file was all I had to do, as far as I remember.

              – Macondo2Seattle
              Jan 18 '18 at 17:15













            • still encounter this issue with rn 0.55.4 after remove node_modules and resintall. Any fix?

              – Leon
              Jul 4 '18 at 8:38

















            Hi @Macondo2Seattle, having upgrading my project from RN 0.39 to 0.52 (yeah I know), I'm having the exact same problem as you above : Error calling RCTLog.logIfNoNativeHook. I tried to change index.js to index.ios.js but didn't fixed a thing. Did you happen to do something else than that to fix this error? I can't find a thing about that. Thanks a lot!

            – Guillaume S.
            Jan 18 '18 at 10:17





            Hi @Macondo2Seattle, having upgrading my project from RN 0.39 to 0.52 (yeah I know), I'm having the exact same problem as you above : Error calling RCTLog.logIfNoNativeHook. I tried to change index.js to index.ios.js but didn't fixed a thing. Did you happen to do something else than that to fix this error? I can't find a thing about that. Thanks a lot!

            – Guillaume S.
            Jan 18 '18 at 10:17













            @GuillaumeS. I had the same stuff and just solved it by having all files index.js, index.android.js and index.ios.js. Try it out and comment if it helped.

            – 6axter82
            Jan 18 '18 at 16:06





            @GuillaumeS. I had the same stuff and just solved it by having all files index.js, index.android.js and index.ios.js. Try it out and comment if it helped.

            – 6axter82
            Jan 18 '18 at 16:06













            @GuillaumeS. renaming the file was all I had to do, as far as I remember.

            – Macondo2Seattle
            Jan 18 '18 at 17:15







            @GuillaumeS. renaming the file was all I had to do, as far as I remember.

            – Macondo2Seattle
            Jan 18 '18 at 17:15















            still encounter this issue with rn 0.55.4 after remove node_modules and resintall. Any fix?

            – Leon
            Jul 4 '18 at 8:38





            still encounter this issue with rn 0.55.4 after remove node_modules and resintall. Any fix?

            – Leon
            Jul 4 '18 at 8:38













            0














            That's how I resolved it.



            Terminate your metro bundler > react-native link > react-native run-ios



            It was not bundling because of some errors which are not showing in the simulator but just bundling was failed. After I re-bundled the package from starting it resolved the error.






            share|improve this answer




























              0














              That's how I resolved it.



              Terminate your metro bundler > react-native link > react-native run-ios



              It was not bundling because of some errors which are not showing in the simulator but just bundling was failed. After I re-bundled the package from starting it resolved the error.






              share|improve this answer


























                0












                0








                0







                That's how I resolved it.



                Terminate your metro bundler > react-native link > react-native run-ios



                It was not bundling because of some errors which are not showing in the simulator but just bundling was failed. After I re-bundled the package from starting it resolved the error.






                share|improve this answer













                That's how I resolved it.



                Terminate your metro bundler > react-native link > react-native run-ios



                It was not bundling because of some errors which are not showing in the simulator but just bundling was failed. After I re-bundled the package from starting it resolved the error.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 22 '18 at 7:14









                Payel DuttaPayel Dutta

                465




                465






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f48014303%2fbatchedbridge-error-in-react-native-on-ios%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    404 Error Contact Form 7 ajax form submitting

                    How to know if a Active Directory user can login interactively

                    TypeError: fit_transform() missing 1 required positional argument: 'X'