crisp-im / crisp-sdk-ios

:package: Crisp iOS SDK, add a chat in any iOS app and communicate with your users.
https://docs.crisp.chat/guides/chatbox-sdks/ios-sdk/
Other
45 stars 19 forks source link

1.0.3 hasMissingDesignatedInitializers #29

Closed DrashtiJaviya-Openxcell closed 1 year ago

DrashtiJaviya-Openxcell commented 4 years ago

I use Pod and installed pod version crisp 1.0.3 I tried with Pod install --repo-update works and says that Crisp 1.0.3 is installed and I see the framework in my Project. But the "import Crisp" failed with No such module 'Crisp' and I found an error like

{{path}}/DerivedData/CrispDemo1-gkfxoeytlqjtltcxsdnybdsbtika/Build/Products/Debug-iphonesimulator/Crisp.framework/Modules/Crisp.swiftmodule/x86_64-apple-ios-simulator.swiftinterface:19:35: Unknown attribute '_hasMissingDesignatedInitializers'

I also tried with manual integration of the framework but I get the same error. I also tried downgrading pod and user but the same error getting.

I cleaned my project and deleted derived data between 0.1.30 to 1.3.0 migration. My environement is : Pod : 1.10.0 Xcode : Version 11.3 platform :ios, '11.0', swift version : 5

DrashtiJaviya-Openxcell commented 4 years ago

We are still waiting for the response on this so could you please help us by letting us know how can we resolve this issue as we can not move forward with further development progress until we resolve this issue. I will be very grateful If anyone can do also help out to solve.

eliottvincent commented 4 years ago

Hello there, we will release a new version of the iOS SDK in the coming days.

DrashtiJaviya-Openxcell commented 4 years ago

@eliottvincent Thanks for the response. Once you guys update SDK Version Please let us know.

nesium commented 4 years ago

We've just release version 1.0.6 which hopefully addresses this issue. Could you please try again with that version and let us know if you're still encountering the problem?

DrashtiJaviya-Openxcell commented 4 years ago

Hello @nesium

I am facing still the same issue in the latest version which is you mentioned above. Here I attached an error screenshot for your reference and also share my project configuration. I tried to install with pod and Cocoa pod version: 1.10.0 I am used.

Screenshot 2020-11-19 at 10 21 00 AM Screenshot 2020-11-19 at 10 27 04 AM Screenshot 2020-11-19 at 10 28 43 AM

nesium commented 4 years ago

Hi @DrashtiJaviya-Openxcell. Thanks for checking! Apparently this problem can even happen between point releases of Swift. See this thread. Is there a chance that you can upgrade to the latest Xcode and Swift version?

nesium commented 1 year ago

Hi everyone,

It’s been a while since this issue was reported, and we’ve launched a new major version of the Crisp SDK since then. The updates might have resolved the issue you encountered.

We’d appreciate it if you test the latest version to see if the issue persists. Feel free to reopen this issue with more details if needed.

Thanks for your support!