Skip to content

打包为IPA之后提示签名无效应该怎么解决? #269

@wangmingcong

Description

@wangmingcong

打为IPA包之后,未执行xcode的编译流程,运行到其他的手机上会提示 包的签名无效(tidevice提示为 Failed to verify code signature),应该怎么解决?详细信息如下:
执行代码:tidevice install WDA_Blue_syl.ipa
提示信息:
Copying 'WDA_Blue_syl.ipa' to device... [20.6 MB/s 0s] DONE.
Installing 'com.facebook.WebDriverAgentRunner.xctrunner' '1.0'

  • CreatingStagingDirectory (5%)
  • ExtractingPackage (15%)
  • InspectingPackage (20%)
  • PreflightingApplication (30%)
  • VerifyingApplication (40%)
    [E 230911 16:15:58 _installation:56] ApplicationVerificationFailed
    [E 230911 16:15:58 _installation:57] Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.IZ4gcg/extracted/Payload/WebDriverAgentRunner-Runner.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)
    Traceback (most recent call last):
    File "C:\Users\k25\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in run_module_as_main
    return run_code(code, main_globals, None,
    File "C:\Users\k25\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code
    exec(code, run_globals)
    File "C:\Users\k25\AppData\Local\Programs\Python\Python39\Scripts\tidevice.exe_main
    .py", line 7, in
    File "C:\Users\k25\AppData\Local\Programs\Python\Python39\lib\site-packages\tidevice_main
    .py", line 1012, in main
    actionsargs.subparser
    File "C:\Users\k25\AppData\Local\Programs\Python\Python39\lib\site-packages\tidevice_main
    .py", line 163, in cmd_install
    bundle_id = d.app_install(args.filepath_or_url)
    File "C:\Users\k25\AppData\Local\Programs\Python\Python39\lib\site-packages\tidevice_device.py", line 796, in app_install
    return self.installation.install(bundle_id, target_path)
    File "C:\Users\k25\AppData\Local\Programs\Python\Python39\lib\site-packages\tidevice_installation.py", line 58, in install
    raise ServiceError(progress['Error'])
    tidevice.exceptions.ServiceError: ApplicationVerificationFailed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions