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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:31:01+00:00 2026-05-31T06:31:01+00:00

This is a copy of another question from AskDifferent , since I’m being adviced

  • 0

This is a copy of another question from AskDifferent, since I’m being adviced to put this question here instead.


This has been asked once elsewhere but nobody could give the guy an answer… and I Google seem to only know that single occurrence of the problem!

So I’m the second guy in history to experience this and my problem is:

  • I’m running XCode 3.2.3 on Snow Leopard 10.6.4 (I think, it’s the minimal required OS version for this XCode version) with iOS SDK 4.0.2
  • I create a new empty Cordoba (PhoneGap) project
  • I set up my Base SDK in Project Settings to iPhone Simulator 4.0 per instructions on PhoneGap’s website
  • I don’t change any other setting at all
  • when I hit “Build and Run” button, XCode starts compilation and finished with 3 errors and 10 warnings

Now, I don’t mind those warning, but I cannot successfully compile because of those 3 errors now. No idea how to fix this, I’m totally new to PhoneGap or Mac OS for that matter.

The errors I get are:

/Users/[name]/Documents/CordovaLib/Classes/CDVLocation.m:123:32 /Users/[name]/Documents/CordovaLib/Classes/CDVLocation.m:123:32: error: use of undeclared identifier 'kCLAuthorizationStatusAuthorized'
/Users/[name]/Documents/CordovaLib/Classes/CDVCapture.m:783:70 /Users/[name]/Documents/CordovaLib/Classes/CDVCapture.m:783:70: error: use of undeclared identifier 'NSEC_PER_MSEC'
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1

I would appreciate any advice from you guys, as I’m completely at a dead-end here.

  • 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-31T06:31:02+00:00Added an answer on May 31, 2026 at 6:31 am

    CLAuthorizationStatus, and thus kCLAuthorizationStatusAuthorized are only available in 4.2 and later.

    Check this for more info: https://developer.apple.com/library/ios/#documentation/CoreLocation/Reference/CLLocationManager_Class/CLLocationManager/CLLocationManager.html#//apple_ref/c/econst/kCLAuthorizationStatusAuthorized

    As to your other error, google pulls up this: How to resolve Phonegap error while Building the app

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

Sidebar

Related Questions

This question has been asked here in one form or another but not quite
I'm sure this question has already been asked in one form or another, but
I developed one asp.net application then copy this application and put on another machine
This is inspired by Does File.Copy() from a network share to another share on
Edit: From another question I provided an answer that has links to a lot
I have been using this copy method for quite a while, in lots of
I tried to copy this example from this Multiprocessing lecture by jesse noller (as
Hey, I'm struggling to copy the Primary Key to another field in Access. This
I wrote an OutputIterator for an answer to another question . Here it is:
Following this question I decided to use ffmpeg to crop MP3s. On another question

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.