简体   繁体   English

无法安装 - 找不到此可执行文件的有效配置文件 Xcode 11

[英]Unable to install - A valid provisioning profile for this executable was not found Xcode 11

Ever since Xcode 11 I've not been able to run any apps on my device.自 Xcode 11 以来,我一直无法在我的设备上运行任何应用程序。 They will launch in the simulator just fine.他们将在模拟器中启动就好了。 I have an iPhone 11 Max Pro.我有一部 iPhone 11 Max Pro。

I've tried everything I can think of to get it to work and I have no idea what to do at this point.我已经尝试了所有我能想到的方法来让它工作,但我现在不知道该怎么做。 Has anyone figured out a fix ?有没有人想出解决办法?

I did try setting my project to Legacy build and I still have the same issue.我确实尝试将我的项目设置为 Legacy build,但我仍然遇到同样的问题。

Here are the details of the failed install to my iPhone.以下是我的 iPhone 安装失败的详细信息。

Details

Unable to install "App Test"
Domain: com.apple.dtdevicekit
Code: -402620395
--
App installation failed
Domain: com.apple.dtdevicekit
Code: -402620395
Failure Reason: A valid provisioning profile for this executable was not found.
User Info: {
    DVTRadarComponentKey = 487927;
    "com.apple.dtdevicekit.stacktrace" = (
    0   DTDeviceKitBase                     0x00000001251586e7 DTDKCreateNSError + 109
    1   DTDeviceKitBase                     0x0000000125158de9 DTDK_AMDErrorToNSError + 792
    2   DTDeviceKitBase                     0x000000012519856a __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 164
    3   DVTFoundation                       0x000000010b27cc22 DVTInvokeWithStrongOwnership + 73
    4   DTDeviceKitBase                     0x0000000125198301 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1589
    5   IDEiOSSupportCore                   0x0000000125020a25 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4523
    6   DVTFoundation                       0x000000010b3ade8a __DVT_CALLING_CLIENT_BLOCK__ + 7
    7   DVTFoundation                       0x000000010b3af562 __DVTDispatchAsync_block_invoke + 809
    8   libdispatch.dylib                   0x00007fff6d6ca583 _dispatch_call_block_and_release + 12
    9   libdispatch.dylib                   0x00007fff6d6cb50e _dispatch_client_callout + 8
    10  libdispatch.dylib                   0x00007fff6d6d0ace _dispatch_lane_serial_drain + 597
    11  libdispatch.dylib                   0x00007fff6d6d1452 _dispatch_lane_invoke + 363
    12  libdispatch.dylib                   0x00007fff6d6daa9e _dispatch_workloop_worker_thread + 598
    13  libsystem_pthread.dylib             0x00007fff6d9256fc _pthread_wqthread + 290
    14  libsystem_pthread.dylib             0x00007fff6d924827 start_wqthread + 15
);
}
--

I faced this issue today and I could not fix it either with the proposed solutions that are out there, because they pointed into the wrong direction.我今天遇到了这个问题,我也无法使用现有的建议解决方案来解决它,因为它们指向了错误的方向。

Do you, by any chance, have frameworks included in your project and set them to "embed without signing"?您是否有任何机会在您的项目中包含框架并将它们设置为“无需签名即可嵌入”? Changing the included frameworks to "embed & sign" fixed this issue for me.将包含的框架更改为“嵌入和签名”为我解决了这个问题。

Not properly re-signing external frameworks seems to cause problems when attempting to install the binary to a real device.尝试将二进制文件安装到真实设备时,未正确重新签名外部框架似乎会导致问题。 The executable mentioned in "A valid provisioning profile for this executable was not found." “找不到此可执行文件的有效配置文件”中提到的可执行文件。 does in this context refer to the insufficiently signed external framework.在这种情况下,does 指的是未充分签署的外部框架。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 找不到此可执行文件的有效配置文件-XCode - A valid provisioning profile for this executable was not found - XCode Xcode 4.3.1“找不到此可执行文件的有效配置文件” - Xcode 4.3.1 “A valid provisioning profile for this executable was not found” Xcode 8找不到此可执行文件的有效配置文件 - Xcode 8 A valid provisioning profile for this executable was not found Xcode 10:未找到此可执行文件的有效配置文件 - Xcode 10: A valid provisioning profile for this executable was not found 找不到此可执行文件的有效配置文件错误Xcode 9 - A valid provisioning profile for this executable was not found error Xcode 9 xcode“找不到此可执行文件的有效配置文件” - xcode “A valid provisioning profile for this executable was not found” 此可执行文件的有效配置文件未找到IOS 12,但仍在IOS 11,xcode 10中启动 - A valid provisioning profile for this executable was not found IOS 12 but launches still in IOS 11, xcode 10 找不到此可执行文件的有效配置文件 - A valid provisioning profile for this executable was not found 找不到有效的配置文件为此可执行文件 - Valid provisioning profile not found for this executable Xcode 7:应用程序安装失败:找不到此可执行文件的有效配置文件 - Xcode 7: App installation failed: A valid provisioning profile for this executable was not found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM