PinCodeTextField icon indicating copy to clipboard operation
PinCodeTextField copied to clipboard

Error in Xcode 9.3

Open Momeks opened this issue 7 years ago • 4 comments

Hello , When I add PinCodeTextField on view xcode gives me this error :

IB Designables: Failed to render and update auto layout status for ActivateViewController (BsR-nV-Gia): dlopen(PinCodeTextField.framework, 1): no suitable image found. Did find: PinCodeTextField.framework: required code signature missing for 'PinCodeTextField.framework'

and pincode is blank and shows only when app runs. I updated cocoapods and problem still exist!

Momeks avatar May 20 '18 13:05 Momeks

same error I got in my project.

eshajari avatar May 23 '18 06:05 eshajari

Hi guys thanks for reporting. I actually have no idea why would this happen but found many similar issues with other pods, so as a quick fix you can try to do the following:

Add this to your Podfile

# Workaround for Cocoapods issue #7606
post_install do |installer|
    installer.pods_project.build_configurations.each do |config|
        config.build_settings.delete('CODE_SIGNING_ALLOWED')
        config.build_settings.delete('CODE_SIGNING_REQUIRED')
    end
end

And if this won't work, clean derived data in XCode. Hope it helps! P.S. Seems that this is an issue with Cocoapods, here is the reference https://github.com/CocoaPods/CocoaPods/issues/7606

tkach avatar May 23 '18 06:05 tkach

@tkach Thanks for the quick response. That works for me and solved my issue.

eshajari avatar May 23 '18 06:05 eshajari

Hello @Momeks Do you get the error in Xcode 10.2.1? If no you can close the issue.

RomanPodymov avatar Jul 01 '19 11:07 RomanPodymov