Error Installing iPhone SDK Public Beta

445
5
05-05-2010 07:12 AM
MapEnglish
Occasional Contributor
I tried doing the installation of the public beta and it failed with a message like ??????the installer encountered problems, contact manufacturer?????? I had a previous version of the SDK installed. How do I uninstall the previous version of the SDK?

Thanks,
Matt English
0 Kudos
5 Replies
DiveshGoyal
Esri Regular Contributor
Sorry to hear you're having problems installing the beta. Having the previous version installed shouldn't pose any problems, the new install should overwrite the files.

However, it'll be great if you could uninstall the previous version and let us know if that was causing the problem. The uninstall script is located at ~/Library/Application Support/AGSiPhoneSDK

_
Divesh
0 Kudos
MapEnglish
Occasional Contributor
Just ran the script, re-ran the install and it still gives the same error
0 Kudos
MapEnglish
Occasional Contributor
Just tried re-installing the Initial Beta and it works perfectly! Something must be up with the new Public Beta install.
0 Kudos
MapEnglish
Occasional Contributor
Re-downloaded the installer and it works. It's possible the original download was corrupted by my browser(IE 8). Thanks guys for working with me on this.
0 Kudos
ChanceYohman
New Contributor
/var/log/install.log is the place to look for installation errors. It's how I figured out that the March 20, 2010 beta release didn't like the existence of my MapViewDemo sample files. I moved them and the installer worked.

The log message will look similar to:
Apr 13 09:58:46 MBP Installer[476]: @(#)PROGRAM:Install  PROJECT:Install-580
Apr 13 09:58:46 MBP Installer[476]: @(#)PROGRAM:Installer  PROJECT:Installer-430.1
Apr 13 09:58:46 MBP Installer[476]: Hardware: MacBookPro5,1 @ 2.66 GHz (x 2), 4096 MB RAM
Apr 13 09:58:46 MBP Installer[476]: Running OS Build: Mac OS X 10.6.3 (10D573)
Apr 13 09:58:46 MBP Installer[476]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
Apr 13 09:58:46 MBP Installer[476]: Env: TMPDIR=/var/folders/XS/XStbXdJHFWO9xTD+2gBHUE+++TI/-Tmp-/
Apr 13 09:58:46 MBP Installer[476]: Env: SHELL=/bin/bash
Apr 13 09:58:46 MBP Installer[476]: Env: HOME=/Users/kmonroe
Apr 13 09:58:46 MBP Installer[476]: Env: USER=kmonroe
Apr 13 09:58:46 MBP Installer[476]: Env: LOGNAME=kmonroe
Apr 13 09:58:46 MBP Installer[476]: Env: DISPLAY=/tmp/launch-EyAw8E/org.x:0
Apr 13 09:58:46 MBP Installer[476]: Env: SSH_AUTH_SOCK=/tmp/launch-4u97UD/Listeners
Apr 13 09:58:46 MBP Installer[476]: Env: Apple_PubSub_Socket_Render=/tmp/launch-l8gUzy/Render
Apr 13 09:58:46 MBP Installer[476]: Env: __CF_USER_TEXT_ENCODING=0x1F5:0:0
Apr 13 09:58:46 MBP Installer[476]: Env: COMMAND_MODE=unix2003
Apr 13 09:58:46 MBP Installer[476]: AGSiPhoneSDK_03122010  Installation Log
Apr 13 09:58:46 MBP Installer[476]: Opened from: /Users/kmonroe/Downloads/AGSiPhoneSDK.pkg
Apr 13 09:59:00 MBP Installer[476]: ================================================================================
Apr 13 09:59:00 MBP Installer[476]: User picked Standard Install
Apr 13 09:59:00 MBP Installer[476]: Choices selected for installation:
Apr 13 09:59:00 MBP Installer[476]: Upgrade: "AGSiPhoneSDK_03122010"
Apr 13 09:59:00 MBP Installer[476]: Upgrade: "SDK"
Apr 13 09:59:00 MBP Installer[476]: AGSiPhoneSDK.pkg#packageroot.pkg : com.esri.arcgisiphonesdk.pkg : 1
Apr 13 09:59:00 MBP Installer[476]: ================================================================================
Apr 13 09:59:00 MBP Installer[476]: It took 0.00 seconds to summarize the package selections.
Apr 13 09:59:00 MBP Installer[476]: -[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost
Apr 13 09:59:00 MBP Installer[476]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Users/kmonroe/Downloads/AGSiPhoneSDK.pkg#packageroot.pkg
Apr 13 09:59:00 MBP Installer[476]: Will use PK session
Apr 13 09:59:00 MBP Installer[476]: Starting installation:
Apr 13 09:59:00 MBP Installer[476]: Configuring volume "Macintosh HD"
Apr 13 09:59:00 MBP Installer[476]: Preparing disk for local booted install.
Apr 13 09:59:00 MBP Installer[476]: Free space on "Macintosh HD": 174.76 GB (174757707776 bytes).
Apr 13 09:59:00 MBP Installer[476]: Create temporary directory "/var/folders/XS/XStbXdJHFWO9xTD+2gBHUE+++TI/-Tmp-//Install.476GUGGcd"
Apr 13 09:59:00 MBP Installer[476]: IFPKInstallElement (1 packages)
Apr 13 09:59:00 MBP installd[481]: PackageKit: ----- Begin install -----
Apr 13 09:59:00 MBP installd[481]: PackageKit: request=PKInstallRequest <1 packages, destination=/Users/kmonroe>
Apr 13 09:59:00 MBP installd[481]: PackageKit: packages=(\n    "PKLeopardPackage <file://localhost/Users/kmonroe/Downloads/AGSiPhoneSDK.pkg#packageroot.pkg>"\n)
Apr 13 09:59:00 MBP installd[481]: PackageKit: Extracting /Users/kmonroe/Downloads/AGSiPhoneSDK.pkg (destination=/var/folders/XS/XStbXdJHFWO9xTD+2gBHUE+++TI/-Tmp-/PKInstallSandbox-tmp/Root, uid=501)
Apr 13 09:59:01 MBP installd[481]: PackageKit: Executing script "./preinstall" in /private/tmp/PKInstallSandbox.c5fnlo/Scripts/com.esri.arcgisiphonesdk.pkg.oCyQPd
Apr 13 09:59:01 MBP installd[481]: ./preinstall: This is the preflight
Apr 13 09:59:01 MBP installd[481]: PackageKit: Shoving /var/folders/XS/XStbXdJHFWO9xTD+2gBHUE+++TI/-Tmp-/PKInstallSandbox-tmp/Root (1 items) to /Users/kmonroe
Apr 13 09:59:01 MBP /System/Library/PrivateFrameworks/PackageKit.framework/Resources/shove[483]: [source=file] failed _RelinkFile(/var/folders/XS/XStbXdJHFWO9xTD+2gBHUE+++TI/-Tmp-/PKInstallSandbox-tmp/Root/Library/SDKs/Samples/MapViewDemo/Classes/MapViewDemoViewController.m, /Users/kmonroe/Library/SDKs/Samples/MapViewDemo/Classes/MapViewDemoViewController.m): Operation not permitted
Apr 13 09:59:01 MBP installd[481]: PackageKit: Install Failed: (null)\nError Domain=PKInstallErrorDomain Code=120 UserInfo=0x100310b40 "An unexpected error occurred while moving files to the final destination." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=1 "The operation couldn�??t be completed. Operation not permitted") {\n    NSLocalizedDescription = "An unexpected error occurred while moving files to the final destination.";\n    NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=1 \"The operation couldn\U2019t be completed. Operation not permitted\"";\n    arguments =     (\n        "-f",\n        "-s",\n        "/var/folders/XS/XStbXdJHFWO9xTD+2gBHUE+++TI/-Tmp-/PKInstallSandbox-tmp/Root",\n        "/Users/kmonroe"\n    );\n}
Apr 13 09:59:01 MBP Installer[476]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=120 UserInfo=0x100187120 "An unexpected error occurred while moving files to the final destination." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=1 "The operation couldn�??t be completed. Operation not permitted")
Apr 13 09:59:01 MBP Installer[476]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Apr 13 09:59:01 MBP Installer[476]: IFDInstallController 14FAE0 state = 7
Apr 13 09:59:01 MBP Installer[476]: Displaying 'Install Failed' UI.
Apr 13 09:59:01 MBP Installer[476]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.
0 Kudos