Skip to content

Commit a3c128e

Browse files
authored
Merge pull request #167 from hayanmind/master
Update README.md (yarn add and multiple targets in Xcode projects)
2 parents bdc45d3 + c0c11d1 commit a3c128e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ If you didn't use Cocoapods to integrate the Facebook SDK, you'll need to manual
4646
Add the package to your project using your favorite package manager
4747

4848
```bash
49-
$ yarn install react-native-fbads
49+
$ yarn add react-native-fbads
5050
```
5151

5252
Link the native dependencies
@@ -55,6 +55,8 @@ Link the native dependencies
5555
$ react-native link react-native-fbads
5656
```
5757

58+
If you have more than one Targets on your Xcode project, you might link some of them manually by dragging `Libraries/ReactNativeAdsFacebook.xcodeproj/Products/libReactNativeAdsFacebook.a` to 'Build Phases' -> 'Link Binary With Libraries'.
59+
5860
### 4. Get a Placement ID
5961

6062
Follow [Facebook's instructions](https://www.facebook.com/help/publisher/1195459597167215) to create placement IDs for your ads.

0 commit comments

Comments
 (0)