解决wda不会被拉起的问题
This commit is contained in:
124
.idea/workspace.xml
generated
124
.idea/workspace.xml
generated
@@ -5,49 +5,11 @@
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="eceeff5e-51c1-459c-a911-d21ec090a423" name="Changes" comment="ai 开始测试">
|
||||
<change afterPath="$PROJECT_DIR$/resources/iproxy/tidevice.exe" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/tidevice_entry.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Entity/Variables.py" beforeDir="false" afterPath="$PROJECT_DIR$/Entity/Variables.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.0/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.0/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.1/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.1/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.2/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.2/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.3.1/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.3.1/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.3/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.3/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.4/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.4/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.5/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.5/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.6.1/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.6.1/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.6/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.6/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.7/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.7/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.8/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/15.8/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.0/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.0/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.1/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.1/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.2/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.2/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.3.1/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.3.1/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.3/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.3/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.4/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.4/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.5/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.5/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.6/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.6/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.7/DeveloperDiskImage.dmg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/SupportFiles/16.7/DeveloperDiskImage.dmg.signature" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Utils/DevDiskImageDeployer.py" beforeDir="false" afterPath="$PROJECT_DIR$/Utils/DevDiskImageDeployer.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/build.bat" beforeDir="false" afterPath="$PROJECT_DIR$/build.bat" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
@@ -87,56 +49,34 @@
|
||||
<option name="hideEmptyMiddlePackages" value="true" />
|
||||
<option name="showLibraryContents" value="true" />
|
||||
</component>
|
||||
<component name="PropertiesComponent">{
|
||||
"keyToString": {
|
||||
"ASKED_ADD_EXTERNAL_FILES": "true",
|
||||
"Python.123.executor": "Run",
|
||||
"Python.Main.executor": "Run",
|
||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"SHARE_PROJECT_CONFIGURATION_FILES": "true",
|
||||
"git-widget-placeholder": "main",
|
||||
"javascript.nodejs.core.library.configured.version": "22.18.0",
|
||||
"javascript.nodejs.core.library.typings.version": "22.18.0",
|
||||
"last_opened_file_path": "F:/company code/AI item/20250820/iOSAI",
|
||||
"node.js.detected.package.eslint": "true",
|
||||
"node.js.detected.package.tslint": "true",
|
||||
"node.js.selected.package.eslint": "(autodetect)",
|
||||
"node.js.selected.package.tslint": "(autodetect)",
|
||||
"nodejs_package_manager_path": "npm",
|
||||
"settings.editor.selected.configurable": "com.gitee.ui.GiteeSettingsConfigurable",
|
||||
"vue.rearranger.settings.migration": "true"
|
||||
<component name="PropertiesComponent"><![CDATA[{
|
||||
"keyToString": {
|
||||
"ASKED_ADD_EXTERNAL_FILES": "true",
|
||||
"Python.123.executor": "Run",
|
||||
"Python.Main.executor": "Run",
|
||||
"Python.tidevice_entry.executor": "Run",
|
||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"SHARE_PROJECT_CONFIGURATION_FILES": "true",
|
||||
"git-widget-placeholder": "main",
|
||||
"javascript.nodejs.core.library.configured.version": "22.18.0",
|
||||
"javascript.nodejs.core.library.typings.version": "22.18.0",
|
||||
"last_opened_file_path": "F:/company code/AI item/20250820/iOSAI",
|
||||
"node.js.detected.package.eslint": "true",
|
||||
"node.js.detected.package.tslint": "true",
|
||||
"node.js.selected.package.eslint": "(autodetect)",
|
||||
"node.js.selected.package.tslint": "(autodetect)",
|
||||
"nodejs_package_manager_path": "npm",
|
||||
"settings.editor.selected.configurable": "com.gitee.ui.GiteeSettingsConfigurable",
|
||||
"vue.rearranger.settings.migration": "true"
|
||||
}
|
||||
}</component>
|
||||
}]]></component>
|
||||
<component name="RecentsManager">
|
||||
<key name="MoveFile.RECENT_KEYS">
|
||||
<recent name="E:\Code\python\iOSAI\resources" />
|
||||
<recent name="E:\Code\python\iOSAI" />
|
||||
</key>
|
||||
</component>
|
||||
<component name="RunManager" selected="Python.Main">
|
||||
<configuration name="123" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
|
||||
<module name="iOSAI" />
|
||||
<option name="ENV_FILES" value="" />
|
||||
<option name="INTERPRETER_OPTIONS" value="" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<envs>
|
||||
<env name="PYTHONUNBUFFERED" value="1" />
|
||||
</envs>
|
||||
<option name="SDK_HOME" value="" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/test" />
|
||||
<option name="IS_MODULE_SDK" value="true" />
|
||||
<option name="ADD_CONTENT_ROOTS" value="true" />
|
||||
<option name="ADD_SOURCE_ROOTS" value="true" />
|
||||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/test/123.py" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<option name="SHOW_COMMAND_LINE" value="false" />
|
||||
<option name="EMULATE_TERMINAL" value="false" />
|
||||
<option name="MODULE_MODE" value="false" />
|
||||
<option name="REDIRECT_INPUT" value="false" />
|
||||
<option name="INPUT_FILE" value="" />
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
<component name="RunManager">
|
||||
<configuration name="Main" type="PythonConfigurationType" factoryName="Python" nameIsGenerated="true">
|
||||
<module name="iOSAI" />
|
||||
<option name="ENV_FILES" value="" />
|
||||
@@ -146,6 +86,7 @@
|
||||
<env name="PYTHONUNBUFFERED" value="1" />
|
||||
</envs>
|
||||
<option name="SDK_HOME" value="" />
|
||||
<option name="SDK_NAME" value="Python 3.12" />
|
||||
<option name="WORKING_DIRECTORY" value="" />
|
||||
<option name="IS_MODULE_SDK" value="false" />
|
||||
<option name="ADD_CONTENT_ROOTS" value="true" />
|
||||
@@ -160,11 +101,6 @@
|
||||
<option name="INPUT_FILE" value="" />
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
<recent_temporary>
|
||||
<list>
|
||||
<item itemvalue="Python.123" />
|
||||
</list>
|
||||
</recent_temporary>
|
||||
</component>
|
||||
<component name="SharedIndexes">
|
||||
<attachedChunks>
|
||||
@@ -210,6 +146,11 @@
|
||||
<workItem from="1756370074173" duration="5000" />
|
||||
<workItem from="1756370506697" duration="11274000" />
|
||||
<workItem from="1756389997073" duration="173000" />
|
||||
<workItem from="1756736619272" duration="579000" />
|
||||
<workItem from="1756791937306" duration="11495000" />
|
||||
<workItem from="1756817404737" duration="95000" />
|
||||
<workItem from="1756876974097" duration="8214000" />
|
||||
<workItem from="1756886673655" duration="1733000" />
|
||||
</task>
|
||||
<task id="LOCAL-00001" summary="ai 开始测试">
|
||||
<option name="closed" value="true" />
|
||||
@@ -234,7 +175,10 @@
|
||||
<option name="LAST_COMMIT_MESSAGE" value="ai 开始测试" />
|
||||
</component>
|
||||
<component name="com.intellij.coverage.CoverageDataManagerImpl">
|
||||
<SUITE FILE_PATH="coverage/iOSAI$Main.coverage" NAME="Main Coverage Results" MODIFIED="1756390027877" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="" />
|
||||
<SUITE FILE_PATH="coverage/iOSAI$Main.coverage" NAME="Main Coverage Results" MODIFIED="1756877405122" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="" />
|
||||
<SUITE FILE_PATH="coverage/iOSAI$mac_wda_agent.coverage" NAME="mac_wda_agent Coverage Results" MODIFIED="1756473148639" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/script" />
|
||||
<SUITE FILE_PATH="coverage/iOSAI$tidevice_entry.coverage" NAME="tidevice_entry Coverage Results" MODIFIED="1756886706033" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
|
||||
<SUITE FILE_PATH="coverage/iOSAI$123.coverage" NAME="123 覆盖结果" MODIFIED="1756300694280" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/test" />
|
||||
<SUITE FILE_PATH="coverage/iOSAI$windows_run.coverage" NAME="windows_run Coverage Results" MODIFIED="1756473558532" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/script" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -4,6 +4,7 @@ from Entity.AnchorModel import AnchorModel
|
||||
|
||||
# wda apple bundle id
|
||||
WdaAppBundleId = "com.yolozsAgent.wda.xctrunner"
|
||||
|
||||
# 全局主播列表
|
||||
anchorList: list[AnchorModel] = []
|
||||
# 线程锁
|
||||
|
||||
9
build-tidevice.bat
Normal file
9
build-tidevice.bat
Normal file
@@ -0,0 +1,9 @@
|
||||
pyinstaller -F -n tidevice ^
|
||||
--hidden-import=tidevice._proto ^
|
||||
--hidden-import=tidevice._instruments ^
|
||||
--hidden-import=tidevice._usbmux ^
|
||||
--hidden-import=tidevice._wdaproxy ^
|
||||
--collect-all tidevice ^
|
||||
-c ^
|
||||
--add-data="C:\Users\milk\AppData\Local\Programs\Python\Python312\Lib\site-packages\tidevice;tidevice" ^
|
||||
tidevice_entry.py
|
||||
13
build.bat
13
build.bat
@@ -1,11 +1,17 @@
|
||||
python -m nuitka Module/Main.py ^
|
||||
@echo off
|
||||
python -m nuitka Module\Main.py ^
|
||||
--standalone ^
|
||||
--msvc=latest ^
|
||||
--windows-console-mode=disable ^
|
||||
--remove-output ^
|
||||
--output-dir=out ^
|
||||
--output-filename=IOSAI ^
|
||||
--include-package=Module,Utils,Entity,script ^
|
||||
--include-package=Module,Utils,Entity,script,tidevice ^
|
||||
--include-module=tidevice.__main__ ^
|
||||
--include-module=tidevice._proto ^
|
||||
--include-module=tidevice._instruments ^
|
||||
--include-module=tidevice._usbmux ^
|
||||
--include-module=tidevice._wdaproxy ^
|
||||
--include-module=flask ^
|
||||
--include-module=flask_cors ^
|
||||
--include-module=jinja2 ^
|
||||
@@ -21,4 +27,5 @@ python -m nuitka Module/Main.py ^
|
||||
--include-data-dir="E:/Code/python/iOSAI/SupportFiles=SupportFiles" ^
|
||||
--include-data-dir="E:/Code/python/iOSAI/resources=resources" ^
|
||||
--include-data-files="E:/Code/python/iOSAI/resources/iproxy/*=resources/iproxy/" ^
|
||||
--windows-icon-from-ico=resources/icon.ico
|
||||
--windows-icon-from-ico=resources/icon.ico
|
||||
pause
|
||||
BIN
resources/iproxy/tidevice.exe
Normal file
BIN
resources/iproxy/tidevice.exe
Normal file
Binary file not shown.
4
tidevice_entry.py
Normal file
4
tidevice_entry.py
Normal file
@@ -0,0 +1,4 @@
|
||||
# tidevice_entry.py
|
||||
from tidevice.__main__ import main
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user