gpt4 book ai didi

ios - 添加libRxAutomationUni_411.a库时出现链接器错误

转载 作者:行者123 更新时间:2023-12-02 11:04:52 26 4
gpt4 key购买 nike

添加libRxAutomation库构建应用程序后,我被抛出错误。我已经按照他们网站上提供的说明进行了整合库的操作,此外,它类似于添加外部库,例如试飞sdk,flurry等。

应用名称*应用方案已替换为 * ..由于一些原因,我无法透露名称。对带来的麻烦表示抱歉。

人们建议检查是否缺少任何文件/将其添加两次,我已经检查了项目,并且每个文件仅被添加了一次...

    Ld /Users/dinakarsoma2/Library/Developer/Xcode/DerivedData/******-blnbgtkobwzputaagcrtirppgsho/Build/Products/Debug-iphonesimulator/******-internal\ Beta\ Test.app/******-internal\ Beta\ Test normal i386
cd /Users/dinakarsoma2/Desktop/Patches_test/3.0/******
setenv IPHONEOS_DEPLOYMENT_TARGET 6.0
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.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 i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/dinakarsoma2/Library/Developer/Xcode/DerivedData/******-blnbgtkobwzputaagcrtirppgsho/Build/Products/Debug-iphonesimulator -L/Users/dinakarsoma2/Desktop/Patches_test/3.0/****** -L\\\"/Users/dinakarsoma2/Desktop/Patches_test/3.0/******/******/External\\\ Libraries/Flurry\\\" -L\\\"/Users/dinakarsoma2/Desktop/Patches_test/3.0/******/******/External\\\ Libraries/TestFlight\\\ SDK\\\" -L/Users/dinakarsoma2/Desktop/Patches_test/3.0/****** -L/Users/dinakarsoma2/Desktop/Patches_test/3.0/******/******/External\ Libraries/TestFlight\ SDK -F/Users/dinakarsoma2/Library/Developer/Xcode/DerivedData/******-blnbgtkobwzputaagcrtirppgsho/Build/Products/Debug-iphonesimulator -F/Users/dinakarsoma2/Desktop/Patches_test/3.0/****** -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/PrivateFrameworks -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -F/Users/dinakarsoma2/Desktop/Patches_test/3.0/******/******/External\ Libraries/DTRichTextEditor.embeddedframework -F/Users/dinakarsoma2/Desktop/Patches_test/3.0/******/******/External\ Libraries/DTRichTextEditor -F/Users/dinakarsoma2/Desktop/Patches_test/3.0/******/../../../../../../Downloads -filelist /Users/dinakarsoma2/Library/Developer/Xcode/DerivedData/******-blnbgtkobwzputaagcrtirppgsho/Build/Intermediates/******.build/Debug-iphonesimulator/******-internal\ Beta\ Test.build/Objects-normal/i386/******-internal\ Beta\ Test.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -all_load -fobjc-arc -fobjc-link-runtime -fprofile-arcs -ftest-coverage -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -lz.1.2.5 -framework AssetsLibrary /Users/dinakarsoma2/Library/Developer/Xcode/DerivedData/******-blnbgtkobwzputaagcrtirppgsho/Build/Products/Debug-iphonesimulator/libDTRichTextEditor.a -framework CoreText -framework MessageUI -framework StoreKit -framework CoreGraphics -framework GameKit -framework ImageIO -framework AddressBookUI -framework AddressBook -framework EventKit -framework EventKitUI -framework CFNetwork -framework CoreData -lxml2 -framework MobileCoreServices -framework QuartzCore -framework Security -framework UIKit -framework Foundation -lRxAutomationUni_411 -framework SystemConfiguration -lFlurry -lTestFlight -Xlinker -dependency_info -Xlinker /Users/dinakarsoma2/Library/Developer/Xcode/DerivedData/******-blnbgtkobwzputaagcrtirppgsho/Build/Intermediates/******.build/Debug-iphonesimulator/******-internal\ Beta\ Test.build/Objects-normal/i386/******-internal\ Beta\ Test_dependency_info.dat -o /Users/dinakarsoma2/Library/Developer/Xcode/DerivedData/******-blnbgtkobwzputaagcrtirppgsho/Build/Products/Debug-iphonesimulator/******-internal\ Beta\ Test.app/******-internal\ Beta\ Test

ld: warning: directory not found for option '-L\"/Users/dinakarsoma2/Desktop/Patches_test/3.0/*****/*****/External\ Libraries/Flurry\"'
ld: warning: directory not found for option '-L\"/Users/dinakarsoma2/Desktop/Patches_test/3.0/*****/*****/External\ Libraries/TestFlight\ SDK\"'
ld: warning: directory not found for option '-F/Users/dinakarsoma2/Desktop/Patches_test/3.0/*****/../../../../../../Downloads'
ld: library not found for -lFlurry
clang: error: linker command failed with exit code 1 (use -v to see invocation)

当任何人都面临silmilar问题时。.Plz帮助我提出您的想法。这个问题看起来很小,但是在过去的几个小时中,我对此感到震惊。

任何帮助表示赞赏..在此先感谢

最佳答案

终于解决了这个问题。这个问题非常愚蠢。

如果其他人因类似问题而被碰到,则在此处发布相同内容。

在构 build 置->搜索路径-外部提供程序的路径(我的情况-Testflight,flurry等)中。路径中有一个空格,该空格已编码并替换为“\”等。

我删除了解决问题的路径中的多余字符。

例如:我的路径-“$(SRCROOT)/TargetName/外部库/TestFlight SDK”

其编码为“$(SRCROOT)/TargetName/外部库/TestFlight \ SDK”

删除“\”解决了问题。

关于ios - 添加libRxAutomationUni_411.a库时出现链接器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19516980/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com