-
Notifications
You must be signed in to change notification settings - Fork 282
Troubleshoot
This article will help you self-troubleshoot iOSOpenDev-specific issues you may encounter.
Problem: Installer fails with:
Resolution:
1. Press ⌘L to view log
2. Select Show All Errors Logs
3. Scroll to the bottom of log to see why the installer failed.
4. Do something about it.
Problem: Installer fails with:
installd: ./postinstall: Error: No developer directory found at /Developer. Run /usr/bin/xcode-select to update the developer directory path.
Resolution:
1. In Terminal, run: system_profiler SPDeveloperToolsDataType
2. From the output, use the Location value and in Terminal, run: sudo xcode-select -switch (the-location-outputted)
3. Re-run the iOSOpenDev Installer.
Problem: Installer fails with the following in the log:
installd: ./postinstall: You have not agreed to the Xcode license agreements, please run xcodebuild standalone from within a Terminal window to review and agree to the Xcode license agreements.
Resolution:
1. Download https://github.com/downloads/kokoabim/iOSOpenDev/xcode-license.tar.gz and extract xcode-license
out of it.
2. Open Terminal, go to the directory where the file was extracted to and run: ./xcode-license
Problem: Installer fails with the following in the log:
installd: ./postinstall: Unable to locate dpkg-deb. Make sure it is installed and in the PATH. If it is not installed then use MacPorts to install it by typing `sudo port -f install dpkg` in Terminal. If MacPorts is not installed, download it from http://www.macports.org/ and install it and install dpkg. Then re-run the iOSOpenDev Installer.
Resolution: Install dpkg (follow dpkg wiki article)
1. View installer log as described above.
2. Select all the text in the log and copy it.
3. Email copied text to dev@iosopendev.com.
Problem: Build fails in Xcode with the following in the build message:
Building package /Users/chucknorris/Foo/Packages/Foo_1.0_iphoneos-arm.deb...
/opt/iOSOpenDev/bin/iosod: line 644: 37836 Trace/BPT trap: 5 "$dpkgdebPath" -b "$packageDir" "$packageFileName" >&/dev/null
Failed.
Command /bin/sh failed with exit code 133
Resolution: Use MacPort’s dpkg not Fink’s.