Skip to content

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

@alexp25

Description

@alexp25

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions