Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface builder - FSCalendar - Designables - Build Failed #511

Closed
JulesMoorhouse opened this issue Dec 9, 2016 · 20 comments
Closed

Interface builder - FSCalendar - Designables - Build Failed #511

JulesMoorhouse opened this issue Dec 9, 2016 · 20 comments

Comments

@JulesMoorhouse
Copy link

The following informations are requested in a bug report

  • 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.

@james-rant
Copy link

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.

@WenchaoD
Copy link
Owner

This fix is merged. Thanks for the reporting.

@james-rant
Copy link

james-rant commented Dec 21, 2016

@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.

@WenchaoD
Copy link
Owner

Hi @james-rantmedia There is a conflict between Carthage and IB Rendering. See this issue.

@nealsun
Copy link

nealsun commented Dec 23, 2016

same problem, and I add this framework by cocoapod.

@cdepace
Copy link

cdepace commented Jan 5, 2017

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.

@yetelday
Copy link

I'm having the same issue, installed with cocoapods, working white Objective-c.

@tditchek
Copy link

I'm having the same issue, installed with Cocoapods, project is in swift 3, xcode 8.2.1

@pbrns
Copy link

pbrns commented Mar 8, 2017

i have the same issue, installed with cocoapods, objective-c, xcode 8.2.1

@WenchaoD
Copy link
Owner

WenchaoD commented Mar 8, 2017

This issue is fixed. What is your FSCalendar version in CocoaPods @pbrns ?

screen shot 2017-03-08 at 10 02 37 pm

@pbrns
Copy link

pbrns commented Mar 8, 2017

i have unfortunately 2.6.0 but i installed from cocoapods so i thought that it will be the last one.

@pbrns
Copy link

pbrns commented Mar 8, 2017

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.

@Prag1396
Copy link

I have the latest version for FSCalendar! But it still does not work :( Please help

@namkazt
Copy link

namkazt commented Apr 12, 2018

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'

@saitejapanditi67
Copy link

saitejapanditi67 commented Apr 13, 2018

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

@xhidnoda
Copy link

I use FSCalendar 2.7.9 Xcode 9.2 and swift 4...and this error still.

@namkazt
Copy link

namkazt commented Apr 27, 2018

better use it manual

@nitishmaropost
Copy link

@WenchaoD : Is there any fix for this ? I am facing the same as others in version 2.7.9, Xcode 9.4

@burf2000
Copy link

I have the latest version and still have the same error. 2.79, 9.4.1

@hwyba28
Copy link

hwyba28 commented Sep 7, 2022

I hope so it would be help!
I do not recommend to connect FSCalendar with ViewController directly by using drag

  1. Add UIView to storyboard
  2. Declare FSCalendar as programmatically. (Refer to the https://github.com/WenchaoD/FSCalendar)
    Then add this code to your ViewController -> yourUIView.addsubview(calendar)..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests