IOKit Not found

孤街醉人 提交于 2019-11-28 03:50:18

Best thing to do is this until Apple issues a fix.

cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/IOKit.framework
sudo ln -s Versions/A/IOKit .

Xcode Version 5.1.1 (5B1008)

cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/IOKit.framework 
sudo ln -s Versions/A/IOKit .
Vitalya

I had the same problem, but I fixed it by going to IOKit.framework in Xcode 4.6.3, right clicking it, and selecting "Show in Finder". I just copied it to the same relative location under Xcode 5.

MrBlonde

To fix this without rolling back your Xcode software you can add the missing IOKit.framework symlink by entering the following commands into terminal:

cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ iPhoneOS7.0.sdk/System/Library/Frameworks/IOKit.framework

sudo ln -s Versions/A/IOKit . # <- do not forget the dot!

Be sure to enter the entire directory address when performing the cd operation as the terminal will not like you changing the directory to an .app file usually.

Hope this solves your problem!

For iPhoneOS10.2.sdk

cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks/IOKit.framework

sudo ln -s Versions/A/IOKit .

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!