更新时间:2023-10-20 21:33:58
我必须进行两项更改才能在iphone上正常工作:
I had to make two changes to get this working correctly on the iphone:
所以构建选项下的其他monotouch参数必须具有以下内容价值:
So additional monotouch arguments under the build options had to have the following value:
-v -v -v -gcc_flags-framework Security -lstdc ++ -I $ {ProjectDir} / Ultralite / Include -L $ {ProjectDir} / Ultralite - lUltralite -force_load $ {ProjectDir} /Ultralite/libUltralite.a
-v -v -v -gcc_flags "-framework Security -lstdc++ -I${ProjectDir}/Ultralite/Include -L${ProjectDir}/Ultralite -lUltralite -force_load ${ProjectDir}/Ultralite/libUltralite.a"
我必须添加安全框架的原因是,当时,MonoTouch似乎包含此框架不在构建选项中指定链接,但在其他两个选项时不包括它重启。我通过比较不同选项的构建日志来确定这一点。
The reason I had to add the Security framework is that it seems MonoTouch includes this framework when Don't link is specified in the build options, but does not include it when the other two options are set. I determined this by comparing the build logs for the different options.