Results 1 to 1 of 1
Discuss Toolchain Headers+Substrate.h+xCode problem! at the iPhone Developer Exchange -; I use xCode to compile MS Dylibs, It works just fine! (Using this method: Link ...
  1. #1
    Newbie Array

    Join Date
    Apr 2008
    Post Thanks / Like
    Rep Power

    Default Toolchain Headers+Substrate.h+xCode problem!

    I use xCode to compile MS Dylibs, It works just fine!
    (Using this method:Link)
    few hours ago, when I tried to do this:

    #import <SpringBoard/SBAwayItemsView.h>
    It said that "UIModalView.h" is required! after a little digging I found out SDK does not provide that header and I have to use toolchain headers!

    so I installed toolchain headers in:

    and finally the problem!
    everything works fine before I add these lines as "other C flags":
    (without enters! all in the same line)
    same issue when just use this as "other c flags":
    Now what does substrate.h have to do with this?
    It uses "objc/runtime.h" and "runtime.h" generates 45 errors of:
    error: expected initializer before 'OBJC2_UNAVAILABLE'
    and these weird errors appears too:
    warning: 'NSString' may not respond to '-stringByReplacingOccurrencesOfString:withString:'
    error: 'UIFont' was not declared in this scope
    and some other errors.(as it is not familiar with anything!)

    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.



Similar Threads

  1. Can I use toolchain with my xcode 4.01?
    By ginvod in forum iPhone Developer Exchange
    Replies: 0
    Last Post: 04-20-2011, 04:09 AM
  2. [Xcode Problems] About Open Toolchain dev in Xcode
    By satashi in forum iPhone Developer Exchange
    Replies: 2
    Last Post: 02-08-2011, 11:26 AM
  3. [XCode Template] for SDK and Open Toolchain API in firmware 2.0
    By javacom in forum iPhone Developer Exchange
    Replies: 143
    Last Post: 04-11-2009, 07:23 PM
  4. Xcode 3.1 + Toolchain 2.0 + iPod touch 2.2.1 Jailbroken
    By Siemens-Fan in forum iPhone Developer Exchange
    Replies: 1
    Last Post: 04-08-2009, 09:10 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012
All times are GMT +2. The time now is 03:54 PM.
twitter, follow us!