yetist / ios-toolchain-based-on-clang-for-linux

Automatically exported from code.google.com/p/ios-toolchain-based-on-clang-for-linux
0 stars 0 forks source link

Frameworks aren't found #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've followed all steps on an ubuntu 64-bit box, and finally got everything 
compiling correctly.
When trying to build any iOs code, though, ios-clang can't find any framework, 
and throws errors like:
'CoreServices/CoreServices.h' file not found (in RestKit's case)
./RootViewController.h:3:32: error: cannot find interface declaration for 
'UIViewController' (in HelloWorld's case)

When trying to run ios-switchsdk, I get the following output:

$ ios-switchsdk 
iPhone SDK Setup

This is the first time you use iPhone toolchain for linux.

clang: error: no input files

I believe I followed the steps correctly:
$ ls -al /usr/share/iPhoneOS6.1.sdk/
total 28
drwxr-xr-x   5 root root  4096 Mar 31 06:05 .
drwxr-xr-x 315 root root 12288 Mar 31 07:12 ..
drwxr-xr-x   4 root root  4096 Mar 31 06:05 Developer
-rw-r--r--   1 root root     0 Mar 31 06:05 Entitlements.plist
-rw-r--r--   1 root root     0 Mar 31 06:05 ResourceRules.plist
-rw-r--r--   1 root root     0 Mar 31 06:05 SDKSettings.plist
drwxr-xr-x   3 root root  4096 Mar 31 06:05 System
drwxr-xr-x   4 root root  4096 Mar 31 06:05 usr

System/Library/Frameworks contain all the needed frameworks, along with their 
headers.
Any ideas of what it might be?
Thank you for your hard work!

Original issue reported on code.google.com by waneck on 31 Mar 2013 at 10:15

GoogleCodeExporter commented 9 years ago
I'm sorry, I've just found out that the dmg mount was giving me empty files, so 
I've used a mac to extract the needed dmg files, and I've been able to compile 
successfully ! Thank you very much!

Original comment by waneck on 2 Apr 2013 at 6:46

GoogleCodeExporter commented 9 years ago
closed.

Original comment by cjac...@gmail.com on 23 Sep 2013 at 6:42