0

我的任务是维护一个最初为 iOS5 开发的相当大的项目。

它具有以下链接器标志:-force_load -ObjC -lc++

尝试编译项目时得到的结果:

Ld /Users/dhomes/Library/Developer/Xcode/DerivedData/textPlatform-brvpfnfcbedjwnamdiqbvrnbherf/Build/Intermediates/textPlatform.build/Debug-iphoneos/textPlatform\ Prod.build/Objects-normal/arm64/textPlatform\ Prod normal arm64
    cd /Users/dhomes/Desktop/CareChat/com.mozido.textPlatform.ios
    export IPHONEOS_DEPLOYMENT_TARGET=7.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk -L/Users/dhomes/Library/Developer/Xcode/DerivedData/textPlatform-brvpfnfcbedjwnamdiqbvrnbherf/Build/Products/Debug-iphoneos -F/Users/dhomes/Library/Developer/Xcode/DerivedData/textPlatform-brvpfnfcbedjwnamdiqbvrnbherf/Build/Products/Debug-iphoneos -filelist /Users/dhomes/Library/Developer/Xcode/DerivedData/textPlatform-brvpfnfcbedjwnamdiqbvrnbherf/Build/Intermediates/textPlatform.build/Debug-iphoneos/textPlatform\ Prod.build/Objects-normal/arm64/textPlatform\ Prod.LinkFileList -dead_strip -force_load -ObjC -lc++ -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=7.0 -licucore.A -lresolv -lxml2 -lstdc++.6 -lc++ -framework Accelerate -framework EventKit -framework CoreLocation -framework CoreMotion -framework CoreMedia -framework CoreVideo -framework AVFoundation -liconv -lstdc++ -framework AddressBookUI -framework MapKit -framework AssetsLibrary -framework CoreText -framework UIKit -framework SystemConfiguration -framework StoreKit -framework Security -framework QuartzCore -framework MobileCoreServices -lz -lsqlite3 -framework Foundation -framework CoreGraphics -framework CFNetwork -framework AudioToolbox -framework Accounts -framework AdSupport -framework CoreBluetooth -Xlinker -dependency_info -Xlinker /Users/dhomes/Library/Developer/Xcode/DerivedData/textPlatform-brvpfnfcbedjwnamdiqbvrnbherf/Build/Intermediates/textPlatform.build/Debug-iphoneos/textPlatform\ Prod.build/Objects-normal/arm64/textPlatform\ Prod_dependency_info.dat -o /Users/dhomes/Library/Developer/Xcode/DerivedData/textPlatform-brvpfnfcbedjwnamdiqbvrnbherf/Build/Intermediates/textPlatform.build/Debug-iphoneos/textPlatform\ Prod.build/Objects-normal/arm64/textPlatform\ Prod

ld:找不到文件:-ObjC clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)

对这个有帮助吗?对此的任何帮助都非常感谢

基本上

4

0 回答 0