您的位置:首页 > 移动开发 > IOS开发

Xamarin.iOS Binding Notes about .dylib and clang compiler

2014-12-26 12:37 471 查看
Notes for "Wham City Lights iOS SDK" Xamarin.iOS binding

1. The sdk reference a libz.dylib dynamic library, so in the xxxLinkWith.cs need below content in the assembly attribute:
LinkerFlags="-lz"

2. As per the documentation http://www.whamcitylights.com/sdk/#iOS the build settings requires libstdc++ instead of libc++, so in "Xamarin studio > Project Options > General tab > Additional Options", add below content for each Configuration and Platform
--gcc_flags="-stdlib=libstdc++"

references: http://developer.xamarin.com/guides/ios/advanced_topics/binding_objective-c/binding_types_reference_guide/ http://www.aaronheise.com/2013/08/gooddynamicsmonotouch/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: