What to include / link for CFHTTPMessage and friends?

Hello, all ...
I'm developing an iPhone app and I want to use CFNetwork calls instead of NSURLConnection et al. However, I can't seem to get XCode to see the CFNetwork stuff:
Line Location AudioStreamer.m:427: error: 'CFHTTPMessage' undeclared (first use in this function)
Line Location AudioStreamer.m:427: error: syntax error before 'myRequest'
Line Location AudioStreamer.m:428: error: 'myRequest' undeclared (first use in this function)
Line Location AudioStreamer.m:428: warning: implicit declaration of function 'CFHTTPMessageSetHeaderFieldValue'
Line Location AudioStreamer.m:430: warning: initialization makes pointer from integer without a cast
Line Location AudioStreamer.m:430: warning: implicit declaration of function 'CFReadStreamCreateForHTTPRequest'
Foundation.framework is in the project -- what other framework do I need to add? I'm used to gcc's -i, -I, -l, -L options to specify this stuff
Regards,
John
Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com

OK, I found CFHTTPMessage.h in CFNetwork, so i'm including that now. I still can't get XCode to find the symbols, though:
Line Location Tool:0: collect2: ld returned 1 exit status
Line Location Tool:0: "_CFHTTPMessageCreateRequest", referenced from:
Line Location Tool:0: symbol(s) not found
Line Location Tool:0: -[AudioStreamer startInternal] in AudioStreamer.o
Line Location Tool:0: "_CFReadStreamCreateForHTTPRequest", referenced from:
Line Location Tool:0: -[AudioStreamer startInternal] in AudioStreamer.o
Line Location Tool:0: "_CFHTTPMessageSetHeaderFieldValue", referenced from:
Line Location Tool:0: _kCFHTTPVersion1_1$non_lazy_ptr in AudioStreamer.o
Line Location Tool:0: "_kCFHTTPVersion1_1", referenced from:
Line Location Tool:0: -[AudioStreamer startInternal] in AudioStreamer.o
I've tried adding the CFNetwork framework, but ... there is no CFNetwork framework shown when I try to add it. I see specific CFNetwork frameworks for OSX, iPhone OS 2.0-2.2, simulator and device, but my understanding was that XCode finds the correct device-specific framework at link time i.e. if I choose CoreGraphics.framework, it links against the device-specific CoreGraphics.framework when I build for the device, and the simulator version when I build for the simulator.
What framework do I need to add to use CFHTTP-stuff? Where do I find it?
Regards,
John
Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com

Similar Messages

  • By mistake I uninstalled my Acrobat someting, which gave me the opportunity to print .pdf and color-mark text. My licence key is [removed by moderator]. What is the name of the product? Where is the link for download and reinstall? Please help me r

    By mistake I uninstalled my Acrobat someting, which gave me the opportunity to print .pdf and color-mark text. My licence key is [removed by moderator - never disclose publicly]. What is the name of the product? Where is the link for download and reinstall? Please help me rapidly, Best regards / Stefan

    Sign in to your Adobe account online and look in the Plans/Products sections to see which program it might have been.

  • What is the last version of itunes for Tiger 10.4.11 and what is the link for the download

    What is the last version update for itunes for Tiger 10.4.11 and what is the link for the update download?

    Click here, or here if you're using a G3.
    (119812)

  • What is the link between PO and Requisition in database side

    hello friends,
    please can any one tell me that what is the link between PO and Requisition in database side. means after creating the requisition we will go for create the PO based on that requisition.
    want to know that what is the link between both in database side.
    Thanks in advance
    krish.

    Hi,
    The link is at distribution level, between:
    PO_DISTRIBUTIONS_ALL.REQ_DISTRIBUTION_ID
    and
    PO_REQ_DISTRIBUTIONS_ALL.DISTRIBUTION_ID
    Hope it helps.

  • What does ESA stands for ? and where it is use

    Hi,
    What does ESA stands for ? and where it is use ?
    Thanx

    Hi
    ESA is enterprise Service Oriented Architecture.
    This is a new strategic direction in which SAP AG is planning to take all industries to. They have developed SAP Netweaver for this. SAP as such is a great application but JAVA is very user friendly. In past integration of web applications was not so good with SAP.
    With SAP Netweaver ABAP and JAVA gets integrated great and hence we have seamless integration between SAP and webapplicaation. This also helps to give great USER interfae with real time information search on web from SAP.
    e.g. tracking information of sales order, invoice etc from web from SAP.
    If helpful, reward accordingly.
    Kind Regards
    Sandeep

  • Can somebody please tell me what 'genius' included 'family' in reminders, and, made it so i cannot remove it.  I have NO family, and, i find this particularly hurtful and disrespectful.  Can somebody please help me remove it.

    Can somebody please tell me what 'genius' included 'family' in reminders, and, made it so i cannot remove it.  I have NO family, and, i find this particularly hurtful and disrespectful.  Can somebody please help me remove it.

    Hi EmmeElle,
    Is it an iCloud reminder or a third party reminder like from an Exchange account(maybe your company provides this service together with mail etc..).
    In the first case you should definitely be able to delete it by right click->delete or via https://www.icloud.com
    In the second case there might be a browser based settings page from your company or the provider of the service (i.e. Exchange) itself. Otherwise you can go to your System Preferences -> Internet Accounts and deactivate reminders for this account. WARNING: this also deletes all other reminder lists and reminders from this service on your mac.
    jl

  • What is Licensing Method for SCCM and SCOM 2012

    What is Licensing Method for SCCM and SCOM 2012
    We have 75000 clients, so we going to implement SCCM and SCOM 2012 environment in azure. Actually we plan to go for One Central Administration site and three primary sites (to manage this clients), going to host in Azure. I need to know how the licensing
    process work for this environment, how many licenses we need to get for this? is charging for Client based, Site based or environment based?  Please update.
    Thank you
    Fazal
    Fazal(MCTS)

    Hi,
    Running the SCCM and SCOM servers themselves in Azure to manage clients outside azure is not really supported if I remember correctly..
    http://blogs.technet.com/b/configmgrteam/archive/2013/10/23/configmgr-and-endpoint-protection-support-for-windows-azure-vms.aspx
    Licensing is explained here.
    http://www.microsoft.com/licensing/about-licensing/SystemCenter2012-R2.aspx
    In short for Client OS you need a cal per client, included in Core CAL and Enterprise CAL.
    For servers it is licensed per CPU and can be licensed for all virtual servers on a host as well, included in the guide above.
    ps. side note a CAS is not really necessary in most case if you don't have more than 100'000 clients, it adds a lot of complexity and I would avoid it if I could.
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • What are the settings for datasource and infopackage for flat file loading

    hI
    Im trying to load the data from flat file to DSO . can anyone tel me what are the settings for datasource and infopackage for flat file loading .
    pls let me know
    regards
    kumar

    Loading of transaction data in BI 7.0:step by step guide on how to load data from a flatfile into the BI 7 system
    Uploading of Transaction data
    Log on to your SAP
    Transaction code RSA1—LEAD YOU TO MODELLING
    1. Creation of Info Objects
    • In left panel select info object
    • Create info area
    • Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
    • Create new characteristics and key figures under respective catalogs according to the project requirement
    • Create required info objects and Activate.
    2. Creation of Data Source
    • In the left panel select data sources
    • Create application component(AC)
    • Right click AC and create datasource
    • Specify data source name, source system, and data type ( Transaction data )
    • In general tab give short, medium, and long description.
    • In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
    • In proposal tab load example data and verify it.
    • In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
    • Activate data source and read preview data under preview tab.
    • Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
    3. Creation of data targets
    • In left panel select info provider
    • Select created info area and right click to create ODS( Data store object ) or Cube.
    • Specify name fro the ODS or cube and click create
    • From the template window select the required characteristics and key figures and drag and drop it into the DATA FIELD and KEY FIELDS
    • Click Activate.
    • Right click on ODS or Cube and select create transformation.
    • In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
    • Activate created transformation
    • Create Data transfer process (DTP) by right clicking the master data attributes
    • In extraction tab specify extraction mode ( full)
    • In update tab specify error handling ( request green)
    • Activate DTP and in execute tab click execute button to load data in data targets.
    4. Monitor
    Right Click data targets and select manage and in contents tab select contents to view the loaded data. There are two tables in ODS new table and active table to load data from new table to active table you have to activate after selecting the loaded data . Alternatively monitor icon can be used.
    Loading of master data in BI 7.0:
    For Uploading of master data in BI 7.0
    Log on to your SAP
    Transaction code RSA1—LEAD YOU TO MODELLING
    1. Creation of Info Objects
    • In left panel select info object
    • Create info area
    • Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
    • Create new characteristics and key figures under respective catalogs according to the project requirement
    • Create required info objects and Activate.
    2. Creation of Data Source
    • In the left panel select data sources
    • Create application component(AC)
    • Right click AC and create datasource
    • Specify data source name, source system, and data type ( master data attributes, text, hierarchies)
    • In general tab give short, medium, and long description.
    • In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
    • In proposal tab load example data and verify it.
    • In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
    • Activate data source and read preview data under preview tab.
    • Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
    3. Creation of data targets
    • In left panel select info provider
    • Select created info area and right click to select Insert Characteristics as info provider
    • Select required info object ( Ex : Employee ID)
    • Under that info object select attributes
    • Right click on attributes and select create transformation.
    • In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
    • Activate created transformation
    • Create Data transfer process (DTP) by right clicking the master data attributes
    • In extraction tab specify extraction mode ( full)
    • In update tab specify error handling ( request green)
    • Activate DTP and in execute tab click execute button to load data in data targets.

  • Link for MSEG and EBELN for Mvt 541.

    HI,
    Actually I need link to get the mataerial document numbers against Sub contract Po for mvt 541.
    I need to develop a program to capture the material document nos against Subcontract PO and calucate reamain components against each po with respect to GR for that PO and line item.
    Please provide link for MSEG and EBELN link for mvt 541.
    Thanks
    Venkat

    Hi Venkat,
    Check EKBE table. U will find Material doc no corresponding to the PO no.
    Reagrds,
    Amitava

  • What are these files for ACCFinderBundleLoader_64 and ACCFinderBundleLoader_32? They appear in my Launchpad!

    What are these files for ACCFinderBundleLoader_64 and ACCFinderBundleLoader_32? They appear in my Launchpad!
    I am thinking to delete them because they disturb me when they have a place in the Launchpad among my applications.

  • Hi. Dear users. What about Web Browsers for Mac and IPhone 4S devices

    Hi. Dear users. What about Web Browsers for Mac and IPhone 4S devices?
    Test Labs: THG and something else.
    Thanks for responses and future responses.
    Big Thanks.

    "What about?" Both come with Safari as a Web Browser.
    Can you be a little more specific as to the information you are requesting?

  • What is going on for Ruby and RoR at OOW?

    http://db360.blogspot.com/2008/08/what-is-goign-on-for-php-and-ruby-on.html

    This is not a question! It's an announcement. :-)
    All too secret, eh ...
    http://blogs.oracle.com/opal/2008/09/setting_up_for_oracle_openworl.html
    I should have looked before I decided to fly in on Monday, oops ....

  • Appleworks does not work with mountain Lion.  What can I use for drawing and painting?

    Appleworks does not work with mountain Lion.  What can I use for drawing and painting?
    MacBook
    Marian

    Please see this article which examines various possible alternatives to AppleWorks:
    http://rfwilmut.net/aw

  • I need to reinstall lightroom what is the link for 5.5

    What is the link for lightroom 5.5 to download to a new harddrive?

    How to reinstall depends on whether you are using the Cloud-licensed LR which would be available in the CC Desktop apps list, or if you are using the serial-number-licensed LR, which can be downloaded from the Adobe updates page:
    http://www.adobe.com/downloads/updates
    Keep in mind that LR 5.6 was released overnight so LR 5.5 is no longer the newest version.

  • What does "played" mean for podcasts and tv shows?

    What does "played" mean for podcasts and tv shows, in terms of the settings menu where you say to synch only "unplayed" shows? Does it mean you started playing it, or that it has played all the way through?
    And how does this relate to the "dots" next to podcasts in the menu? These dots seem to go away when you start listening, but do not finish, a podcast. Is this the same as "played"?
    Thanks!

    You are probably seeing a USB cable under the iTunes icon. This means the Apple TV is having problems and needs to be connected to iTunes to be Restored. http://support.apple.com/kb/HT4367

Maybe you are looking for