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

Both sdk8.1 sdk9.2 OSX10.10.5 #error architecture not supported #12

Open
haoerloveyou opened this issue Feb 24, 2016 · 5 comments
Open

Comments

@haoerloveyou
Copy link

My Theos(OS X) works well in other project but it can't Compiling SettingKit

the error is

cdefs.h _types.h boolean.h vm_types.h kern_return.h types.h endian.h limits.h signal.h _mcontext _param.h _param.h

both headers have the same error
error:
architecture not supported

error architecture not supported

^
11 errors generated.

All of my tweaks is base on SettingKit please help me! :(

An interesting thing. The same SDKs and Headers works well in iOS both iOS8~iOS9 in JB iDevice

in JB iDevice I can Compiling SettingKit but in Mac I can't .

@efrederickson
Copy link
Owner

This is often due to bad headers. Make sure you're using rpetrich's or hashbang's headers. Also, you could check here and here for similar issues with (at least partial) solutions.

@haoerloveyou
Copy link
Author

happy to see u in a short time :) I try it new

@haoerloveyou
Copy link
Author

I am back , I speed two hour to reinstall theos from rpetrich. and also clone header from rpetrich.but the essue is still. the wrong become error:

ARC forbids Objective-C objects in struct
id _field3;

just like this #10

and I do this in makefile

#CFLAGS = -fobjc-arc

after that it can compiling

I don't know whether I can fix the problem like this

@efrederickson
Copy link
Owner

You need to manually patch or remove those structs - they are auto-generated anyway; I found they were not even referenced (initially in my set of headers anyway).

@haoerloveyou
Copy link
Author

it's time to 3:53 AM thank your for giving me help and glad to meet U again ;) zzzz

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