【问题标题】:Detected an attempt to call a symbol in system libraries that is not present on the iPhone and SIGBRT检测到尝试调用 iPhone 和 SIGBRT 上不存在的系统库中的符号
【发布时间】:2012-07-18 20:57:11
【问题描述】:

您好,我正在尝试使用 ThoMoNetworking.framework 构建应用程序。应用程序在设备上运行良好,但在模拟器上我在启用僵尸的控制台中得到它

2012-07-18 23:54:11.043 testApp[4048:11303] Application windows are expected to have a root view controller at the end of application launch
2012-07-18 23:54:11.042 testApp[4048:14807] Netservice is about to be published.
2012-07-18 23:54:11.795 testApp[4048:14807] Netservice has been published.
2012-07-18 23:54:12.045 testApp[4048:14f03] NetService _testApp._tcp. offered by mpla (2)
2012-07-18 23:54:12.073 testApp[4048:14f03] Resolved Server Address mpla.local.
Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
(null) called from function ServerStubAcceptCallback in image testApp.
(lldb) 

应用程序在旧版本的 Xcode 和模拟器上运行正常。

构建日志

Build target Remi's Chat App

ProcessInfoPlistFile "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app/Info.plist" Remi_s_Chat_App-Info.plist
    cd "/Users/zaab/Desktop/zaabs chat app"
    setenv PATH "/Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode45-DP3.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    builtin-infoPlistUtility Remi_s_Chat_App-Info.plist -genpkginfo "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app/PkgInfo" -expandbuildsettings -format binary -platform iphonesimulator -o "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app/Info.plist"

CompileXIB MainWindow.xib
    cd "/Users/zaab/Desktop/zaabs chat app"
    setenv IBC_MINIMUM_COMPATIBILITY_VERSION 5.1
    setenv PATH "/Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode45-DP3.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    setenv XCODE_DEVELOPER_USR_PATH /Applications/Xcode45-DP3.app/Contents/Developer/usr/bin/..
    /Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app/MainWindow.nib" "/Users/zaab/Desktop/zaabs chat app/MainWindow.xib" --sdk /Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk

CompileXIB Remi_s_Chat_AppViewController.xib
    cd "/Users/zaab/Desktop/zaabs chat app"
    setenv IBC_MINIMUM_COMPATIBILITY_VERSION 5.1
    setenv PATH "/Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode45-DP3.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    setenv XCODE_DEVELOPER_USR_PATH /Applications/Xcode45-DP3.app/Contents/Developer/usr/bin/..
    /Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app/Remi_s_Chat_AppViewController.nib" "/Users/zaab/Desktop/zaabs chat app/Remi_s_Chat_AppViewController.xib" --sdk /Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk

2012-07-18 23:13:30.196 Interface Builder Cocoa Touch Tool[3098:14603] CFPreferences: user home directory at file://localhost/Users/zaab/Library/Application%20Support/iPhone%20Simulator/User/ is unavailable. User domains will be volatile.scheduled GC timer for 0.000000 second
CpResource icon.png "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app/icon.png"
    cd "/Users/zaab/Desktop/zaabs chat app"
    setenv PATH "/Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode45-DP3.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks "/Users/zaab/Desktop/zaabs chat app/icon.png" "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app"

CpResource Default.png "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app/Default.png"
    cd "/Users/zaab/Desktop/zaabs chat app"
    setenv PATH "/Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode45-DP3.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks "/Users/zaab/Desktop/zaabs chat app/Default.png" "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app"

CompileC "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Objects-normal/i386/Remi_s_Chat_AppViewController.o" Classes/Remi_s_Chat_AppViewController.m normal i386 objective-c com.apple.compilers.llvmgcc42
    cd "/Users/zaab/Desktop/zaabs chat app"
    setenv LANG en_US.US-ASCII
    setenv PATH "/Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode45-DP3.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -isysroot /Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk -fexceptions -fasm-blocks -mmacosx-version-min=10.6 -gdwarf-2 -fvisibility=hidden -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 -iquote "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Remi's Chat App-generated-files.hmap" "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Remi's Chat App-own-target-headers.hmap" "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Remi's Chat App-all-target-headers.hmap" -iquote "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Remi's Chat App-project-headers.hmap" "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/include" -I/Applications/Xcode45-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode45-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode45-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/DerivedSources/i386" "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/DerivedSources" "-F/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator" "-F/Users/zaab/Desktop/zaabs chat app/.." "-F/Users/zaab/Desktop/zaabs chat app" -include "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/PrecompiledHeaders/Remi_s_Chat_App_Prefix-boaopykcsgtofmcpwdnuwuwmwnmg/Remi_s_Chat_App_Prefix.pch" -c "/Users/zaab/Desktop/zaabs chat app/Classes/Remi_s_Chat_AppViewController.m" -o "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Objects-normal/i386/Remi_s_Chat_AppViewController.o"

CompileC "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Objects-normal/i386/main.o" main.m normal i386 objective-c com.apple.compilers.llvmgcc42
    cd "/Users/zaab/Desktop/zaabs chat app"
    setenv LANG en_US.US-ASCII
    setenv PATH "/Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode45-DP3.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -isysroot /Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk -fexceptions -fasm-blocks -mmacosx-version-min=10.6 -gdwarf-2 -fvisibility=hidden -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 -iquote "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Remi's Chat App-generated-files.hmap" "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Remi's Chat App-own-target-headers.hmap" "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Remi's Chat App-all-target-headers.hmap" -iquote "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Remi's Chat App-project-headers.hmap" "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/include" -I/Applications/Xcode45-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode45-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode45-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/DerivedSources/i386" "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/DerivedSources" "-F/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator" "-F/Users/zaab/Desktop/zaabs chat app/.." "-F/Users/zaab/Desktop/zaabs chat app" -include "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/PrecompiledHeaders/Remi_s_Chat_App_Prefix-boaopykcsgtofmcpwdnuwuwmwnmg/Remi_s_Chat_App_Prefix.pch" -c "/Users/zaab/Desktop/zaabs chat app/main.m" -o "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Objects-normal/i386/main.o"

CompileC "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Objects-normal/i386/Remi_s_Chat_AppAppDelegate.o" Classes/Remi_s_Chat_AppAppDelegate.m normal i386 objective-c com.apple.compilers.llvmgcc42
    cd "/Users/zaab/Desktop/zaabs chat app"
    setenv LANG en_US.US-ASCII
    setenv PATH "/Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode45-DP3.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -isysroot /Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk -fexceptions -fasm-blocks -mmacosx-version-min=10.6 -gdwarf-2 -fvisibility=hidden -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 -iquote "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Remi's Chat App-generated-files.hmap" "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Remi's Chat App-own-target-headers.hmap" "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Remi's Chat App-all-target-headers.hmap" -iquote "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Remi's Chat App-project-headers.hmap" "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/include" -I/Applications/Xcode45-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode45-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode45-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/DerivedSources/i386" "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/DerivedSources" "-F/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator" "-F/Users/zaab/Desktop/zaabs chat app/.." "-F/Users/zaab/Desktop/zaabs chat app" -include "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/PrecompiledHeaders/Remi_s_Chat_App_Prefix-boaopykcsgtofmcpwdnuwuwmwnmg/Remi_s_Chat_App_Prefix.pch" -c "/Users/zaab/Desktop/zaabs chat app/Classes/Remi_s_Chat_AppAppDelegate.m" -o "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Objects-normal/i386/Remi_s_Chat_AppAppDelegate.o"

CompileC "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Objects-normal/i386/NSPatches.o" Classes/NSPatches.m normal i386 objective-c com.apple.compilers.llvmgcc42
    cd "/Users/zaab/Desktop/zaabs chat app"
    setenv LANG en_US.US-ASCII
    setenv PATH "/Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode45-DP3.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -isysroot /Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk -fexceptions -fasm-blocks -mmacosx-version-min=10.6 -gdwarf-2 -fvisibility=hidden -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 -iquote "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Remi's Chat App-generated-files.hmap" "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Remi's Chat App-own-target-headers.hmap" "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Remi's Chat App-all-target-headers.hmap" -iquote "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Remi's Chat App-project-headers.hmap" "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/include" -I/Applications/Xcode45-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode45-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode45-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/DerivedSources/i386" "-I/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/DerivedSources" "-F/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator" "-F/Users/zaab/Desktop/zaabs chat app/.." "-F/Users/zaab/Desktop/zaabs chat app" -include "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/PrecompiledHeaders/Remi_s_Chat_App_Prefix-boaopykcsgtofmcpwdnuwuwmwnmg/Remi_s_Chat_App_Prefix.pch" -c "/Users/zaab/Desktop/zaabs chat app/Classes/NSPatches.m" -o "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Objects-normal/i386/NSPatches.o"

Ld "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app/Remi's Chat App" normal i386
    cd "/Users/zaab/Desktop/zaabs chat app"
    setenv IPHONEOS_DEPLOYMENT_TARGET 5.1
    setenv PATH "/Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode45-DP3.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -arch i386 -isysroot /Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk "-L/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator" "-F/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator" "-F/Users/zaab/Desktop/zaabs chat app/.." "-F/Users/zaab/Desktop/zaabs chat app" -filelist "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Intermediates/Remi's Chat App.build/Debug-iphonesimulator/Remi's Chat App.build/Objects-normal/i386/Remi's Chat App.LinkFileList" -Xlinker -objc_abi_version -Xlinker 2 -Xlinker -no_implicit_dylibs -fobjc-link-runtime -mios-simulator-version-min=5.1 -framework Foundation -framework UIKit -framework CoreGraphics -framework ThoMoNetworking -o "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app/Remi's Chat App"

GenerateDSYMFile "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app.dSYM" "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app/Remi's Chat App"
    cd "/Users/zaab/Desktop/zaabs chat app"
    setenv PATH "/Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode45-DP3.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode45-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app/Remi's Chat App" -o "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app.dSYM"

Touch "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app"
    cd "/Users/zaab/Desktop/zaabs chat app"
    setenv PATH "/Applications/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode45-DP3.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /usr/bin/touch -c "/Users/zaab/Library/Developer/Xcode/DerivedData/Remi's_Chat_App-ekylhajxuveoreakgvsugdpiadtn/Build/Products/Debug-iphonesimulator/Remi's Chat App.app"

【问题讨论】:

  • 嗯,这有点用词不当,因为您不能直接在 iOS 中使用框架,不是吗?我不知道这个细节,但我认为该文件中有一个“.a”。在终端尝试这个“文件 .a”,并确保你看到里面有一个 i386 库。
  • 不,我没有看到任何库,您的意思是静态的吗?我可以让他们成为我自己吗?如何?为什么在设备上一切正常
  • 如果你想解决这个问题,你将不得不深入挖掘。 iOS 中没有框架链接之类的东西——它可以在 OSX 中,但不能在 Mac 上。所以某处有一个静态库。也许尝试 google 以了解有关此外部库/框架的更多信息。
  • 好的,但是在没有 .a 库中只有一些 .h 文件,并且设备上的应用程序像魅力一样工作!
  • 所以你从来没有提到你使用的是 Xcode 的测试版,并且是为 iOS 6 构建的。这对提前了解会有很大的帮助。这是非常重要的信息。

标签: objective-c ios networking sigabrt


【解决方案1】:

这不是一个真正的答案,但它的文字比我在评论中输入的要多。所以我下载了这个框架来看看它。该库本身有两个“框架”——一个供 OSX 使用,另一个供 iOS 使用。 iOS 库(减去 .a)就在那里,它包含所有必需的架构:

$ 文件 ./ThoMoNetworking.framework/ThoMoNetworking ./ThoMoNetworking.framework/ThoMoNetworking:具有 3 种架构的 Mach-O 通用二进制文件 ./ThoMoNetworking.framework/ThoMoNetworking(用于架构 armv6):当前 ar 存档随机库 ./ThoMoNetworking.framework/ThoMoNetworking(用于架构 armv7):当前 ar 存档随机库 ./ThoMoNetworking.framework/ThoMoNetworking(适用于 i386 架构):当前 ar 存档随机库

现在,OSX 框架有一个名为 ThoMoNetworking 的二进制文件,具有以下架构:

$ 文件 ThoMoNetworking ThoMoNetworking:具有 3 种架构的 Mach-O 通用二进制文件 ThoMoNetworking(用于架构 x86_64):Mach-O 64 位动态链接共享库 x86_64 ThoMoNetworking(适用于 i386 架构):Mach-O 动态链接共享库 i386 ThoMoNetworking(适用于 ppc7400 架构):Mach-O 动态链接共享库 ppc

因此,假设您在计算机上安装了这两个框架。如果在为模拟器构建时链接器以某种方式查看了 OSX 框架,它认为它可以在运行时动态加载它,当然它不能。

所以,如果您在 Frameworks 文件夹中安装了该框架,我会删除它。然后,只需仔细检查您得到的结果是否与我运行“文件”时的结果相同。

在任何情况下,您都可以删除计算机上的每个版本的 ThoMoNetworking(确保使用 SpotLight),然后重新下载 ThoMoNetworking,然后只安装 iPhone 框架。

当你这样做时,在下面添加评论,结果,如果它仍然坏我们可以继续探索。

编辑: 我刚刚在 Xcode 中创建了一个项目并下载了框架,添加了它,然后在 viewDidLoad 中使用这些行启动了一个服务器:

// 假设 myServer 存在 ThoMoServerStub *myServer = [[ThoMoServerStub alloc] initWithProtocolIdentifier:@"helloThoMo"]; [我的服务器开始]; [myServer sendToAllClients:@"Howdie"];

效果很好。现在,我使用的是 Xcode 4.4。编译器设置为“Apple LLVM 4.0”。我添加了框架,然后确保它包含在库部分(它是)中。我在模拟器中运行得很好。架构设置的“ARCHS_STANDARD_32_BIT”以灰色显示。

你说你在使用 Zombies 时遇到错误 - 为什么它们会打开?关闭它们,看看会发生什么。那么,ServerStubAcceptCallback 可能有一些问题?您是否注册了发送的回调?把一些日志放在那里。

【讨论】:

  • 是的,我没有安装 osx 并且 ios 框架位于我的 app 文件夹中!我也尝试在 Xcode 框架中设置框架,但仍然没有运气!
  • 尝试删除它,然后重新添加。当然有可能由于某种原因它不会与 5.1 链接。我确实在 ThoMoNetworking 网站上注意到他们提供帮助有困难的人 - 你应该直接向他们发布问题。另一种想法 - 当你为模拟器构建时,查看构建日志,并扩展实际的负载线,看看它显示了什么。在任何情况下,您都应该编辑您的问题以显示该信息 - 这可能会有所帮助。当然,您应该在加载命令行中看到 ThoMoNetworking,以及任何投诉或错误。与 iOS 版本比较。
  • 非常感谢您提供的信息,我会尽快将它们发布在这里!
  • 没有运气到目前为止尝试了一切!对此有任何帮助或想法都会有很大帮助!
  • 请从模拟器构建中获取链接行,以便我们查看它在做什么、结果和任何错误消息。您必须单击右侧 - 会弹出一个小部件,让您查看实际文本。请编辑您的问题并添加该信息。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2011-01-30
  • 1970-01-01
  • 1970-01-01
  • 2013-11-16
  • 2015-09-18
  • 1970-01-01
  • 2016-05-17
相关资源
最近更新 更多