Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Header files are not added with framework kit in ios xcode

Tags:

xcode

ios

ios6

I'm so new to xcode, I have a speechkit framework with following files as shown in image below

enter image description here

Now When I add this framework to my xcode project the header files are shown empty as below

enter image description here

and I end up with build error 'Lexical preprocessor issue SpeechKit/SpeechKit.h' file not found'. What is the issue with it? How to solve this?

like image 955
Dolo Avatar asked May 16 '13 11:05

Dolo


2 Answers

I had the same issue. Your Header symbolic link is corrupted (others too), you must replace it by a valid Symlink.

You can use ln -s command on each Symlink of your framework or use my script available here : https://gist.github.com/spawnrider/6088294#file-fix_symlinks_fmk_ios-sh

like image 139
Spawnrider Avatar answered Sep 19 '22 18:09

Spawnrider


Another newbie in Xcode here. I also spent a lot of time with this problem. My scenario is the framework was emailed to me by colleague as a zip file.

I unzipped it on windows and copied it to my Mac. Wrong move. I should have unzipped it on the Mac itself. If you are wondering why your "header" is not a folder, then this is your answer.

like image 23
mat Avatar answered Sep 20 '22 18:09

mat