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 6928129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:08:39+00:00 2026-05-27T11:08:39+00:00

I have a view based iPhone project which performs some animations & suchlike, Seperately

  • 0

I have a view based iPhone project which performs some animations & suchlike, Seperately I have a C based command line tool project which I use to do some calculations.

I want to integrate the two, so that I can call my C based calculations function at a certain point in my original iPhone project.

The command line tool project is in the form of 2 files, calculations.pch & calculations.m.

I tried to add a new file to my original class & simply copy in the 2 new files (& importing calculations.pch in the View Controller) but upon building I get the error:

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

Any suggestions? thanks in advance!

The .pch is quite sparse & looks like this:

//
// Prefix header for all source files of the 'Tester' target in the 'Tester' project.
//

#ifdef __OBJC__
#import <Foundation/Foundation.h>
#endif
  • 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-27T11:08:40+00:00Added an answer on May 27, 2026 at 11:08 am

    Simply remove the .pch file from your project, as the same .pch is already compiled with an iPhone project by default. If that fails, you can always just copy-paste your functions into a new file in your iPhone project.

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

Sidebar

Related Questions

I'm new to iphone development.I have practiced some view based application programs and console
I am new to iPhone development, i have used view based application in which
In my iPhone project, I have a common date editing view which features a
I have created an iPhone application based on an OpenGL view. Now I would
I have developed a view based project in Xcode. It is successfully running in
I have an view in my App which has a number of buttons based
I am new to iphone development.I have created a view based application.Now i want
I have a view-based iOS cocoa touch application built and is running on iPhone.
I have a navigation based iPhone app, and I want to load a view
I have an iPhone project that starts out with a standard UIView based Window...

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.