Skip to content

Commit

Permalink
Adding troubleshoot section to Readme.md (#30)
Browse files Browse the repository at this point in the history
* Adding troubleshooting section to Readme.md
  • Loading branch information
theido authored Sep 9, 2021
1 parent b7f2a14 commit 871f3b9
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,23 @@ yarn android
Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
[More details](https://creativecommons.org/licenses/by-nc-sa/4.0/)

## Running with xcode 11.3.1 (iOS)
## Troubleshooting

#### Build Issue with FBReactNativeSpec

A known issue with React NAtive dependecy. reference:

https://github.com/facebook/react-native/issues/31034

When you get this error:
```
error: Cycle in dependencies between targets 'BringgDriverSdkIosExample' and 'FBReactNativeSpec';
building could produce unreliable results.
```

On the example app, the solution is to go to the Pods/FBReactNativeSpec target in Xcode, and move the [CP-User] build script above the Headers.

#### Running with xcode 11.3.1 (iOS)
The Native iOS SDK is precompiled - when using a swift version that is not the latest, you will need to do another step in order to use a native SDK that was compiled with the same Swift version that you are using.

In podfile add to your application target the following pods:
Expand Down

0 comments on commit 871f3b9

Please sign in to comment.