tkach/PinCodeTextField

Error in Xcode 9.3

Opened this issue · 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!

same error I got in my project.

tkach commented

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
CocoaPods/CocoaPods#7606

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

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