今天用富友东西时突然出现这个错误,以前没遇见过,记录下来,方便以后用
问题
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
解决
在这个Targets->General->Embeded Binaries地方在添加一次就行了 屏幕快照 2017-12-14 上午11.55.58.png问题
真机运行报错:
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
问题
xib上控件无法关联
Could not insert new outlet connection: Could not find any information for the class named MSign.
屏幕快照 2018-11-03 下午2.29.12.png
Xcode 自身的问题
解决:
完全退出Xcode,前往路径:
~/Library/Developer/XCode/DerivedData
删除项目名称开头的文件,在重启项目
问题
This app could not be installed at this time.
怎么出现的
改了项目包名 和开发者帐号
解决:
我的解决方法是
完全退出Xcode,前往路径:
~/Library/Developer/XCode/DerivedData
删除项目名称开头的文件,在重启项目
网友评论