多個xcode線程在跑,殺掉xcode, 殺掉xcodebuild進程 , clean
環境:
mac 10.14.5
xcode 10.3
報錯: Command Codesign failed with a nonzero exit code… The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read
背景: 更換了provision file, 導致WebdriverAgetnLib codesign失敗。而使用xcode IDE 運行是沒問題的。
解決: 重啟MAC。 猜測, 可能系統有關, xcodebuild命令執行時沒有對變動后的描述文件識別,遲鈍,未生效。
library no loaded.
No suitable image found
背景:更改了bundleid和provision file。 xcode IDE 運行WDA正常, xcodebuild 命令行報錯。
解決: 對WebDriverAgentLib的info.plist 設置bundleid與WebDriverAgentRunner一致,且 product bundle identifier也一致,不要空著。 code signing identity – Debug – Any ios sdk指定為具體的iphone developer: who (xxxx)
第一種方法:
go to window-devices and simulators
select the unrunable device and right click, then choose unpair
now this is the crucial part, your device will ask for trust automatically, dont click trust
focus back to the device panel, left click the + and add the device, click next, it will ask you to tap the “trust” IN THE PANEL
now you can tap the “trust” in your phone, the panel will say phone added successfully
第二種方法:
go to ~/Library/Developer/Xcode/iOS DeviceSupport/13.2/Symbols/System/Library/Caches/com.apple.dyld
create empty file if it is not there – .processed_dyld_shared_cache_arm64e
restart xcode and enjoy!
第三種方法:
unpair device (like carusd.ljt did), quit xcode
delete /Users/{username}/Library/Developer/Xcode/iOS DeviceSupport folder
rerun xcode, reconnect iphone, wait for it prepared, run the app.
如果只是單個手機連不上,顯示該錯誤。 去到/var/db/lockdown,看下有沒有該手機的.plist,沒有則從其他連過該手機的Mac電腦該目錄下拷貝過來。解決。
如果所有手機都連不上, 卸載升級重裝libimobileservice
brew uninstall ideviceinstaller -g
brew uninstall libimobiledevice -g
brew install –HEAD libimobiledevice -g
brew install ideviceinstaller -g
sudo chmod -R 777 /var/db/lockdown
編譯usbmuxd源碼,執行 ./autogen.sh 報錯
checking for libplist >= 1.11... no
configure: error: Package requirements (libplist >= 1.11) were not met:
No package 'libplist' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables libplist_CFLAGS
and libplist_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
可以在終端輸入
export libplist_LIBS=/usr/local/opt/libplist/lib/libplist-2.0.dylib
export libplist_CFLAGS=/usr/local/opt/libplist/lib/libplist-2.0.a
或者在.bash_profile里配置
然后再執行./autogen.sh
本文由 貴州做網站公司 整理發布,部分圖文來源于互聯網,如有侵權,請聯系我們刪除,謝謝!
網絡推廣與網站優化公司(網絡優化與推廣專家)作為數字營銷領域的核心服務提供方,其價值在于通過技術手段與策略規劃幫助企業提升線上曝光度、用戶轉化率及品牌影響力。這...
在當今數字化時代,公司網站已成為企業展示形象、傳遞信息和開展業務的重要平臺。然而,對于許多公司來說,網站建設的價格是一個關鍵考量因素。本文將圍繞“公司網站建設價...
在當今的數字化時代,企業網站已成為企業展示形象、吸引客戶和開展業務的重要平臺。然而,對于許多中小企業來說,高昂的網站建設費用可能會成為其發展的瓶頸。幸運的是,隨...
開發一個app有多難?先說一點,我是前端工程師,所以開發app使用的是H5的東西,不是原生安卓和IOS,當然還有個很火熱的Flutter,雖然沒完全投入使用。所以我以下說的只針對前端的想開發app的朋友。當然我也剛開發了幾個,還有很多經驗不足,如果寫的有問題希望指正。其實我做開發剛剛一年多的時間,說實話我感覺如果只是開發市面上已經有的東西,還是相對容易的,現在有很多成熟的框架,有很不錯的api借鑒...
寶泉嶺屬于鶴崗哪個區?寶泉嶺農場是黑龍江省鶴崗市蘿北縣下轄的一個行政村。城鄉分類代碼是220,是一個村。區劃代碼為230421506,居民身份證號碼前六位為230421。郵政編碼是154100,長途區號是0468,車牌號是黑h。寶泉嶺農場毗鄰共青農場、農業局、顏軍農場、名山農場、軍川農場、蔣斌農場、林業局、東明朝鮮族鄉、云山鎮、太平溝鄉、肇興鎮、團結鎮、名山鎮、河北鎮。鶴崗寶泉嶺農場是哪個區?寶泉...
沈陽航空航天大學是什么學校?沈陽航空航天大學(SAU),簡稱“沈航”,是一所以航空航天為特色,以工科為主,包括工學、理學、文學、經濟學、管理學等學科的高等學府。是由教育部、航空工業集團公司和遼寧省、國防科工局和遼寧省共建,空軍依托培養預備役軍官的全國18所地方院校之一。學校創建于1952年,是原航空工業部下屬的六所本科航空院校之一。最初命名為沈陽航空工業學校,歷經東北第一工業學校、沈陽第一工業學校...