Skip to content

Commit

Permalink
Merge pull request #167 from hayanmind/master
Browse files Browse the repository at this point in the history
Update README.md (yarn add and multiple targets in Xcode projects)
  • Loading branch information
Suraj-Tiwari authored Nov 14, 2018
2 parents bdc45d3 + c0c11d1 commit a3c128e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ If you didn't use Cocoapods to integrate the Facebook SDK, you'll need to manual
Add the package to your project using your favorite package manager

```bash
$ yarn install react-native-fbads
$ yarn add react-native-fbads
```

Link the native dependencies
Expand All @@ -55,6 +55,8 @@ Link the native dependencies
$ react-native link react-native-fbads
```

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'.

### 4. Get a Placement ID

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

0 comments on commit a3c128e

Please sign in to comment.