Hello Danny, You're linking a C++ library so you'll need to add --cxx to your "extra mtouch arguments". That way mtouch will use the right (C++) compiler and linker to build your application. http://ios.xamarin.com/Documentation/Linking_Native_Libraries
Regards, Sebastien On Thu, Sep 8, 2011 at 6:50 AM, scheelings <[email protected]> wrote: > Hi, > > I just tried the TestFlight SDK within Monotouch, but the compiler returns > the following error: > > /Error 1: mtouch failed with the following message: > Process exited with code 1, command: > /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 > -arch i386 -gdwarf-2 -fobjc-legacy-dispatch -fobjc-abi-version=2 > -miphoneos-version-min=4.3 -isysroot > /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk > /var/folders/kw/kwxvac35EcCj0HJ+LYpHsE+++TI/-Tmp-/tmp7be1a2e6.tmp/main.x86.o > -o > /var/folders/kw/kwxvac35EcCj0HJ+LYpHsE+++TI/-Tmp-/tmp7be1a2e6.tmp/TestflightTest > -framework CFNetwork -framework Foundation -framework UIKit -framework > AudioToolbox -lz -u _mono_pmip -u _CreateZStream -u _CloseZStream -u _Flush > -u _ReadZStream -u _WriteZStream -liconv -lmono-2.0 -lmonotouch > -L/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/lib -u > _catch_exception_raise > -L/Users/noskill/Projects/TestflightTest/TestflightTest -ltestflight -ObjC > > Undefined symbols: > "__Unwind_Resume_or_Rethrow", referenced from: > -[TFAirTrafficController convertArrayToJSON:] in > libtestflight.a(TFAirTrafficController.o) > -[TFAirTrafficController addAndQueueObject:toArrray:] in > libtestflight.a(TFAirTrafficController.o) > -[TFAirTrafficController removeObjects:fromArray:] in > libtestflight.a(TFAirTrafficController.o) > +[TFNetworkManager sharedNetworkManager] in > libtestflight.a(TFNetworkManager.o) > -[TFNetworkManager addOperation:toQueue:finishedTarget:action:] in > libtestflight.a(TFNetworkManager.o) > -[TFNetworkManager observeValueForKeyPath:ofObject:change:context:] in > libtestflight.a(TFNetworkManager.o) > -[TFNetworkManager operationDone:] in > libtestflight.a(TFNetworkManager.o) > -[TFNetworkManager cancelOperation:] in > libtestflight.a(TFNetworkManager.o) > -[TFRunLoopOperation setState:] in > libtestflight.a(TFRunLoopOperation.o) > -[TFRunLoopOperation cancel] in libtestflight.a(TFRunLoopOperation.o) > ld: symbol(s) not found > collect2: ld returned 1 exit status > (1) (TestflightTest)/ > > Can anybody help me with this? > > Thanks, > Danny > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Can-we-use-the-TestFlightApp-SDK-tp3770139p3798412.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
