KJCracks / Clutch

Fast iOS executable dumper
3.7k stars 647 forks source link

xpc/xpc.h file not found #23

Closed ztiandan closed 10 years ago

ztiandan commented 10 years ago

When i compile Clutch there is an issue, xpc/xpc.h file not found and i saw below comment
I use os x 10.9 and ipad mini retina 7.0.4,so i use following code to create link,but it didn't work,could u tell me what i need to do for this issue,thank u. ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/xpc /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/include/xpc

ieswxia commented 10 years ago

you should change your Base SDK to Lastest iOS(iOS7.1)

ttwj commented 10 years ago

xph.c is a private header not found in the SDK afaik, I think it comes with iOSOpenDev

On Tuesday, 6 May 2014, shiwen xia notifications@github.com wrote:

you should change your Base SDK to Lastest iOS(iOS7.1)

— Reply to this email directly or view it on GitHubhttps://github.com/KJCracks/Clutch/issues/23#issuecomment-42262367 .

ieswxia commented 10 years ago

ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/xpc /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/include/xpc

can make a soft link to mac os x xpc headers, so you should then check if /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/include/xpc exists.If it exist,you should change your Base SDK to Lastest iOS(iOS7.1).

I compile clutch successfully.

ztiandan commented 10 years ago

xpc soft link exist and i have change Base SDK to Lastest iOS(iOS7.1), but it didn't work still.

ttwj commented 10 years ago

xpc.h requirement removed

H0meDev commented 8 years ago

Just copy the required files(xpc.h .etc) to the Xcode SDK folder, it works for me