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

The Project can't build success without -ObjC #25878

Closed
CoderKb opened this issue Jul 30, 2019 · 2 comments
Closed

The Project can't build success without -ObjC #25878

CoderKb opened this issue Jul 30, 2019 · 2 comments
Labels
Bug Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@CoderKb
Copy link

CoderKb commented Jul 30, 2019

React Native version:0.59.5

I delete -ObjC from build setting->Other link flag,Because I need to add SDL to my project.But if I don't delete -ObjC,will error:
Undefined symbols for architecture arm64:
"_SDL_main", referenced from:
-[SDLUIKitDelegate postFinishLaunch] in libSDL2.a(SDL_uikitappdelegate.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

and,when I delete -ObjC,will error:
Undefined symbols for architecture arm64:
"OBJC_CLASS$_RCTReconnectingWebSocket", referenced from:
objc-class-ref in libReact.a(RCTPackagerConnection.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Can anybody show me some advice?
Thank you!

@CoderKb CoderKb added the Bug label Jul 30, 2019
@stale
Copy link

stale bot commented Oct 28, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Oct 28, 2019
@stale
Copy link

stale bot commented Nov 4, 2019

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Nov 4, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Nov 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

1 participant