美文网首页
The application bundle does not

The application bundle does not

作者: malgee | 来源:发表于2021-09-09 10:58 被阅读0次

报错信息详情:

Details

Unable to install "校本-dev"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653109
--
The application bundle does not contain an executable.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653109
User Info: {
    DVTRadarComponentKey = 364477;
    MobileDeviceErrorCode = "(0xE800004B)";
    "com.apple.dtdevicekit.stacktrace" = (
    0   DTDeviceKitBase                     0x0000000121ffcc8f DTDKCreateNSErrorFromAMDErrorCode + 220
    1   DTDeviceKitBase                     0x000000012203b241 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
    2   DVTFoundation                       0x00000001052a664b DVTInvokeWithStrongOwnership + 71
    3   DTDeviceKitBase                     0x000000012203af82 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
    4   IDEiOSSupportCore                   0x0000000121eaba10 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.292 + 3513
    5   DVTFoundation                       0x00000001053d517e __DVT_CALLING_CLIENT_BLOCK__ + 7
    6   DVTFoundation                       0x00000001053d6da0 __DVTDispatchAsync_block_invoke + 1191
    7   libdispatch.dylib                   0x00007fff72ef06c4 _dispatch_call_block_and_release + 12
    8   libdispatch.dylib                   0x00007fff72ef1658 _dispatch_client_callout + 8
    9   libdispatch.dylib                   0x00007fff72ef6c44 _dispatch_lane_serial_drain + 597
    10  libdispatch.dylib                   0x00007fff72ef75d6 _dispatch_lane_invoke + 363
    11  libdispatch.dylib                   0x00007fff72f00c09 _dispatch_workloop_worker_thread + 596
    12  libsystem_pthread.dylib             0x00007fff7314ba3d _pthread_wqthread + 290
    13  libsystem_pthread.dylib             0x00007fff7314ab77 start_wqthread + 15
);
}
--


System Information

macOS Version 10.15.7 (Build 19H15)
Xcode 12.4 (17801) (Build 12D4e)
Timestamp: 2021-09-09T10:24:03+08:00

检查info.plist里面是否缺少Executable file这一项, 如果缺少添加上

    <key>CFBundleExecutable</key>
    <string>$(EXECUTABLE_NAME)</string>

如果没有缺少,检查下是否引入了第三方xxx.xcodeproj 中的info.plist缺少Executable file这一项

  • 我的报上面的错误是由于手动导入Charts.xcodeproj的info.plist的缺少Executable file这一项, 添加上就OK
image.png

相关文章

网友评论

      本文标题:The application bundle does not

      本文链接:https://www.haomeiwen.com/subject/dusiwltx.html