錯誤為收集而來,如有侵權(quán),請聯(lián)系本人
- make 錯誤
Error: You do not have an SDK in
/Library/Developer/CommandLineTools/Platforms/iPhoneOS.platform/Developer/SDKs
- 這個問題是因?yàn)槎鄠€ Xcode路徑導(dǎo)致 (有可能安裝了好幾個Xcode)
$ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/
- make package 錯誤
Error Code 2
Can't locate IO/Compress/Lzma.pm in @INC (you may need to install the
IO::Compress::Lzma module) (@INC contains: /Library/Perl/5.18/darwin-
thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-
thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2
/System/Library/Perl/5.18/darwin-thread-multi-2level
/System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-
multi-2level /System/Library/Perl/Extras/5.18 .) at
/Users/mj/theos/bin/dm.pl line 12.
BEGIN failed--compilation aborted at /Users/mj/theos/bin/dm.pl line 12.
make: *** [internal-package] Error 2
- 這個問題是因?yàn)榇虬鼔嚎s方式有問題,改成gzip壓縮方式即可
1.修改dm.pl文件,用"#"號注釋掉下面兩句
$ vim $THEOS/vendor/dm.pl/dm.pl
#use IO::Compress::Lzma;
#use IO::Compress::Xz;
2.修改deb.mk文件第6行的壓縮方式為gzip
$ vim $THEOS/makefiles/package/deb.mk
_THEOS_PLATFORM_DPKG_DEB_COMPRESSION ?= gzip
Error Code 255
$ make package
ERROR: package name has characters that aren't lowercase alphanums or '-+.'.
make: *** [internal-package] Error 255
- 軟件包的名字Bundle ID含有不是小寫字母或 -+ 的字符
創(chuàng)建軟件包名時,命名不規(guī)范導(dǎo)致