gpt4 book ai didi

c# - 尝试运行Monotouch-bindings示例Facebook时出错

转载 作者:行者123 更新时间:2023-11-30 15:36:38 26 4
gpt4 key购买 nike

我遇到以下错误.....

错误MT5202:本机链接失败。请查看构建日志。 (MT5202)。

编译为本机代码
/ Developer / MonoTouch / usr / bin / mtouch -sdkroot“ /Applications/Xcode.app/Contents/Developer” -v --cache“ / Users / ravichandra / Downloads / monotouch-bindings-master / facebook / sample / obj / Debug / mtouch-cache“ --nomanifest --nosign -sim” /Users/ravichandra/Downloads/monotouch-bindings-master/facebook/sample/bin/iPhoneSimulator/Debug/sample.app“ -r” / Developer / MonoTouch / usr /lib/mono/2.1/System.dll“ -r” /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll“ -r” /Developer/MonoTouch/usr/lib/mono/2.1/System .Core.dll“ -r” /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll“ -r” /Users/ravichandra/Downloads/monotouch-bindings-master/ATMHud/sample/MonoTouch.Dialog.dll “ -r” /用户/ravichandra/Downloads/monotouch-bindings-master/facebook/binding/Facebook.dll“ -r” /Developer/MonoTouch/usr/lib/mono/2.1/System.Json.dll“ -r” /Developer/MonoTouch/usr/lib/mono/2.1/System.Web.Services.dll“-调试-概要分析-nolink -sdk” 6.0“” /用户/ ravichandra / Downloads / monotouch-bindings-master / facebook / sample / bin / iPhoneSimulato r / Debug / sample.exe”
使用框架的MonoTouch版本6.0.0:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk
将/Users/ravichandra/Downloads/monotouch-bindings-master/facebook/sample/bin/iPhoneSimulator/Debug/sample.exe复制到/ Users / ravichandra / Downloads / monotouch-bindings-master / facebook / sample / bin / iPhoneSimulator / Debug /sample.app/sample.exe
将/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll复制到/Users/ravichandra/Downloads/monotouch-bindings-master/facebook/sample/bin/iPhoneSimulator/Debug/sample.app/monotouch.dll
将/Developer/MonoTouch/usr/lib/mono/2.1/mscorlib.dll复制到/Users/ravichandra/Downloads/monotouch-bindings-master/facebook/sample/bin/iPhoneSimulator/Debug/sample.app/mscorlib.dll
将/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll复制到/Users/ravichandra/Downloads/monotouch-bindings-master/facebook/sample/bin/iPhoneSimulator/Debug/sample.app/System.Core .dll
将/Developer/MonoTouch/usr/lib/mono/2.1/System.dll复制到/Users/ravichandra/Downloads/monotouch-bindings-master/facebook/sample/bin/iPhoneSimulator/Debug/sample.app/System.dll
将/Developer/MonoTouch/usr/lib/mono/2.1/Mono.Security.dll复制到/Users/ravichandra/Downloads/monotouch-bindings-master/facebook/sample/bin/iPhoneSimulator/Debug/sample.app/Mono.Security .dll
将/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll复制到/Users/ravichandra/Downloads/monotouch-bindings-master/facebook/sample/bin/iPhoneSimulator/Debug/sample.app/System.Xml .dll
将/var/folders/w9/w_xlv4x54j97t8kpzlq2531h0000gn/T/tmp658e855c.tmp/Facebook.dll复制到/Users/ravichandra/Downloads/monotouch-bindings-master/facebook/sample/bin/iPhoneSimulator/Debug/sample.app/Facebook.dll
将/Users/ravichandra/Downloads/monotouch-bindings-master/ATMHud/sample/MonoTouch.Dialog.dll复制到/Users/ravichandra/Downloads/monotouch-bindings-master/facebook/sample/bin/iPhoneSimulator/Debug/sample.app /MonoTouch.Dialog.dll
将/Developer/MonoTouch/usr/lib/mono/2.1/System.Web.Services.dll复制到/Users/ravichandra/Downloads/monotouch-bindings-master/facebook/sample/bin/iPhoneSimulator/Debug/sample.app/System .Web.Services.dll
将/Developer/MonoTouch/usr/lib/mono/2.1/System.Json.dll复制到/Users/ravichandra/Downloads/monotouch-bindings-master/facebook/sample/bin/iPhoneSimulator/Debug/sample.app/System.Json .dll
生成的/var/folders/w9/w_xlv4x54j97t8kpzlq2531h0000gn/T/tmp658e855c.tmp/main.m
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -arch i386 -gdwarf-2 -fobjc-legacy-dispatch -fobjc-abi-version = 2 -miphoneos-version- min = 6.0 -arch i386 -std = c99 -I / Developer / MonoTouch / SDKs / MonoTouch.iphonesimulator.sdk / usr / include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs /iPhoneSimulator6.0.sdk -c /var/folders/w9/w_xlv4x54j97t8kpzlq2531h0000gn/T/tmp658e855c.tmp/main.m -o /var/folders/w9/w_xlv4x54j97t8kpzlq2531h0000gn/T.tmp658e855
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -Wl,-no_pie -arch i386 -gdwarf-2 -fobjc-legacy-dispatch -fobjc-abi-version = 2 -miphoneos-version-min = 6.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk / var / folders / w9 / w_xlv4x54j97t8kpzlq2531h0000gn / T / tmp658e855。 /main.x86.o -o /var/folders/w9/w_xlv4x54j97t8kpzlq2531h0000gn/T/tmp658e855c.tmp/sample -framework CFNetwork -framework Foundation -framework GameKit -framework MapKit -framework MediaPlayer -framework MessageUI -framework OpenGLES -framework StoreKit -framework UIKit-框架AddressBookUI-框架SystemConfiguration-框架AddressBook-框架AudioToolbox-框架AVFoundation-框架QuartzCore-框架CoreGraphics-框架CoreLocation-框架MobileCoreServices-框架安全-框架CoreData-框架ExternalAccessory-框架账户-框架社会-w eak_framework AssetsLibrary -weak_framework CoreBluetooth -weak_framework CoreTelephony -weak_framework EventKit -weak_framework EventKitUI -weak_framework CoreMotion -weak_framework GLKit -weak_framework iAd -weak_framework MediaToolbox -weak_framework NewsworkKitweak -weak_framework NewsframeKitweak_framework -weak_framework CoreVideo -weak_framework AdSupport -weak_framework QuickLook -lz -u _mono_pmip -u _CreateZStream -u _CloseZStream -u _Flush -u _ReadZStream -u _WriteZStream -liconv -lmono-2.0 -lmonotouch -L / Developer / MonoTouch / SDK。 sdk / usr / lib -u _catch_exception_raise -force_load /var/folders/w9/w_xlv4x54j97t8kpzlq2531h0000gn/T/tmp658e855c.tmp/libFacebookSDK.a -ObjC -lsqlite3
进程以代码1退出,命令:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -Wl,-no_pie -arch i386 -gdwarf-2 -fobjc-legacy-dispatch -fobjc-abi-version = 2 -miphoneos-version-min = 6.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk / var / folders / w9 / w_xlv4x54j97t8kpzlq2531h0000gn / T / tmp658e855。 /main.x86.o -o /var/folders/w9/w_xlv4x54j97t8kpzlq2531h0000gn/T/tmp658e855c.tmp/sample -framework CFNetwork -framework Foundation -framework GameKit -framework MapKit -framework MediaPlayer -framework MessageUI -framework OpenGLES -framework StoreKit -framework UIKit-框架AddressBookUI-框架SystemConfiguration-框架AddressBook-框架AudioToolbox-框架AVFoundation-框架QuartzCore-框架CoreGraphics-框架CoreLocation-框架MobileCoreServices-框架安全-框架CoreData-框架ExternalAccessory-框架账户-框架社会-w eak_framework AssetsLibrary -weak_framework CoreBluetooth -weak_framework CoreTelephony -weak_framework EventKit -weak_framework EventKitUI -weak_framework CoreMotion -weak_framework GLKit -weak_framework iAd -weak_framework MediaToolbox -weak_framework NewsworkKitweak -weak_framework NewsframeKitweak_framework -weak_framework CoreVideo -weak_framework AdSupport -weak_framework QuickLook -lz -u _mono_pmip -u _CreateZStream -u _CloseZStream -u _Flush -u _ReadZStream -u _WriteZStream -liconv -lmono-2.0 -lmonotouch -L / Developer / MonoTouch / SDK。 sdk / usr / lib -u _catch_exception_raise -force_load /var/folders/w9/w_xlv4x54j97t8kpzlq2531h0000gn/T/tmp658e855c.tmp/libFacebookSDK.a -ObjC -lsqlite3
ld:找不到框架AdSupport
collect2:ld返回1退出状态

错误MT5202:本机链接失败。请查看构建日志。

最佳答案

ld: framework not found AdSupport collect2: ld returned 1 exit status


您需要更新的Xcode版本(任何稳定的4.5版本-而不是Developer Preview),而您没有的版本不包含AdSupport框架。

关于c# - 尝试运行Monotouch-bindings示例Facebook时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13559422/

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