react-native/React/Base
Douglas 569061dd83 Suppress spurious warning about RCTCxxModule (#19880)
Summary:
<!--
  Required: Write your motivation here.
  If this PR fixes an issue, type "Fixes #issueNumber" to automatically close the issue when the PR is merged.
-->

On a relatively stock / default setup of RN on iOS you'll see the warning "Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE()?" pop up on every launch. This change resolves that issue.

Fixes #14806 .

This supersedes PR #19794 .

Try a fresh project by following the RN iOS tutorial, and observe that there are no more warnings after making this change.

[IOS] [MINOR] [CxxBridge] - Fix "Class RCTCxxModule was not exported"
Closes https://github.com/facebook/react-native/pull/19880

Differential Revision: D8653809

Pulled By: hramos

fbshipit-source-id: c48529c2d74ddd40a90bc0e06e405078e25b72e3
2018-06-26 17:47:28 -07:00
..
Surface fix use of C++ syntax in an header file 2018-04-08 23:29:38 -07:00
RCTAssert.h Fixed RCTAssert() 2018-06-20 09:47:41 -07:00
RCTAssert.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTBridge+Private.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTBridge.h Log bridge description for e2e reloads 2018-04-10 19:29:58 -07:00
RCTBridge.m Suppress spurious warning about RCTCxxModule (#19880) 2018-06-26 17:47:28 -07:00
RCTBridgeDelegate.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTBridgeMethod.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTBridgeModule.h Add docs for Swift usage to RCTBridgeModule.h 2018-03-13 15:22:01 -07:00
RCTBundleURLProvider.h Wrap global variables in extern C 2018-03-02 19:44:18 -08:00
RCTBundleURLProvider.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTConvert.h Mark ObjC methods that are called from React Native as dynamic. 2018-02-26 12:24:17 -08:00
RCTConvert.m RN: Support `flexWrap: 'wrap-reverse'` 2018-04-19 15:50:57 -07:00
RCTCxxConvert.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTCxxConvert.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTDefines.h Mark ObjC methods that are called from React Native as dynamic. 2018-02-26 12:24:17 -08:00
RCTDisplayLink.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTDisplayLink.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTErrorCustomizer.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTErrorInfo.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTErrorInfo.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTEventDispatcher.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTEventDispatcher.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTFrameUpdate.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTFrameUpdate.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTImageSource.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTImageSource.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTInvalidating.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTJSCErrorHandling.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTJSCErrorHandling.mm Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTJSStackFrame.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTJSStackFrame.m Teach JS stack-parsing regex about alternative formats 2018-04-20 09:01:27 -07:00
RCTJavaScriptExecutor.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTJavaScriptLoader.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTJavaScriptLoader.mm Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTKeyCommands.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTKeyCommands.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTLog.h remove unnecessary ExceptionManager abstraction 2018-05-14 20:45:21 -07:00
RCTLog.mm remove unnecessary ExceptionManager abstraction 2018-05-14 20:45:21 -07:00
RCTManagedPointer.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTManagedPointer.mm Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTModuleData.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTModuleData.mm Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTModuleMethod.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTModuleMethod.mm Weakly capture the bridge in callback methods 2018-04-05 14:56:02 -07:00
RCTMultipartDataTask.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTMultipartDataTask.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTMultipartStreamReader.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTMultipartStreamReader.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNullability.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTParserUtils.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTParserUtils.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTPerformanceLogger.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTPerformanceLogger.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTPlatform.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTPlatform.m Expose React Native version as a symbol rather than macro 2018-03-02 14:51:39 -08:00
RCTReloadCommand.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTReloadCommand.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTRootContentView.h iOS: branch out Fabric handling into a separate RCTSurface-compatible class. 2018-03-05 18:57:30 -08:00
RCTRootContentView.m iOS: branch out Fabric handling into a separate RCTSurface-compatible class. 2018-03-05 18:57:30 -08:00
RCTRootView.h Mark global variable as extern "C" 2018-03-22 16:32:12 -07:00
RCTRootView.m iOS: branch out Fabric handling into a separate RCTSurface-compatible class. 2018-03-05 18:57:30 -08:00
RCTRootViewDelegate.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTRootViewInternal.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTTVRemoteHandler.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTTVRemoteHandler.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTTouchEvent.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTTouchEvent.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTTouchHandler.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTTouchHandler.m Fix typo 2018-05-18 20:22:45 -07:00
RCTURLRequestDelegate.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTURLRequestHandler.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTUtils.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTUtils.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTVersion.h Expose React Native version as a symbol rather than macro 2018-03-02 14:51:39 -08:00
RCTVersion.m Expose React Native version as a symbol rather than macro 2018-03-02 14:51:39 -08:00