<bdo id='L53LV'></bdo><ul id='L53LV'></ul>
  • <i id='L53LV'><tr id='L53LV'><dt id='L53LV'><q id='L53LV'><span id='L53LV'><b id='L53LV'><form id='L53LV'><ins id='L53LV'></ins><ul id='L53LV'></ul><sub id='L53LV'></sub></form><legend id='L53LV'></legend><bdo id='L53LV'><pre id='L53LV'><center id='L53LV'></center></pre></bdo></b><th id='L53LV'></th></span></q></dt></tr></i><div id='L53LV'><tfoot id='L53LV'></tfoot><dl id='L53LV'><fieldset id='L53LV'></fieldset></dl></div>

    <small id='L53LV'></small><noframes id='L53LV'>

      <tfoot id='L53LV'></tfoot>

      1. <legend id='L53LV'><style id='L53LV'><dir id='L53LV'><q id='L53LV'></q></dir></style></legend>

      2. 架构 i386 的未定义符号将项目升级到 iOS 5

        时间:2023-05-30

        <legend id='h6Qal'><style id='h6Qal'><dir id='h6Qal'><q id='h6Qal'></q></dir></style></legend>
      3. <small id='h6Qal'></small><noframes id='h6Qal'>

        <tfoot id='h6Qal'></tfoot>

              <tbody id='h6Qal'></tbody>
                  <bdo id='h6Qal'></bdo><ul id='h6Qal'></ul>
                  <i id='h6Qal'><tr id='h6Qal'><dt id='h6Qal'><q id='h6Qal'><span id='h6Qal'><b id='h6Qal'><form id='h6Qal'><ins id='h6Qal'></ins><ul id='h6Qal'></ul><sub id='h6Qal'></sub></form><legend id='h6Qal'></legend><bdo id='h6Qal'><pre id='h6Qal'><center id='h6Qal'></center></pre></bdo></b><th id='h6Qal'></th></span></q></dt></tr></i><div id='h6Qal'><tfoot id='h6Qal'></tfoot><dl id='h6Qal'><fieldset id='h6Qal'></fieldset></dl></div>
                • 本文介绍了架构 i386 的未定义符号将项目升级到 iOS 5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我一直在搜索 SO 和 Google,但还没有发现任何有用的东西.

                  I've been scouring SO and Google but haven't found anything helpful yet.

                  我们正在更新现有的 iOS 项目以针对 iOS 5 构建.

                  We're updating our existing iOS project to build against iOS 5.

                  我们的项目有两个目标,第一个是我们的静态库,第二个是单元测试应用程序 (GHUnit).

                  Our project has two targets, the first is our static library and the second is a Unit Test application (GHUnit).

                  在构建单元测试目标时,它成功编译了静态库,但随后无法链接它并显示以下输出:

                  When building the unit test target it successfully compiles the static library, but then fails to link against it with the following output:

                  Ld /Users/XXXXXX/Library/Developer/Xcode/DerivedData/XXXXXXLibrary-egoqfplddstqvwaigwuiqfqplcax/Build/Products/Debug-iphonesimulator/UnitTests.app/UnitTests normal i386
                      cd /Users/XXXXXX/Documents/iOS/trunk
                      setenv MACOSX_DEPLOYMENT_TARGET 10.6
                      setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
                      /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Users/XXXXXX/Library/Developer/Xcode/DerivedData/XXXXXXLibrary-egoqfplddstqvwaigwuiqfqplcax/Build/Products/Debug-iphonesimulator -F/Users/XXXXXX/Library/Developer/Xcode/DerivedData/XXXXXXLibrary-egoqfplddstqvwaigwuiqfqplcax/Build/Products/Debug-iphonesimulator -F/Users/XXXXXX/Documents/iOS/trunk -F/Users/XXXXXX/Documents/iOS/trunk/UnitTests -filelist /Users/XXXXXX/Library/Developer/Xcode/DerivedData/XXXXXXLibrary-egoqfplddstqvwaigwuiqfqplcax/Build/Intermediates/XXXXXXLibrary.build/Debug-iphonesimulator/UnitTests.build/Objects-normal/i386/UnitTests.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -all_load -Wl -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -framework SystemConfiguration -framework CoreLocation -framework CoreData /Users/XXXXXX/Library/Developer/Xcode/DerivedData/XXXXXXLibrary-egoqfplddstqvwaigwuiqfqplcax/Build/Products/Debug-iphonesimulator/XXXXXX.a -framework GHUnitIOS -framework CoreGraphics -framework Foundation -framework UIKit -o /Users/XXXXXX/Library/Developer/Xcode/DerivedData/XXXXXXLibrary-egoqfplddstqvwaigwuiqfqplcax/Build/Products/Debug-iphonesimulator/UnitTests.app/UnitTests
                  
                      Undefined symbols for architecture i386:
                        "_llvm_gcda_start_file", referenced from:
                            ___llvm_gcov_writeout in XXXXXX.a(NSObject+SBJSON.o)
                            ___llvm_gcov_writeout in XXXXXX.a(NSString+SBJSON.o)
                            ___llvm_gcov_writeout in XXXXXX.a(SBJsonBase.o)
                            ___llvm_gcov_writeout in XXXXXX.a(SBJsonParser.o)
                            ___llvm_gcov_writeout in XXXXXX.a(SBJsonWriter.o)
                            ___llvm_gcov_writeout in XXXXXX.a(XXXXXXReachability.o)
                            ___llvm_gcov_writeout in XXXXXX.a(XXXXXX.o)
                            ...
                        "_llvm_gcda_emit_function", referenced from:
                            ___llvm_gcov_writeout in XXXXXX.a(NSObject+SBJSON.o)
                            ___llvm_gcov_writeout in XXXXXX.a(NSString+SBJSON.o)
                            ___llvm_gcov_writeout in XXXXXX.a(SBJsonBase.o)
                            ___llvm_gcov_writeout in XXXXXX.a(SBJsonParser.o)
                            ___llvm_gcov_writeout in XXXXXX.a(SBJsonWriter.o)
                            ___llvm_gcov_writeout in XXXXXX.a(XXXXXXReachability.o)
                            ___llvm_gcov_writeout in XXXXXX.a(XXXXXX.o)
                            ...
                        "_llvm_gcda_emit_arcs", referenced from:
                            ___llvm_gcov_writeout in XXXXXX.a(NSObject+SBJSON.o)
                            ___llvm_gcov_writeout in XXXXXX.a(NSString+SBJSON.o)
                            ___llvm_gcov_writeout in XXXXXX.a(SBJsonBase.o)
                            ___llvm_gcov_writeout in XXXXXX.a(SBJsonParser.o)
                            ___llvm_gcov_writeout in XXXXXX.a(SBJsonWriter.o)
                            ___llvm_gcov_writeout in XXXXXX.a(XXXXXXReachability.o)
                            ___llvm_gcov_writeout in XXXXXX.a(XXXXXX.o)
                            ...
                        "_llvm_gcda_end_file", referenced from:
                            ___llvm_gcov_writeout in XXXXXX.a(NSObject+SBJSON.o)
                            ___llvm_gcov_writeout in XXXXXX.a(NSString+SBJSON.o)
                            ___llvm_gcov_writeout in XXXXXX.a(SBJsonBase.o)
                            ___llvm_gcov_writeout in XXXXXX.a(SBJsonParser.o)
                            ___llvm_gcov_writeout in XXXXXX.a(SBJsonWriter.o)
                            ___llvm_gcov_writeout in XXXXXX.a(XXXXXXReachability.o)
                            ___llvm_gcov_writeout in XXXXXX.a(XXXXXX.o)
                            ...
                        "_llvm_gcda_increment_indirect_counter", referenced from:
                            -[SBJsonParser scanValue:] in XXXXXX.a(SBJsonParser.o)
                            -[SBJsonParser scanRestOfString:] in XXXXXX.a(SBJsonParser.o)
                            -[SBJsonWriter appendString:into:] in XXXXXX.a(SBJsonWriter.o)
                            -[XXXXXX loginSuccessfulCallback:XXXXXXHttpResult:] in XXXXXX.a(XXXXXX.o)
                            +[XXXXXXDataTank sharedDataTankManager] in XXXXXX.a(XXXXXXDataTank.o)
                            -[XXXXXXDataTank processFiveHundredSeriesHttpResult:] in XXXXXX.a(XXXXXXDataTank.o)
                            -[XXXXXXDataTank networkActive] in XXXXXX.a(XXXXXXDataTank.o)
                            ...
                      ld: symbol(s) not found for architecture i386
                      clang: error: linker command failed with exit code 1 (use -v to see invocation)
                  

                  我已经尝试搜索未找到的符号,但谷歌确实有 0 个结果.

                  I've tried searching for the unfound symbols but google literally has 0 results.

                  我假设静态库是用单元测试目标不是的东西构建的,但我找不到它.

                  I assume the static library is being built with something that the unit test target isn't but I cannot find it.

                  有人有什么建议吗?

                  干杯

                  推荐答案

                  这对我很有效(用粗体捕捉设置):

                  This worked for me well (catch the settings with bold):

                  这篇关于架构 i386 的未定义符号将项目升级到 iOS 5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:在 Storyboard 中创建自定义 UITableViewCell 下一篇:如何在不增加背景图像大小的情况下增加(自定义

                  相关文章

                  最新文章

                  <small id='nCkuX'></small><noframes id='nCkuX'>

                    1. <legend id='nCkuX'><style id='nCkuX'><dir id='nCkuX'><q id='nCkuX'></q></dir></style></legend>
                        <bdo id='nCkuX'></bdo><ul id='nCkuX'></ul>
                    2. <i id='nCkuX'><tr id='nCkuX'><dt id='nCkuX'><q id='nCkuX'><span id='nCkuX'><b id='nCkuX'><form id='nCkuX'><ins id='nCkuX'></ins><ul id='nCkuX'></ul><sub id='nCkuX'></sub></form><legend id='nCkuX'></legend><bdo id='nCkuX'><pre id='nCkuX'><center id='nCkuX'></center></pre></bdo></b><th id='nCkuX'></th></span></q></dt></tr></i><div id='nCkuX'><tfoot id='nCkuX'></tfoot><dl id='nCkuX'><fieldset id='nCkuX'></fieldset></dl></div>
                      <tfoot id='nCkuX'></tfoot>