我正在尝试让squish在iOS应用程序中工作。根据froglogic,我需要添加#include <qtbuiltinhook.h>,还需要在app.exec();之前添加Squish::allowAttaching(11233);,同时将include(<path>/qtbuiltinhook.pri)添加到项目.pro文件中。
我已经这样做了,在运行应用程序时,我可以看到iOS设备上的端口是打开的。问题是,当我运行squish时,我无法连接到应用程序。我正在使用attachToApplication("application_that_is_mapped"),但收到以下错误消息"Detail RuntimeError: Attaching to AUT 'appName' failed: connection to AUT refused."
到目前为止,我能告诉你的唯一可能导致这个问题的事情是,在安装squish时,我无法链接到包含qtcore.framework的目录,因为我没有那个文件。有什么想法吗?
发布于 2016-01-05 20:40:28
您是否对链接器标志进行了更改?做..
在build settings.
<squishdir>/lib/arm/libsquishioswrapper.a
-lstdc++ -lz -force_load <squishdir>/lib/arm/libsquishioswrapper.ahttps://stackoverflow.com/questions/29200739
复制相似问题