1

您好,我正在尝试使用 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"
4

1 回答 1

1

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

$ file ./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 的二进制文件,具有以下架构:

$ file 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 可能有一些问题?您是否注册了发送的回调?把一些日志放在那里。

于 2012-07-19T11:59:38.057 回答