A brief bug description.
I've upgraded to use use_frameworks! as I thought the designables build failed error was the caused by this. When I click on show to see the error, it shows nothing relevant only a working copy error.
Stack trace.
None.
Integration method.(manually/cocoapods/carthage)
Cocoapods
Full steps to reproduce.
Add the FSCalendar to a view, Build Failed error is produced.
Device modal and iOS version. e.g. iPhone 6s iOS9.1
iOS8.0
Xcode version. e.g. Xcode 8.1
Xcode 8.1
FSCalendar version. e.g. FSCalenda 2.5.1
FSCalendar (2.6.0)
Does this happen in the demo project? Which one? Or a link to another demo project.
Yes, the objective-c demo, I haven't tried the swift demo.
Happens in the Swift example too. Pressing the "show" button next to "Designables build failed" shows a warning saying "Ignoring user defined runtime attribute for key path adjustsFontSizeToFitContentSize on instance of UIView. Hit an exception when attempting to set its value: [<UIView 0x7faaf8c59590> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key adjustsFontSizeToFitContentSize.
Although I get the feeling that's a symptom rather than a cause.
This fix is merged. Thanks for the reporting.
@WenchaoD Appears to be working in the Example swift project now but that includes the source files directly in the project.
I still get build failed when trying to use FSCalendar as a designable in IB when it's added as a framework built via Carthage.
Hi @james-rantmedia There is a conflict between Carthage and IB Rendering. See this issue.
same problem, and I add this framework by cocoapod.
I have just added the library with CocoaPods and I have the same error. I read that the fix was merged 16 days ago so I wonder why it doesn't work.
I'm having the same issue, installed with cocoapods, working white Objective-c.
I'm having the same issue, installed with Cocoapods, project is in swift 3, xcode 8.2.1
i have the same issue, installed with cocoapods, objective-c, xcode 8.2.1
This issue is fixed. What is your FSCalendar version in CocoaPods @pbrns ?
i have unfortunately 2.6.0 but i installed from cocoapods so i thought that it will be the last one.
i do pod update and the version 2.7.3 downloaded. Strange because i installed via cocoapod 3-4 days ago. So now is ok i have the latest 2.7.3 and the Designables are OK. Tnx for the answer.
I have the latest version for FSCalendar! But it still does not work :( Please help
not work for me.
xcode 9.3, swift 4, cocoapod, FSCalendar 2.7.9
add UIView as tutorial but it said:
xxx.storyboard: error: IB Designables: Failed to render and update auto layout status for NewEventStep1View (VMT-Q0-O5m): dlopen(FSCalendar.framework, 1): no suitable image found. Did find:
FSCalendar.framework: required code signature missing for 'FSCalendar.framework'
same here , after updating the pod files i also got the same error.
error: IB Designables: Failed to render and update auto layout status for NewEventStep1View (VMT-Q0-O5m): dlopen(FSCalendar.framework, 1): no suitable image found. Did find: FSCalendar.framework: required code signature missing for 'FSCalendar.framework'
resolved this error by updating the project pod files in the xcode version 9.2
I use FSCalendar 2.7.9 Xcode 9.2 and swift 4...and this error still.
better use it manual
@WenchaoD : Is there any fix for this ? I am facing the same as others in version 2.7.9, Xcode 9.4
I have the latest version and still have the same error. 2.79, 9.4.1
Most helpful comment
I have the latest version and still have the same error. 2.79, 9.4.1