pmusolino / PMSuperButton

🔥 PMSuperButton is a powerful UIButton coming from the countryside, but with super powers! 😎
MIT License
724 stars 44 forks source link

Having build issue for Storyboard with latest Xcode #10

Closed allnash closed 6 years ago

allnash commented 6 years ago

You can find more about it here.

https://stackoverflow.com/questions/39732312/xcode-8-ib-designables-failed-to-render-and-update-auto-layout-status-the-a

allnash commented 6 years ago

Ok...

So this only happens after Apple's PHENOMENAL(release and break shit update) of Xcode version - Version 9.4 (9F1027a).

Please see this --> https://github.com/CocoaPods/CocoaPods/issues/7606#issuecomment-381279098

I added the following at the end of my Podfile which fixed it.


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```
pmusolino commented 6 years ago

Thanks for sharing!

patopipp commented 6 years ago

Hey! This solution worked for me!