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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:44:34+00:00 2026-05-22T21:44:34+00:00

I’m trying to build a PhoneGap-based application using Xcode 4. Since there’s no PhoneGap

  • 0

I’m trying to build a PhoneGap-based application using Xcode 4. Since there’s no PhoneGap project template for Xcode 4, I used the handy web page to create the project. However, I’m getting the following error when I build:

Undefined symbols for architecture armv7:
  "_OBJC_METACLASS_$_PhoneGapDelegate", referenced from:
      _OBJC_METACLASS_$_TestAppDelegate in TestAppDelegate.o
  "_OBJC_CLASS_$_PhoneGapDelegate", referenced from:
      _OBJC_CLASS_$_TestAppDelegate in TestAppDelegate.o
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status

The bulk of the Cocoa Touch code for a PhoneGap app is built as a library called PhoneGapLib. The application project references the PhoneGapLib project and depends on and links with its product, PhoneGapLib.a. PhoneGapDelegate is defined in PhoneGapLib; TestAppDelegate is defined in the main project. I’ve set the Valid Architectures setting for both the main project and the PhoneGapLib project to “armv6 armv7 i386”.

I don’t know what’s causing the error above. Can anyone decipher it and tell me which build settings I should be looking at to resolve it?

I found a Google Groups thread in which the author solves a similar problem by using lipo to manually combine different builds of the library. I’d really like to avoid that step if possible — this seems like something that I should be able to accomplish with the right combination of build settings in the two projects.

Thanks for your help!

  • 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-22T21:44:34+00:00Added an answer on May 22, 2026 at 9:44 pm

    Although I still don’t know how to resolve the linker error described above, I was able to work around it by creating a new project using the web page linked above. I also downloaded PhoneGap 0.95, a 0.01 upgrade from my previous version. I don’t know which of these two actions fixed the problem, but I’m now able to build a PhoneGap app without the problem above. Also, someone pointed out that there are now some beta PhoneGap templates available for Xcode 4.

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

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
We're building an app, our first using Rails 3, and we're having to build
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
Seemingly simple, but I cannot find anything relevant on the web. What is the
I am trying to loop through a bunch of documents I have to put
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this

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.