Both sdk8.1 sdk9.2 OSX10.10.5 #error architecture not supported
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 .
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.
happy to see u in a short time :) I try it new
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 https://github.com/mlnlover11/SettingsKit/issues/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
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).
it's time to 3:53 AM thank your for giving me help and glad to meet U again ;) zzzz