Help With CoreTelephony

Discussion in 'iOS Development' started by Tyr0, Feb 28, 2009.

  1. Tyr0

    Tyr0 New Member

    Joined:
    Dec 17, 2007
    Messages:
    533
    Likes Received:
    6
    Device:
    iPhone 3GS (White)
    Hi all, i was messing around with some of the private frameworks, in XCode, and for one of my apps i would like to tap into the CoreTelephony/CoreTelephony.h file, but i believe that my header file is missing pieces because it gives me an error at line 39, in the header itself. I was just wondering if anybody could help me out, with getting CoreTelephony to work.
    Thx, Tyr0
  2. Chicken

    Chicken Retired Moderator

    Joined:
    Feb 17, 2008
    Messages:
    2,494
    Likes Received:
    7
    Device:
    iPhone 5S
    Sorry but you haven't given us what the error is. You expect us to magically know the error?
  3. Tyr0

    Tyr0 New Member

    Joined:
    Dec 17, 2007
    Messages:
    533
    Likes Received:
    6
    Device:
    iPhone 3GS (White)
    Okay, so i did #import <CoreTelephony/CoreTelephony.h> in my AppDelegate.m, and i get the error "warning: parameter names (without types) in function declaration"
    So i have no clue what that means, and i dont get that when i try to import <CoreSurface/CoreSurface.h>. So i would really like to see if somebody could upload their working CoreTelephony.h
    Thx again
  4. iPodTouchDev

    iPodTouchDev New Member

    Joined:
    Jan 18, 2009
    Messages:
    74
    Likes Received:
    0
    Device:
    iPod touch
    that isn't an error. it's a warning...
  5. Steaps

    Steaps New Member

    Joined:
    Oct 24, 2007
    Messages:
    5,074
    Likes Received:
    41
    Device:
    iPod touch
    Thank you detective.
    OP:
    Though, I have not used this framework so i can't see they problem, sorry.
  6. spoonforknife

    spoonforknife Retired Moderator

    Joined:
    Nov 15, 2007
    Messages:
    6,896
    Likes Received:
    317
    Stupid question: But did you go and add the CoreTelephony.framework file?
  7. Tyr0

    Tyr0 New Member

    Joined:
    Dec 17, 2007
    Messages:
    533
    Likes Received:
    6
    Device:
    iPhone 3GS (White)
    By following the tutorial here:
    http://www.onlamp.com/pub/a/onlamp/...-apis-apple-didnt-want-you-to-know-about.html (Then added a folder called Headers in CoreTelephony.framework, with CoreTelephony.h included)

    Oh, and sorry i gave a warning, i got the error on my friends laptop, and i tried to reproduce it, but forgot what i did, but i will be able to post up that error later tonight.
    Thx for your help everyone
    ------------------double post merged------------------
    Sorry for double post, better than opening a new thread
    can anybody with the 1.1.4 headers, specifically CoreTelephony.h, upload the file please, i read online that for full support, i need that file. And this would be very much appreciated, so i would not have to install a new toolchain on my distro.
    (PM me if needed,

    Please Register or Log in to view images

    )
    Thanks, Tyr0
  8. SkylarEC

    SkylarEC Super Moderator Emeritus Staff Member

    Joined:
    Sep 19, 2007
    Messages:
    6,642
    Likes Received:
    129
    No, instead of downloading and convoluting your setup, it would be a lot easier to just fix the warning.

Share This Page