React-native-orientation: iOS build failed on v3.1.2

Created on 30 Dec 2017  路  3Comments  路  Source: yamill/react-native-orientation

I upgrade to v3.1.2 and update the AppDelegate.m file followed by README but it can't pass the iOS build. When I comment out the duplicated code, it become build success but the orientation is broke. Now I roll back to v3.1.0. Here's the screenshot of the failed part:

2017-12-30 11 17 46

Most helpful comment

Cannot build on iOS due to "Duplicate declaration" error. I had to roll back 3.1.2 to:

yarn add [email protected]

All 3 comments

Cannot build on iOS due to "Duplicate declaration" error. I had to roll back 3.1.2 to:

yarn add [email protected]

Ah probably something messed up in merging. So sorry. Will fix asap

There is now 3.1.3 released with fix

Was this page helpful?
0 / 5 - 0 ratings