Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6175573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:56:53+00:00 2026-05-23T23:56:53+00:00

I have created a new project in Xcode and performed the following to add

  • 0

I have created a new project in Xcode and performed the following to add ASIHTTPRequest:

  • Copied these files into the main project folder

    • ASIHTTPRequestConfig.h
    • ASIHTTPRequestDelegate.h
    • ASIProgressDelegate.h
    • ASICacheDelegate.h
    • ASIHTTPRequest.h
    • ASIHTTPRequest.m
    • ASIDataCompressor.h
    • ASIDataCompressor.m
    • ASIDataDecompressor.h
    • ASIDataDecompressor.m
    • ASIFormDataRequest.h
    • ASIInputStream.h
    • ASIInputStream.m
    • ASIFormDataRequest.m
    • ASINetworkQueue.h
    • ASINetworkQueue.m
    • ASIDownloadCache.h
    • ASIDownloadCache.m
    • ASIAuthenticationDialog.h
    • ASIAuthenticationDialog.m
    • Reachability.h (in the External/Reachability folder)
    • Reachability.m (in the External/Reachability folder)
  • I have then dragged those files onto the right side of the project window

  • I then go, Project -> Edit Active Target, click the + button, and [problem 1] “CFNetwork.framework”” is not there?

I now want to add a new view controller and make the following code work;

NSURL *url = [NSURL URLWithString:[[NSString stringWithFormat:@"http://www.mywebsite.com/script.php?first_name=%@",first_name] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:url];
[request startSynchronous];
NSError *error = [request error];
NSString *response = nil;
if (!error) {

    response = [request responseString];

    NSLog(@"%@",response);

} else {

    return NO;

}
  • I add a new UIViewController Subclass file
  • I insert the code as above and [problem 2] it says that ‘first_name’ is undefined and a bunch of other errors.

How can I go about resolving both issues? And is there anything I am doing wrong which will hinder this from working as I expect? (Posting a variable to a PHP file, using a textfield and submit button)

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:56:53+00:00Added an answer on May 23, 2026 at 11:56 pm

    I assume you are using Xcode4.

    Click Project in project navigator.
    Project -> Select Target -> Select Build phases -> Expand Link Binary with Libraries -> Click +. You will find the framework.

    And you have not declared the variable first_name.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a new iPhone project in Xcode 4 and added some files
For a new project I have created a local folder tree with empty Visual
I have created the following project structure for my new asp.net mvc project any
I have started a new project from salesforce template o XCODE, then I created
I have created a new Xcode project using Storyboards (tab view template). I added
I have just created a new project in VS2010 using the Visual c# >
Hi I have created a new azure project with a worker role and have
I have created a new method in one of the project's controllers that it
I am new in flex.I have created dynamic web project. Run it. It accessible
I have created a new KeyListener, defined as following: ... public void keyTyped(KeyEvent arg0)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.