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

build ios device error [ clang: error: linker command failed with exit code 1 ] #11

Closed
abhiwich opened this issue Nov 10, 2018 · 8 comments

Comments

@abhiwich
Copy link

abhiwich commented Nov 10, 2018

Hello

I have configured your document about react-native-jitsi-meet.
I have experimented with my iphone and tried to adapt to your requirements.
Clang: error: linker failed with exit code 1 (use -v to see invocation)
I hope you can tell me the problem.

Did I show you my structure initially, right?
And I do not have the libstdc++.tbd I replaced it to libc++.tbd file.

2
3
4

Thank You

@abhiwich abhiwich changed the title linker command failed with exit code 1 build ios device error [ clang: error: linker command failed with exit code 1 ] Nov 10, 2018
@skrafft
Copy link
Owner

skrafft commented Nov 11, 2018

Your compilation fails because you have included react-native-jitsi-meet files twice, once in Libraries by including RNJitsiMeet.xcodeproj and once in your source files. You have to remove the following files from your source files:

  • JitsiMeetViewController.h
  • JitsiMeetViewController.m
  • RNJitsiMeet.m
  • RNJitsiMeetNavigator.h
  • RNJitsiMeetNavigator.m

The only file that has to stay in place is JitsiMeet.storyboard

@abhiwich
Copy link
Author

Thank you for your advice
I've edited as you suggested and experimented on ios the device.
Something went wrong.

Conference[1525:715837] [] __nw_connection_get_connected_socket_block_invoke xxx Connection has no connected handler

5
6
7

@abhiwich
Copy link
Author

Hello ,skrafft

 from problem "Conference[1525:715837] [] __nw_connection_get_connected_socket_block_invoke xxx Connection has no connected handler"

Now I'm trying to fix the problem. By doing this.
But I was not sure if that was the right way.

  1. Xcode menu -> Product -> Edit Scheme...
  2. Environment Variables -> Add -> Name: "OS_ACTIVITY_MODE", Value:"disable"
  3. Run your app again, done! 😄

After modify, the error is not displayed.
But show other problems instead.

RCT_EXPORT_MODULE()?
2561-11-12 00:12:31.371 [warn][tid:main][RCTBridge.m:131] Class AppInfo was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2561-11-12 00:12:31.371 [warn][tid:main][RCTBridge.m:131] Class RCTEventEmitter was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2561-11-12 00:12:31.371 [warn][tid:main][RCTBridge.m:131] Class RNBackgroundTimer was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2561-11-12 00:12:31.371 [warn][tid:main][RCTBridge.m:131] Class RCTWebSocketModule was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2561-11-12 00:12:31.372 [warn][tid:main][RCTBridge.m:131] Class RCTStatusBarManager was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2561-11-12 00:12:31.372 [warn][tid:main][RCTBridge.m:131] Class RCTNetworking was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2561-11-12 00:12:31.372 [warn][tid:main][RCTBridge.m:131] Class RCTNetInfo was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2561-11-12 00:12:31.372 [warn][tid:main][RCTBridge.m:131] Class RCTNativeAnimatedModule was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2561-11-12 00:12:31.372 [warn][tid:main][RCTBridge.m:131] Class RCTModalManager was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2561-11-12 00:12:31.372 [warn][tid:main][RCTBridge.m:131] Class RCTLinkingManager was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2561-11-12 00:12:31.372 [warn][tid:main][RCTBridge.m:131] Class RCTKeyboardObserver was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2561-11-12 00:12:31.372 [warn][tid:main][RCTBridge.m:131] Class RCTAppState was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2561-11-12 00:12:31.372 [warn][tid:main][RCTBridge.m:131] Class RNSound was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2561-11-12 00:12:31.372 [warn][tid:main][RCTBridge.m:131] Class Invite was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2561-11-12 00:12:31.372 [warn][tid:main][RCTBridge.m:131] Class RNCallKit was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2561-11-12 00:12:31.394 [info][tid:main][RCTRootView.m:293] Running application Conference ({
initialProps = {
};
rootTag = 1;
})
2561-11-12 00:12:32.426 [info][tid:com.facebook.react.JavaScript] Running application "Conference" with appParams: {"rootTag":1,"initialProps":{}}. DEV === true, development-level warning are ON, performance optimizations are OFF

@skrafft
Copy link
Owner

skrafft commented Nov 13, 2018

Hi,

You can ignore the warnings. Sorry but I could not understand if your app is working or not ?

@abhiwich
Copy link
Author

abhiwich commented Nov 14, 2018

Hi, skrafft
Now I do not succeed.

Output log console on Xcode display:

2561-11-15 04:59:36.404 [info][tid:main][RCTRootView.m:293] Running application Conference ({
initialProps = {
};
rootTag = 1;
})
2561-11-15 04:59:38.140 [info][tid:com.facebook.react.JavaScript] Running application "Conference" with appParams: {"rootTag":1,"initialProps":{}}. DEV === true, development-level warning are ON, performance optimizations are OFF

@skrafft
Copy link
Owner

skrafft commented Nov 16, 2018

Hi,
These are just usual messages. What problem are you encountering ?

@skrafft
Copy link
Owner

skrafft commented Dec 3, 2018

No answer, closing

@skrafft skrafft closed this as completed Dec 3, 2018
@saadqbal
Copy link

saadqbal commented Jan 4, 2019

Hey @abhiwich , Did you ever try JistiMeet together with realm database? I have been trying but stuck with it.

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

3 participants