Cap-go / capacitor-crisp

Crisp native SDK for capacitor

Home Page:https://www.npmjs.com/package/capacitor-crisp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to build the project

loicparent opened this issue · comments

Hello,

I encounter an issue with my IONIC application using CAPACITOR v3 when I try to build or run the app.
For example, when I use this command ionic cap run ios --open, the process stops with this error:

[capacitor] ✖ Updating iOS native dependencies with pod install - failed!
[capacitor] ✖ update ios - failed!
[capacitor] [error] Ignoring ffi-1.13.1 because its extensions are not built. Try: gem pristine ffi --version 1.13.1
[capacitor]         Analyzing dependencies
[capacitor]         Downloading dependencies
[capacitor]         Installing CapgoCapacitorCrisp (1.1.5)
[capacitor]         Installing Crisp (1.1.0)
[capacitor]         [!] The 'Pods-App' target has transitive dependencies that include statically linked binaries: (/…/app/test/test/ios/App/Pods/Crisp/Crisp.xcframework)
[capacitor]         
[ERROR] An error occurred while running subprocess capacitor.
        
        capacitor sync ios exited with exit code 1.

Could someone help me to identify what's wrong?

Also, I noticed that the documentation seems to be not up to date:
import { CapacitorCrisp } from 'capacitor-crisp';import { CapacitorCrisp } from '@capgo/capacitor-crisp';

Thanks for you help,
Loïc

Note: This issue in only for IOS. It works fine with desktop (web) version and with the Android version.

Thanks for the report @loicparent i did fix the doc issue, I will have look tomorrow for the build issue

@loicparent it seems you have a old version of crisp dependency. Can you go to the iOS/app forcer and do ‘pod update’ you should get the 1.6.4.
If that doesn’t work, remove capacitor crisp, do a sync and install again, that will take the last one

Hello @riderx,

It works very well since the update of Podfile using pod update.

Thank you for your help!
Loïc