今天用富友東西時(shí)突然出現(xiàn)這個(gè)錯(cuò)誤抱究,以前沒(méi)遇見(jiàn)過(guò)欠肾,記錄下來(lái)关炼,方便以后用
問(wèn)題
dyld: Library not loaded: @rpath/FUMobilePay.framework/FUMobilePay
Referenced from: /var/containers/Bundle/Application/720A3BF6-019B-46A9-913E-7BC7249C064E/FYPayFinancialDemo.app/FYPayFinancialDemo
Reason: image not found
解決
在這個(gè)Targets->General->Embeded Binaries地方在添加一次就行了屏幕快照 2017-12-14 上午11.55.58.png
問(wèn)題
真機(jī)運(yùn)行報(bào)錯(cuò):
ld: '/Users/admin/Desktop/WCRongYiHua 3/WCRongYiHua/FUMobilePay.framework/FUMobilePay' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '/Users/admin/Desktop/WCRongYiHua 3/WCRongYiHua/FUMobilePay.framework/FUMobilePay' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解決:
找到Targets->Build Settings->Enable Bitcode 涩笤,將Yes 改為No
屏幕快照 2018-01-19 上午11.11.55.png
問(wèn)題
xib上控件無(wú)法關(guān)聯(lián)
Could not insert new outlet connection: Could not find any information for the class named MSign.
屏幕快照 2018-11-03 下午2.29.12.png
Xcode 自身的問(wèn)題
解決:
完全退出Xcode昆淡,前往路徑:
~/Library/Developer/XCode/DerivedData
刪除項(xiàng)目名稱開(kāi)頭的文件锰瘸,在重啟項(xiàng)目
問(wèn)題
This app could not be installed at this time.
怎么出現(xiàn)的
改了項(xiàng)目包名 和開(kāi)發(fā)者帳號(hào)
解決:
我的解決方法是
完全退出Xcode,前往路徑:
~/Library/Developer/XCode/DerivedData
刪除項(xiàng)目名稱開(kāi)頭的文件昂灵,在重啟項(xiàng)目