Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

IOS Build Failed #2

Open
bassemBMI opened this issue Oct 21, 2015 · 1 comment
Open

IOS Build Failed #2

bassemBMI opened this issue Oct 21, 2015 · 1 comment

Comments

@bassemBMI
Copy link

It was working well several months ago, but now the build for ios failed with this error:

Plugins/org.chromium.sockets.tcpserver/ChromeSocketsTcpServer.m:268:60: error: use of undeclared identifier 'SOMAXCONN'
socket->_backlog = [NSNumber numberWithInteger:SOMAXCONN];
1 error generated.

@antares62
Copy link

After updating to iOS 10.2 my build failed with the same compile time error.
The build works fine again if you add #import <sys/socket.h> to ChromeSocketsTcpServer.m.
So I guess this import is required for the latest iOS version.

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

No branches or pull requests

2 participants