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

Implicit declaration of function 'RCTPresentedViewController' is invalid in C99 #18

Closed
JakielaAdam opened this issue Nov 3, 2016 · 3 comments
Labels

Comments

@JakielaAdam
Copy link

JakielaAdam commented Nov 3, 2016

I'm having some trouble building my iOS project with the react-native-awesome-card-io files included. I followed the installation instructions but I'm getting the following build error in on line 116 of RCTCardIOModule.m.

RCTCardIOModule.m:116:44: Implicit declaration of function 'RCTPresentedViewController' is invalid in C99

UIViewController *rootViewController = RCTPresentedViewController();

Any ideas on how I can solve this? I am not very failure with Objective C so I apologize if this is a trivial issue.

@Kerumen
Copy link
Owner

Kerumen commented Nov 3, 2016

Which version of React Native do you use?

Do you use the latest version of the library?

@JakielaAdam
Copy link
Author

React Native: 0.23.1
react-native-awesome-card-io: 0.5.0

@Kerumen
Copy link
Owner

Kerumen commented Nov 4, 2016

Oh well.

This library only supports the latest version of React Native. And your version is very old. Upgrade to the latest (0.36) and it should work.

@Kerumen Kerumen closed this as completed Nov 4, 2016
@Kerumen Kerumen added the invalid label Nov 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants