安装iOSOpenDev失败。

下载的是iOSOpenDev-1.6-2.pkg的包,错误信息如下


May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: LSExceptions [0x7fc6c97071b0] loaded
May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: @(#)PROGRAM:Install PROJECT:Install-1000
May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: @(#)PROGRAM:Installer PROJECT:Installer-853 May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: Hardware: MacBookPro12,1 @ 2.70 GHz (x 4), 8192 MB RAM
May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: Running OS Build: Mac OS X 10.11.5 (15F34)
May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: Env: __CF_USER_TEXT_ENCODING=0x1F5:0x19:0x34
May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: Env:
tp12f_317vj_ggpl30ngcj9r0000gn/T/
May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: Env:
May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: Env:
May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: Env:
com.apple.launchd.2Dh0cMs4Cr/Listeners
May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: Env:
com.apple.launchd.WHbxxYDuXx/Render
May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: Env:
May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: Env:
May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: Env: XPC_SERVICE_NAME=com.apple.xpc.launchd.oneshot.0x1000001c.Installer
TMPDIR=/var/folders/j6/
Apple_PubSub_Socket_Render=/private/tmp/
Env: COMMAND_MODE=unix2003
Env: USER=Eonman
Env: XPC_FLAGS=0x0
iOSOpenDev (1.6-2) Installation Log Opened from: /Users/Eonman/Downloads/
May 27 15:18:34 EonmanMacBook-Pro Installer[31410]:
iOSOpenDev-1.6-2.pkg trustLevel=100
May 27 15:18:39 EonmanMacBook-Pro Installer[31410]:
May 27 15:18:41 EonmanMacBook-Pro Installer[31410]:
May 27 15:18:41 EonmanMacBook-Pro Installer[31410]: ================================================================================ May 27 15:18:41 EonmanMacBook-Pro Installer[31410]: User picked Standard Install
May 27 15:18:41 EonmanMacBook-Pro Installer[31410]: Choices selected for installation:
May 27 15:18:41 EonmanMacBook-Pro Installer[31410]:                         
May 27 15:18:41 EonmanMacBook-Pro Installer[31410]:                                        
May 27 15:18:41 EonmanMacBook-Pro Installer[31410]:
iOSOpenDev-1.6-2.pkg#iodsetup.pkg : com.iosopendev.iosopendev162.iod-setup.pkg : 1.0
May 27 15:18:41 EonmanMacBook-Pro Installer[31410]:                                              
May 27 15:18:41 EonmanMacBook-Pro Installer[31410]:
iOSOpenDev-1.6-2.pkg#ioduninstall.pkg : com.iosopendev.iosopendev162.iod-uninstall.pkg : 1.0 May 27 15:18:41 EonmanMacBook-Pro Installer[31410]: ================================================================================ May 27 15:18:41 EonmanMacBook-Pro Installer[31410]: It took 0.00 seconds to summarize the package selections.
May 27 15:18:41 EonmanMacBook-Pro Installer[31410]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
May 27 15:18:41 EonmanMacBook-Pro Installer[31410]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/Eonman/Downloads/iOSOpenDev-1.6-2.pkg#iodsetup.pkg May 27 15:18:41 EonmanMacBook-Pro Installer[31410]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/Eonman/Downloads/ iOSOpenDev-1.6-2.pkg#ioduninstall.pkg
May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: May 27 15:18:34 EonmanMacBook-Pro Installer[31410]: iOSOpenDev-1.6-2.pkg
May 27 15:18:42 EonmanMacBook-Pro May 27 15:18:42 EonmanMacBook-Pro May 27 15:18:42 EonmanMacBook-Pro May 27 15:18:42 EonmanMacBook-Pro May 27 15:18:42 EonmanMacBook-Pro May 27 15:18:42 EonmanMacBook-Pro May 27 15:18:42 EonmanMacBook-Pro (63542071296 bytes).
Installer[31410]: Set authorization level to root for session Installer[31410]: Will use PK session
Installer[31410]: Using authorization level of root for IFPKInstallElement Installer[31410]: Starting installation:
Installer[31410]: Configuring volume "Macintosh HD" Installer[31410]: Preparing disk for local booted install. Installer[31410]: Free space on "Macintosh HD": 63.54 GB
May 27 15:18:42 EonmanMacBook-Pro tp12f_317vj_ggpl30ngcj9r0000gn/T//Install.31410MSFdsK"
HOME=/Users/Eonman SHELL=/bin/bash SSH_AUTH_SOCK=/private/tmp/
PATH=/usr/bin:/bin:/usr/sbin:/sbin LOGNAME=Eonman
Product archive /Users/Eonman/Downloads/
InstallerStatusNotifications plugin loaded Administrator authorization granted.
Installer[31410]: Create temporary directory "/var/folders/j6/
May 27 15:18:42 EonmanMacBook-Pro Installer[31410]: IFPKInstallElement (2 packages)
May 27 15:18:42 EonmanMacBook-Pro installd[289]: PackageKit: Adding client PKInstallDaemonClient pid=31410, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
May 27 15:18:42 EonmanMacBook-Pro Installer[31410]: PackageKit: Enqueuing install with framework- specified quality of service (utility)
May 27 15:18:42 EonmanMacBook-Pro installd[289]: PackageKit: ----- Begin install -----
May 27 15:18:42 EonmanMacBook-Pro installd[289]: PackageKit: request=PKInstallRequest <2 packages, destination=/>
May 27 15:18:42 EonmanMacBook-Pro installd[289]: PackageKit: packages=(
"PKLeopardPackage <file://localhost/Users/Eonman/Downloads/iOSOpenDev-1.6-2.pkg#iodsetup.pkg>",
"PKLeopardPackage <file://localhost/Users/Eonman/Downloads/ iOSOpenDev-1.6-2.pkg#ioduninstall.pkg>"
)
May 27 15:18:42 EonmanMacBook-Pro installd[289]: PackageKit: Extracting file://localhost/Users/Eonman/ Downloads/iOSOpenDev-1.6-2.pkg#iodsetup.pkg (destination=/var/folders/zz/ zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/C1EAC719-E4D8-49DD- A30D-8772233BCFB4.activeSandbox/Root/opt/iOSOpenDevSetup/bin, uid=0)
May 27 15:18:42 EonmanMacBook-Pro installd[289]: PackageKit: Extracting file://localhost/Users/Eonman/ Downloads/iOSOpenDev-1.6-2.pkg#ioduninstall.pkg (destination=/var/folders/zz/ zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/C1EAC719-E4D8-49DD- A30D-8772233BCFB4.activeSandbox/Root/opt/iOSOpenDevUninstall/bin, uid=0)
May 27 15:18:42 EonmanMacBook-Pro installd[289]: PackageKit: prevent user idle system sleep
May 27 15:18:42 EonmanMacBook-Pro installd[289]: PackageKit: suspending backupd
May 27 15:18:42 EonmanMacBook-Pro installd[289]: PackageKit: Executing script "./preinstall" in /private/tmp/ PKInstallSandbox.X2MuqF/Scripts/com.iosopendev.iosopendev162.iod-setup.pkg.h4uCxh
May 27 15:18:42 EonmanMacBook-Pro installd[289]: PackageKit: Executing script "./preinstall" in /private/tmp/ PKInstallSandbox.X2MuqF/Scripts/com.iosopendev.iosopendev162.iod-uninstall.pkg.XCVee9
May 27 15:18:42 EonmanMacBook-Pro install_monitor[31413]: Temporarily excluding: /Applications, /Library, / System, /bin, /private, /sbin, /usr
May 27 15:18:42 EonmanMacBook-Pro installd[289]: PackageKit: Using trashcan path /var/folders/zz/ zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/C1EAC719-E4D8-49DD- A30D-8772233BCFB4.sandboxTrash for sandbox /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/ PKInstallSandboxManager/C1EAC719-E4D8-49DD-A30D-8772233BCFB4.activeSandbox
May 27 15:18:42 EonmanMacBook-Pro installd[289]: PackageKit: Shoving /var/folders/zz/ zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/C1EAC719-E4D8-49DD- A30D-8772233BCFB4.activeSandbox/Root (1 items) to /
May 27 15:18:42 EonmanMacBook-Pro installd[289]: PackageKit: Executing script "./postinstall" in /private/tmp/ PKInstallSandbox.X2MuqF/Scripts/com.iosopendev.iosopendev162.iod-setup.pkg.h4uCxh
May 27 15:18:42 EonmanMacBook-Pro installd[289]: ./postinstall: Running /opt/iOSOpenDevSetup/bin/iod- setup...
May 27 15:18:42 EonmanMacBook-Pro installd[289]: ./postinstall: Downloading iOSOpenDev base from Github...
May 27 15:18:44 EonmanMacBook-Pro Installer[31410]: LSExceptions [0x7fc6c97071b0] unloaded
May 27 15:19:12 EonmanMacBook-Pro installd[289]: ./postinstall: Downloading Xcode templates from Github... May 27 15:19:27 EonmanMacBook-Pro installd[289]: ./postinstall: Creating symlink to Xcode templates...
May 27 15:19:27 EonmanMacBook-Pro installd[289]: ./postinstall: Modifying Bash personal initialization file... May 27 15:19:28 EonmanMacBook-Pro installd[289]: ./postinstall: Setting up iPhoneOS 9.3 SDK...
May 27 15:19:28 EonmanMacBook-Pro installd[289]: ./postinstall: Modifying SDK settings...
May 27 15:19:29 EonmanMacBook-Pro installd[289]: ./postinstall: Symlinking to private frameworks header files...
May 27 15:19:29 EonmanMacBook-Pro installd[289]: ./postinstall: PrivateFramework directory not found: / Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/ System/Library/PrivateFrameworks
May 27 15:19:29 EonmanMacBook-Pro install_monitor[31413]: Re-included: /Applications, /Library, /System, / bin, /private, /sbin, /usr
May 27 15:19:30 EonmanMacBook-Pro installd[289]: PackageKit: releasing backupd
May 27 15:19:30 EonmanMacBook-Pro installd[289]: PackageKit: allow user idle system sleep
May 27 15:19:30 EonmanMacBook-Pro installd[289]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "                                    
                                                                                                                                                                                                                                                         
NSFilePath = "./postinstall";
NSLocalizedDescription = "\U8fd0\U884c\U8f6f\U4ef6\U5305\U201ciOSOpenDev-1.6-2.pkg\U201d \U7684\U811a\U672c\U65f6\U51fa\U9519\U3002";
NSURL = "file://localhost/Users/Eonman/Downloads/iOSOpenDev-1.6-2.pkg#iodsetup.pkg";
PKInstallPackageIdentifier = "com.iosopendev.iosopendev162.iod-setup.pkg"; }
May 27 15:19:30 EonmanMacBook-Pro installd[289]: PackageKit: Running idle tasks
May 27 15:19:30 EonmanMacBook-Pro Installer[31410]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "                                                                                                                                                                                                                                                                                            
May 27 15:19:30 EonmanMacBook-Pro installd[289]: PackageKit: Removing client PKInstallDaemonClient pid=31410, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
May 27 15:19:30 EonmanMacBook-Pro installd[289]: PackageKit: Done with sandbox removals
May 27 15:19:30 EonmanMacBook-Pro Installer[31410]: Install failed:                                  
May 27 15:19:30 EonmanMacBook-Pro Installer[31410]: IFDInstallController C941D4F0 state = 8
May 27 15:19:30 EonmanMacBook-Pro Installer[31410]: Displaying 'Install Failed' UI.
May 27 15:19:30 EonmanMacBook-Pro Installer[31410]: 'Install Failed' UI displayed message:'                                   


系统信息

  • 系统版本: OS X 10.11.5 (15F34)
  • Xcode Version 7.3.1 (7D1014)

安装前准备工作:

  • 1.下载xcode-license 执行./xcode-license 等操作;
  • 2.安装MacPorts 更新到最新版;
  • 3.安装dpkg;
  • 4.执行system_profiler SPDeveloperToolsDataType 并修改相应路径;
  • 5./Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Specifications
  • /Applications/Xcode.app/Content/Developer/Platforms/IphoneOS.platform/Developer/Library/Xcode/Specifications
  • /Applications/Xcode.app/Content/Developer/Platforms/iPhoneSimulator.platform/Developer/
  • 这几个路径下也添加了相应文件;
  • 结果还是安装不成功。

log里面有两个线索

May 27 15:19:29 EonmanMacBook-Pro installd[289]: ./postinstall: PrivateFramework directory not found: / Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/ System/Library/PrivateFrameworks
May 27 15:19:30 EonmanMacBook-Pro installd[289]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "                                    
                                                                                                                                                                                                                                                         
NSFilePath = "./postinstall";
NSLocalizedDescription = "\U8fd0\U884c\U8f6f\U4ef6\U5305\U201ciOSOpenDev-1.6-2.pkg\U201d \U7684\U811a\U672c\U65f6\U51fa\U9519\U3002";
NSURL = "file://localhost/Users/Eonman/Downloads/iOSOpenDev-1.6-2.pkg#iodsetup.pkg";
PKInstallPackageIdentifier = "com.iosopendev.iosopendev162.iod-setup.pkg"; }

Google 百度 大量资料之后还是不成功,求各位前辈指导

搞了一天,没成功过;打开Xcode居然出现了iOSOpenDev…