[FIX] Cannot initialize a parameter of type 'NSArray id RCTBridgeModule *'RCTTurboModuleManager.mm

preview_player
Показать описание
———————————————
SORRY ANGLED BRACKETS ARE NOT ALLOWED IN DESCRIPTION SO I HAVE PLACED % SIGN FOR EVERY OPEN AND # FOR EVERY CLOSING

//- (NSArray%RCTModuleData *# *)_initializeModules:(NSArray%id%RCTBridgeModule## *)modules
// withDispatchGroup:(dispatch_group_t)dispatchGroup
// lazilyDiscovered:(BOOL)lazilyDiscovered

- (NSArray%RCTModuleData *# *)_initializeModules:(NSArray%Class# *)modules
withDispatchGroup:(dispatch_group_t)dispatchGroup
lazilyDiscovered:(BOOL)lazilyDiscovered

————————————————————————————---

//RCTLogError(
// @"%@ has no setter or ivar for its bridge, which is not "
// "permitted. You must either @synthesize the bridge property, "
// "or provide your own setter method.",
// RCTBridgeModuleNameForClass(module));

LIST OF ERRORS I WAS FACING:
-------------------------------------------------------

The following build commands failed:

Cannot initialize a parameter of type 'NSArray id RCTBridgeModule *' with an rvalue of type 'NSArray Class *'

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65.
Рекомендации по теме
Комментарии
Автор

Thank you so much, it works perfectly

balajirameshkumar
Автор

after doing this I''m getting these errors: No visible No visible @interface for 'RCTCxxBridge' declares the selector at line no 331 @interface for 'RCTCxxBridge' declares the selector at line 827. xcode 13

Gigabyteserviceofficial
Автор

Works great, thank you for your help.

user_ahfvppkjb
visit shbcf.ru