Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mising instruction: Swift Bridging Header #76

Open
mastersam92 opened this issue Feb 19, 2018 · 2 comments
Open

Mising instruction: Swift Bridging Header #76

mastersam92 opened this issue Feb 19, 2018 · 2 comments

Comments

@mastersam92
Copy link

Hi. This issue already known: #71

But my question about a little bit another:
Could anyone put them instruction for manually add this bridge ?
-Because, it's not known how long time will take fixing this issue, but, this framework, can't be usefull( on iOS ) right now.

@mastersam92 mastersam92 changed the title Mising instruction: Objective-C Bridging Header Mising instruction: Swift Bridging Header Feb 19, 2018
@mastersam92
Copy link
Author

mastersam92 commented Feb 19, 2018

Solved with next simple steps with XCode( Why add link to a third-party resource for this? ):

  1. In your iOS project( Project Navigator ) right-click -> New File -> Swift file -> Next -> Create
    -It create new Swift file in you project

  2. When new Swift file will add, XCode ask you with dialog box: "Would you like to configure an Objective-C bridging header?", select "Create Bridging Header"
    -It automatically create some "magic" with project and add file: "{YourApp}/ios/{YourApp}-Bridging-Header.h"

  3. Now, iOS: (prerequisite) Setup Swift Bridging Header Done :)

Note, that this Dialog Box will shown only one time for project. Therefore, need choose correct variant from the first time.

@xzilja
Copy link

xzilja commented Mar 18, 2018

@joonhocho Maybe it is worth adding this to readme? Link for this step is broken. Let me know and I will submit a PR. Relying on this library really hard now, since old one react-native-google-signin is completely broken. Are you still maintaining this by the way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants