2017-06-21 18 views
0

存在手動添加框架的問題。當我添加本手冊之前,我正在工作,但是現在我已經完成了所做的更改。ld:用於手動添加框架的截斷胖文件

ld: truncated fat file. Slice from 2670592 to 5510224 is past end of file with length 5505024 file '.....' for architecture x86_64 

鐺:錯誤:連接命令,退出代碼爲1(使用-v看看調用)

我沒有任何想法如何進行排序失敗。現在使用XCode版本8.3.2(8E2002)。

回答

0
Try to made following changes in your project:- 

    Include all necessary frameworks in the link phase 
    Remove -all_load from Other Linker Flags. 
    Clean the build folder and re-compiled from scratch. 

This could very well be a permission issue, a corrupt iOS SDK install, or a corrupt Xcode install. I would remove /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulatorXXX.sdk, then go into Xcode > Preferences > Downloads and reinstall the iOS SDK. Then try again to clean and build your project. If you still have problems, I would consider reinstalling Xcode again.