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

Unable to build element-ios | Cannot find protocol declaration for 'OS_xpc_object' #7815

Open
thierrybucco opened this issue Jun 17, 2024 · 1 comment

Comments

@thierrybucco
Copy link

I am unable to build element-ios project on Apple Silicon (M2) . I followed all READ-ME instructions but I am still getting these errors:

element-ios-develop/Pods/FLEX/Classes/GlobalStateExplorers/SystemLog/ActivityStreamAPI.h:31:1 Cannot find protocol declaration for 'OS_xpc_object'; did you mean 'OS_sec_object'?

element-ios-develop/Pods/FLEX/Classes/GlobalStateExplorers/SystemLog/ActivityStreamAPI.h:31:1 Reference to 'OS_xpc_object' is ambiguous

element-ios-develop/Pods/FLEX/Classes/GlobalStateExplorers/SystemLog/ActivityStreamAPI.h:31:1 Typedef redefinition with different types ('NSObject<OS_sec_object> *' vs 'NSObject<OS_xpc_object> *')

I am running XCode 15.4 on Mac M2. My friend which has an Intel is able to build element-ios.

@shuvo0074
Copy link

shuvo0074 commented Jun 24, 2024

Change line 31 to this
OS_OBJECT_DECL(OS_xpc_object);
@thierrybucco

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