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

Xcode16 Declaration Error #141

Open
zcinclude opened this issue Sep 18, 2024 · 1 comment
Open

Xcode16 Declaration Error #141

zcinclude opened this issue Sep 18, 2024 · 1 comment

Comments

@zcinclude
Copy link

Declaration of 'sa_family_t' must be imported from module 'Darwin.POSIX.sys.types._sa_family_t' before it is required
at @Property (nonatomic, assign, readonly) sa_family_t hostAddressFamily;

截屏2024-09-18 16 45 02
@OHeroJ
Copy link

OHeroJ commented Sep 19, 2024

same issue, need import

#import <sys/socket.h>

image

try:

pod 'RealReachability', :git => 'https://github.com/OHeroJ/RealReachability.git'

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

2 participants