tkach / PinCodeTextField

MIT License
260 stars 100 forks source link

Error in Xcode 9.3 #29

Open Momeks opened 6 years ago

Momeks commented 6 years ago

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!

eshajari commented 6 years ago

same error I got in my project.

tkach commented 6 years ago

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

eshajari commented 6 years ago

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

RomanPodymov commented 5 years ago

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