CameraEngine icon indicating copy to clipboard operation
CameraEngine copied to clipboard

When using cocoapod "Failed to verify code signature"

Open jdboivin opened this issue 9 years ago • 1 comments

This is when building app for "In House" and using cocoapod

Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/....../Frameworks/CameraEngine.framework

I'm not too familiar with cocoapod but it seems like the info.plist file is the culprit? When exporting the .ipa file, CameraEngine had a "binary" / "executable" icon instead of the framework icon from usual pods.

jdboivin avatar Jun 09 '16 11:06 jdboivin

Add this block into your pod file:

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
            config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
            config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
        end
    end
end

ltebean avatar Jul 22 '16 08:07 ltebean