OSX Location Services cannot be enabled on Mountain Lion/Mavericks - xcode

I had this problem since OS X Mountain Lion, and it remains after installing OS X Mavericks. When trying to use any App that requires my location, I am asked to enable Location Services. When I try to do so in System Preferences, I check the option and it immediately unchecks itself. (Note: I do have Wi-fi on).
The console reports the following, every time I try to check the option.
25/12/13 12:48:21.478 PM com.apple.preference.security.remoteservice[1595]: CoreLocation: CLInternalSetLocationServicesEnabled failed
Some users have attributed this problem to a faulty installation of iOS simulators via XCode. I have deleted XCode prior to the OS X Mavericks installation and it still does not work.
Does anyone have a clue of why this seems to happen?

Related

Error downloading Xcode on macOS

When I go to the Apple app store and tried to download I got the below response, can I get any idea how I can bypass this issue?
Xcode can’t be installed on “Macintosh HD” because macOS version
10.13.2 or later is required.
It seems like you have old OS X. Try to download from the internet Xcode 3/4/5.
https://www.appcoda.com/how-to-download-older-version-of-xcode/
Read this about older versions.
To check your OS X:
Go to the left top part of the screen.
Press "About This Mac". Now you see your OS X and can Google for suitable xCode version.
You are probably running Sierra or less, You need to update you Mac OS X into High Sierra in order to update and use the latest Xcode 9.3.
Note: You could be running High Sierra but make sure you update to the latest OS X Release from App Store > Updates Tap and make sure its all updated.

Build on El Capitan; test on Mountain Lion

A user is reporting a bug when running our Mac application on Mac OS X 8 (Mountain Lion). I can reproduce this with the shipping version. I'm trying to build a version for testing a fix, but I seem to be unable to run the debug version on Mountain Lion. The app is killed immediately and I see the following in the Console:
"killed [app ID] because its use of the com.apple.developer.aps-environment entitlement is not allowed"
In the Capabilities tab in Xcode we do not have Push Notifications on. If I look at the App ID in the portal, it has Push Notifications as "Configurable" but we don't have them enabled. Nevertheless, I have changed it to disabled.
After regenerating the provisioning profile, I still have the above error about the "com.apple.developer.aps-environment entitlement is not allowed".
This same build works fine when tested on Mac OS X 10.9, 10.10 and 10.11. I just can't run it on 10.8.
Anyone know what might be going on and how to fix this?

Mac OS X exported .app won't run

I am adding functionality to an existing OS X application. I can run the app within Xcode (6.1) just fine. However, when I archive the application, then click "Export...", then select "Export as a Mac Application" (I don't have an account to sign with), then try to run the resulting .app file, I get a problem report saying my app can't be opened because of a problem:
"Check with the developer to make sure MyApp works with this version of OS X. You may need to reinstall the application. Be sure to install any available updates for the application and OS X."
The base SDK of my project is 10.10. The OS X deployment target is also 10.10. My machine is running OS X 10.10. Anyone know what could be going wrong? Is my exporting procedure wrong? Any incite is much appreciated.

OS X 10.10 install can't verify (Registered developer)

Well this is embarassing...
I'm a college student with an apple developer's license.
I'm currently stuck in the CMD+R recovery partition.
I installed 10.10 successfully earlier today. Then I got the bright idea to format my drive and do a clean install of Yosemite. When I clicked the 'Reinstall OS X' button in the recovery screen I recieved a message telling me that my computer cannot be verified with apple. I'm guessing this is because the recovery drive cannot recognize or download/install my developer certs.
Any ideas on how I can fix this? I'd prefer to install 10.10 but I'll roll back to 10.9 if absolutely necessary.
EDIT:
I solved my problem by doing an internet recovery (Cmd+Opt+R at startup). From there I installed 10.8 and re-installed 10.10 from the mac app store.
If you downloaded it from the developer site, you should have went through redeeming a code step, then Yosemite should be in your purchased app list. Are you sure you are using the account you redeemed the code? If you get the image from someone else, you probably want to redeem the code from the developer center.
I was able to get a clean install by booting to an external Mountain Lion disk and running the installer from there. More info: http://themainthread.com/blog/2014/06/clean-install-yosemite.html
I solved my issue by re-installing 10.8 onto my main partition and updating to 10.10 from there.
Since apple has not released OS X Yosemite to the public they can't verify the software because the recovery mode disk utility is for non developers, the software is not in the apple system yet. You should just make a bootable usb and do a clean install of OS X Yosemite.
Items to try:
1) Repair Permissions (better if booted into Recovery HD)
2) Resync time with Apple's Servers via System Preferences
...if all else fails, you can nuke and pave, or create a bootable USB installer.

Cannot Upgrade Xcode App Crashes After IOS 7.0.3 Upgrade

I am in a world of pain so confused.
I have updated my ipad and iphone to ios7.
I have been developing with titanium mobile and when i open my project in xcode and trying to run on the device i now get this error.
No provisioned iOS devices are available with a compatible iOS
version. Connect an iOS device with a recent enough version of iOS to
run your application or choose an iOS simulator as the destination.
So after googling around i notice i am running xcode Version 4.6.3 (4H1503). So i thought i might need to be update.
So i went to the mac store found xcode and then clicked update, and i know get this error.
Xcode can’t be installed on “Macintosh HD” because Mac OS X version 10.8.4 or later is required.
So i done some more googling and now i am here all the links i find take me back to the app store where i get the above error.
Can someone please help, after updating to io7 version 7.0.3. My app now crashes so i need to debug on the device to find out why this is happen
Help
UPDATE
my mac is running Software Mac OS X Lion 10.7.5 (11G63) and when i click check for updates i get this alert.
Software Update doesn’t have any new software for your computer at this time.
You need to upgrade your mac to the OS X Mavericks. Click the Apple icon on the top left and select "App Store...". Search for "Mavericks". Click "Free upgrade" (yes it is free :-). After that you will be able to upgrade Xcode to 5.x release.

Resources