theos errors

錯(cuò)誤為收集而來,如有侵權(quán),請(qǐng)聯(lián)系本人

- make 錯(cuò)誤

Error: You do not have an SDK in
/Library/Developer/CommandLineTools/Platforms/iPhoneOS.platform/Developer/SDKs
  • 這個(gè)問題是因?yàn)槎鄠€(gè) Xcode路徑導(dǎo)致 (有可能安裝了好幾個(gè)Xcode)
$ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/

- make package 錯(cuò)誤

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
  • 這個(gè)問題是因?yàn)榇虬鼔嚎s方式有問題,改成gzip壓縮方式即可

1.修改dm.pl文件,用"#"號(hào)注釋掉下面兩句

$ 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)建軟件包名時(shí),命名不規(guī)范導(dǎo)致
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • 一、介紹及安裝 1.簡(jiǎn)介 Theos是一個(gè)越獄開發(fā)包。與其它工具相比,它的特點(diǎn)就是簡(jiǎn)單:下載安裝簡(jiǎn)單、Logos語...
    華南虎閱讀 11,169評(píng)論 5 52
  • error code(錯(cuò)誤代碼)=0是操作成功完成。error code(錯(cuò)誤代碼)=1是功能錯(cuò)誤。error c...
    Heikki_閱讀 3,538評(píng)論 1 9
  • 工具 class-dump 用來提取已經(jīng)砸過殼的 app 的頭文件 下載地址 http://stevenygard...
    輝g_9274閱讀 2,807評(píng)論 1 7
  • Spring Cloud為開發(fā)人員提供了快速構(gòu)建分布式系統(tǒng)中一些常見模式的工具(例如配置管理,服務(wù)發(fā)現(xiàn),斷路器,智...
    卡卡羅2017閱讀 136,568評(píng)論 19 139
  • 總想干點(diǎn)什么 可又害怕一個(gè)人 總怕做不好,沒有能力 很多事情還未踏出第一步,就趕緊收腳 有太多的借口,顧慮 總是擔(dān)...
    小蝸牛Tina閱讀 298評(píng)論 0 0

友情鏈接更多精彩內(nèi)容