|
|||||||||
|
|||||||||
|
|||
|
I use xCode to compile MS Dylibs, It works just fine!
(Using this method:Link) few hours ago, when I tried to do this: Code:
#import <SpringBoard/SBAwayItemsView.h> so I installed toolchain headers in: Code:
/Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS3.0.sdk/include/ everything works fine before I add these lines as "other C flags": Code:
-I/Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS3.0.sdk/include -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/include -I/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include -F/System/Library/Frameworks -F/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/Frameworks -F/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/PrivateFrameworks -DVERSION='\3.0\' same issue when just use this as "other c flags": Code:
-I/Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS3.0.sdk/include It uses "objc/runtime.h" and "runtime.h" generates 45 errors of: Code:
error: expected initializer before 'OBJC2_UNAVAILABLE' Code:
warning: 'NSString' may not respond to '-stringByReplacingOccurrencesOfString:withString:' error: 'UIFont' was not declared in this scope What am I supposed to do? ![]() (If it wasn't obvious I'm trying to find a way to use toolchain headers!) (If possible, I want to use both SDK and toolchain at the same time!) Last edited by goldingname; 08-15-2009 at 12:06 AM. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2.1 Wifi problem - my findings | pep_BR | General | 28 | 10-29-2009 12:28 PM |
| [XCode Template] for SDK and Open Toolchain API in firmware 2.0 | javacom | iPhone Developer Exchange | 144 | 10-12-2009 05:33 AM |
| iPhone 3gs autofocus problem | stubner | 3GS General Talk | 6 | 08-04-2009 11:35 PM |
| Xcode Crash Problem | psychofish25 | iPhone Developer Exchange | 1 | 07-23-2008 06:32 PM |
| [Headphones] sensor problem | olgv_tm | Hardware | 19 | 04-13-2008 01:32 AM |
|
|