-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
[RN 0.48.3 Xcode 9] RCTImageStoreManager: Semantic Issue #16070
Comments
Facing similar issue |
You can try: |
Having this issue as well. RN 0.48.4, RCT 16.0.0-rc.3. |
Having this issue as well. |
Also having this issue. Can't get it to run on a device. Build fails with the above error. |
I got my code to compile. The offending code is the prototype for the blocks argument to the removeImageForTag method in RCTImaeStoreManager.h and RCTImaeStoreManager.m node_modules/react-native/Libraries/Image. The compiler appears to no longer treat empty arguments to a method as a warning. The fix is to make the empty argument void. Original code:
working code
I don't know if this is a general fix, but it worked for me. |
doesnt work for me. RN 0.43.3 |
@tolgaduzenli - did you make the change to both the RCTImaeStoreManager.h and RCTImaeStoreManager.m files. Looks like you changed only the header file. |
@glebovitz thank you so much man, now my build is successful. |
@glebovitz thankyou man |
@glebovitz thank you! i solved the problem |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions. |
We need a global solution to the problem |
Same problem after upgrade to XCode 10.1 |
Is there somebody who could send a Pull Request with a fix for this problem? |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
There hasn't been any activity on this issue from long. Also the reproducer provided doesn't seems to exist now. If someone still getting this on latest RN version. Feel free to re-open this. |
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 8.4.0
Yarn: Not Found
npm: 5.4.2
Watchman: 4.7.0
Xcode: Xcode 9.0 Build version 9A235
Android Studio: 2.1 AI-143.3101438
Packages: (wanted => installed)
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
react-native: ^0.48.3 => 0.48.3
Steps to Reproduce
Expected Behavior
The project started with the old version of xcode.
Actual Behavior
"This block declaration is not a prototype"
Reproducible Demo
https://github.com/delef/rn-xcode9
The text was updated successfully, but these errors were encountered: