Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to verify code signature of some framework and cannot install on device #1392

Open
alexp25 opened this issue Dec 19, 2023 · 4 comments

Comments

@alexp25
Copy link

alexp25 commented Dec 19, 2023

Bug Report

Problem

After updating to the the latest macOS (Sonoma), XCode (15.0.1) and iOS (17.1.1), I have encountered problems compiling and running my ionic cordova app via XCode.

What is expected to happen?

The app should be installed and run on the device.

What does actually happen?

The app compiles but when it attempts to install on the device, the following error pops up:

Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.97IJGl/extracted/Leplace World.app/Frameworks/OneSignal.framework : 0xe8008015 (A valid provisioning profile for this executable was not found.)
Verify that the Developer App certificate for your account is trusted on your device. Open Settings on the device and navigate to General -> VPN & Device Management, then select your Developer App certificate to trust it.

Information

I am aware that this issue might arise from a plugin, but I do not understand the underlying mechanism and what I should do about it, as I've never encountered such an error over the last few years, until I updated to the latest versions of macOS, Xcode, iOS, etc. The indication "Open Settings on the device and navigate to General -> VPN & Device Management, then select your Developer App certificate to trust it." seems misleading (what device? my iPhone? as there is no such setting on Mac, and no "certificate" on the iPhone).
I have seen issues that suggest an upcoming change in the certificate signing mechanism: #1391, which might impact all future developments - and seems to be already in effect.

Command or Code

run with Xcode

Environment, Platform, Device

macOS (Sonoma), Xcode (15.0.1) and iOS (17.1.1)

Version information

Cordova CLI: 12.0.0 ([email protected])
Cordova Platforms: ios 6.3.0
Xcode: 15.0.1
iOS: 17.1.1

Checklist

  • [ x ] I searched for existing GitHub issues
  • [ x ] I updated all Cordova tooling to most recent version
  • [ x ] I included all the necessary information above
@alexp25
Copy link
Author

alexp25 commented Dec 19, 2023

Update: I was able to install by using the cordova run ios command (this is great, but it doesn't include the debugger). Hopefully, this might bring some sense in order to further pinpoint and solve the issue (which might be related to Xcode itself, but something tells me that there are multiple factors involved).

@breautek
Copy link
Contributor

Is your device registered as a development device in your developer/team account? Sign into developer.apple.com and go to Devices.

The device needs to be registered for a lot of development features to work properly. Not really confident that this is the issue but something worth checking.

@1dstudio
Copy link

1dstudio commented Jan 1, 2024

Hi @breautek. I'm working on the free dev account and will get the paid in the next days. I noticed I can't run my app on a physical device with the "Enable App Sandbox" set to Yes. "A valid provisioning profile for this executable was not found". It installs fine on the emulator.

Is this one of the functions that requires a fully paid developer account?

@WorkerYT
Copy link

@1dstudio Just set "Enable App Sandbox" to No and your problem will be solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants