SocketMobile / capturesdk_flutter

Public snapshot for flutter sdk
MIT License
3 stars 1 forks source link

Error with ios #11

Open obadah9 opened 2 days ago

obadah9 commented 2 days ago

hello when i had added the capturesdk_flutter package : capturesdk_flutter: git: url: https://oauth2:MYTOKEN@sdk.socketmobile.com/capture/flutter-capturesdk.git version: ^1.5.19 i had a problem with ios : [!] CocoaPods could not find compatible versions for pod "CaptureSDK": In Podfile: capturesdk_flutter (from .symlinks/plugins/capturesdk_flutter/ios) was resolved to 1.5.19, which depends on CaptureSDK (~> 1.9.59) i have tried pod install --repo-update and did not worked thank you in advance

obadah9 commented 2 days ago

arch -x86_64 pod install --repo-update : [!] CocoaPods could not find compatible versions for pod "CaptureSDK": In Podfile: capturesdk_flutter (from .symlinks/plugins/capturesdk_flutter/ios) was resolved to 1.5.19, which depends on CaptureSDK (~> 1.9.59)

None of your spec sources contain a spec satisfying the dependency: CaptureSDK (~> 1.9.59).

You have either:

doubleo2 commented 2 days ago

The Flutter instructions are missing a step

  1. Log in to the developer portal
  2. Scroll down to Getting started with CaptureSDK
  3. Click on the iOS Cocoapods tab
  4. Copy-paste the source ... line into the top of your Flutter project's Podfile

Note: You do not need to add the pod ... line to your Podfile since that is added by the capturesdk_flutter plugin

doubleo2 commented 2 days ago

Make sure you copied the source ... line exactly as it appears on the iOS Cocoapods tab because the access token is different than the one in your pubspec