Skip to content

Commit

Permalink
Update setup-ios.md (#2361)
Browse files Browse the repository at this point in the history
No visible @interface for 'RCTBundleURLProvider' declares the selector 'jsBundleURLForBundleRoot:fallbackResource:'

- jsBundleURLForBundleRoot:fallbackResource: no longer exists on RCTBundleURLProvider

source: https://stackoverflow.com/a/73048366/8215759

Co-authored-by: velimir-jankovic <84719115+velimir-jankovic@users.noreply.github.com>
  • Loading branch information
sturmenta and velimir-jankovic authored Jan 18, 2024
1 parent ba6c77b commit ad6e88c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/setup-ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Once you've acquired the CodePush plugin, you need to integrate it into the Xcod
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
{
#if DEBUG
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
#else
return [CodePush bundleURL];
#endif
Expand Down

0 comments on commit ad6e88c

Please sign in to comment.