No such module 'SendBirdSDK'

Hello, I’m using SendBird SDK
It builds, but I get an error (No such module ‘SendBirdSDK’) and can’t find the related features in Xcode.

  • Development Environment
    Xcode 13, Big sur 11.6
  • Installed Pod
    pod ‘SendBirdSDK’

Is it an issue in the Xcode 13?

1 Like

@MACAKM I’m having this issue as well. Running same specs, I found that the error will disappear when forcing xcode to run via rosetta. It seems like a temporary fix but haven’t had much luck with this either.

Hello @MACAKM @palosantos I will get back to you guys after some investigation. Would you tell me which SDK version you used? and are you guys using mac with Apple silicon?

1 Like

Hi, @Woo.
This is the version i am using

  • SendBirdCalls (1.7.1):
    • SendBirdWebRTC (~> 1.3.0)
    • SendBirdSDK (3.0.234)
    • SendBirdUIKit (2.1.13):
      • SendBirdSDK (~> 3.0.226)
    • SendBirdWebRTC (1.3.0)

I’m using Mac with intel

Hi @MACAKM, Can you please show us a snippet of your Podfile and Podfile.lock where you specify the dependencies?

Hi, @mininny

  • Podfile

Uncomment the next line to define a global platform for your project

platform :ios, ‘9.0’

target ‘mindcafe’ do

Comment the next line if you don’t want to use dynamic frameworks

use_frameworks!

use_modular_headers!

Pods for mindcafe

pod ‘TagListView’, ‘~> 1.0’

Reactive

pod ‘RxSwift’
pod ‘RxCocoa’
pod “RxGesture”

Realm

pod ‘RealmSwift’

Image download

pod ‘Kingfisher’

Networking

pod ‘Alamofire’, ‘~> 5.0’

Facebook

pod ‘FBSDKCoreKit’, ‘~> 9.0’
pod ‘FBSDKLoginKit’, ‘~> 9.0’

Firebase

pod ‘Firebase/Messaging’
pod ‘Firebase/Analytics’
pod ‘Firebase/Crashlytics’

Logging

pod ‘Logging’, ‘~> 1.1.1’

UI & Constraints

pod ‘SnapKit’, ‘~> 5.0.0’
pod ‘Then’
pod ‘NVActivityIndicatorView’
pod ‘CHIPageControl’, ‘~> 0.1.3’
pod ‘FLAnimatedImage’, ‘~> 1.0’
pod ‘DropDown’
pod ‘UITextView+Placeholder’

Mapper

pod ‘ObjectMapper’, ‘~> 3.4’

ChannelTalk

pod ‘ChannelIOSDK’, podspec: ‘https://mobile-static.channel.io/ios/latest/xcframework.podspec

Secure UserDefaults

pod ‘SecureNSUserDefaults’, ‘~> 1.0.1’

Spreadsheet

pod ‘SpreadsheetView’

SendBird

pod “SendBirdUIKit”
pod ‘SendBirdSDK’
pod ‘SendBirdCalls’

Payment

pod ‘SwiftyIamport’, ‘~> 4.2.0’

Mixpanel

pod ‘Mixpanel-swift’

end

  • podfile.lock
    PODS:
    • Alamofire (5.4.4)
    • ChannelIOSDK (9.1.2)
    • CHIPageControl (0.1.8):
      • CHIPageControl/Aji (= 0.1.8)
      • CHIPageControl/Aleppo (= 0.1.8)
      • CHIPageControl/Chimayo (= 0.1.8)
      • CHIPageControl/Fresno (= 0.1.8)
      • CHIPageControl/Jalapeno (= 0.1.8)
      • CHIPageControl/Jaloro (= 0.1.8)
      • CHIPageControl/Paprika (= 0.1.8)
      • CHIPageControl/Puya (= 0.1.8)
    • CHIPageControl/Aji (0.1.8)
    • CHIPageControl/Aleppo (0.1.8)
    • CHIPageControl/Chimayo (0.1.8)
    • CHIPageControl/Fresno (0.1.8)
    • CHIPageControl/Jalapeno (0.1.8)
    • CHIPageControl/Jaloro (0.1.8)
    • CHIPageControl/Paprika (0.1.8)
    • CHIPageControl/Puya (0.1.8)
    • CocoaSecurity (1.2.4)
    • DropDown (2.3.13)
    • FBSDKCoreKit (9.3.0):
      • FBSDKCoreKit/Basics (= 9.3.0)
      • FBSDKCoreKit/Core (= 9.3.0)
    • FBSDKCoreKit/Basics (9.3.0)
    • FBSDKCoreKit/Core (9.3.0):
      • FBSDKCoreKit/Basics
    • FBSDKLoginKit (9.3.0):
      • FBSDKLoginKit/Login (= 9.3.0)
    • FBSDKLoginKit/Login (9.3.0):
      • FBSDKCoreKit (~> 9.3.0)
    • Firebase/Analytics (8.8.0):
      • Firebase/Core
    • Firebase/Core (8.8.0):
      • Firebase/CoreOnly
      • FirebaseAnalytics (~> 8.8.0)
    • Firebase/CoreOnly (8.8.0):
      • FirebaseCore (= 8.8.0)
    • Firebase/Crashlytics (8.8.0):
      • Firebase/CoreOnly
      • FirebaseCrashlytics (~> 8.8.0)
    • Firebase/Messaging (8.8.0):
      • Firebase/CoreOnly
      • FirebaseMessaging (~> 8.8.0)
    • FirebaseAnalytics (8.8.0):
      • FirebaseAnalytics/AdIdSupport (= 8.8.0)
      • FirebaseCore (~> 8.0)
      • FirebaseInstallations (~> 8.0)
      • GoogleUtilities/AppDelegateSwizzler (~> 7.4)
      • GoogleUtilities/MethodSwizzler (~> 7.4)
      • GoogleUtilities/Network (~> 7.4)
      • “GoogleUtilities/NSData+zlib (~> 7.4)”
      • nanopb (~> 2.30908.0)
    • FirebaseAnalytics/AdIdSupport (8.8.0):
      • FirebaseCore (~> 8.0)
      • FirebaseInstallations (~> 8.0)
      • GoogleAppMeasurement (= 8.8.0)
      • GoogleUtilities/AppDelegateSwizzler (~> 7.4)
      • GoogleUtilities/MethodSwizzler (~> 7.4)
      • GoogleUtilities/Network (~> 7.4)
      • “GoogleUtilities/NSData+zlib (~> 7.4)”
      • nanopb (~> 2.30908.0)
    • FirebaseCore (8.8.0):
      • FirebaseCoreDiagnostics (~> 8.0)
      • GoogleUtilities/Environment (~> 7.4)
      • GoogleUtilities/Logger (~> 7.4)
    • FirebaseCoreDiagnostics (8.8.0):
      • GoogleDataTransport (~> 9.0)
      • GoogleUtilities/Environment (~> 7.4)
      • GoogleUtilities/Logger (~> 7.4)
      • nanopb (~> 2.30908.0)
    • FirebaseCrashlytics (8.8.0):
      • FirebaseCore (~> 8.0)
      • FirebaseInstallations (~> 8.0)
      • GoogleDataTransport (~> 9.0)
      • GoogleUtilities/Environment (~> 7.4)
      • nanopb (~> 2.30908.0)
      • PromisesObjC (< 3.0, >= 1.2)
    • FirebaseInstallations (8.8.0):
      • FirebaseCore (~> 8.0)
      • GoogleUtilities/Environment (~> 7.4)
      • GoogleUtilities/UserDefaults (~> 7.4)
      • PromisesObjC (< 3.0, >= 1.2)
    • FirebaseMessaging (8.8.0):
      • FirebaseCore (~> 8.0)
      • FirebaseInstallations (~> 8.0)
      • GoogleDataTransport (~> 9.0)
      • GoogleUtilities/AppDelegateSwizzler (~> 7.4)
      • GoogleUtilities/Environment (~> 7.4)
      • GoogleUtilities/Reachability (~> 7.4)
      • GoogleUtilities/UserDefaults (~> 7.4)
      • nanopb (~> 2.30908.0)
    • FLAnimatedImage (1.0.16)
    • GoogleAppMeasurement (8.8.0):
      • GoogleAppMeasurement/AdIdSupport (= 8.8.0)
      • GoogleUtilities/AppDelegateSwizzler (~> 7.4)
      • GoogleUtilities/MethodSwizzler (~> 7.4)
      • GoogleUtilities/Network (~> 7.4)
      • “GoogleUtilities/NSData+zlib (~> 7.4)”
      • nanopb (~> 2.30908.0)
    • GoogleAppMeasurement/AdIdSupport (8.8.0):
      • GoogleAppMeasurement/WithoutAdIdSupport (= 8.8.0)
      • GoogleUtilities/AppDelegateSwizzler (~> 7.4)
      • GoogleUtilities/MethodSwizzler (~> 7.4)
      • GoogleUtilities/Network (~> 7.4)
      • “GoogleUtilities/NSData+zlib (~> 7.4)”
      • nanopb (~> 2.30908.0)
    • GoogleAppMeasurement/WithoutAdIdSupport (8.8.0):
      • GoogleUtilities/AppDelegateSwizzler (~> 7.4)
      • GoogleUtilities/MethodSwizzler (~> 7.4)
      • GoogleUtilities/Network (~> 7.4)
      • “GoogleUtilities/NSData+zlib (~> 7.4)”
      • nanopb (~> 2.30908.0)
    • GoogleDataTransport (9.1.0):
      • GoogleUtilities/Environment (~> 7.2)
      • nanopb (~> 2.30908.0)
      • PromisesObjC (< 3.0, >= 1.2)
    • GoogleUtilities/AppDelegateSwizzler (7.5.2):
      • GoogleUtilities/Environment
      • GoogleUtilities/Logger
      • GoogleUtilities/Network
    • GoogleUtilities/Environment (7.5.2):
      • PromisesObjC (< 3.0, >= 1.2)
    • GoogleUtilities/Logger (7.5.2):
      • GoogleUtilities/Environment
    • GoogleUtilities/MethodSwizzler (7.5.2):
      • GoogleUtilities/Logger
    • GoogleUtilities/Network (7.5.2):
      • GoogleUtilities/Logger
      • “GoogleUtilities/NSData+zlib”
      • GoogleUtilities/Reachability
    • “GoogleUtilities/NSData+zlib (7.5.2)”
    • GoogleUtilities/Reachability (7.5.2):
      • GoogleUtilities/Logger
    • GoogleUtilities/UserDefaults (7.5.2):
      • GoogleUtilities/Logger
    • Kingfisher (7.0.0)
    • Logging (1.1.1)
    • Mixpanel-swift (2.10.3):
      • Mixpanel-swift/Complete (= 2.10.3)
    • Mixpanel-swift/Complete (2.10.3)
    • nanopb (2.30908.0):
      • nanopb/decode (= 2.30908.0)
      • nanopb/encode (= 2.30908.0)
    • nanopb/decode (2.30908.0)
    • nanopb/encode (2.30908.0)
    • NVActivityIndicatorView (5.1.1):
      • NVActivityIndicatorView/Base (= 5.1.1)
    • NVActivityIndicatorView/Base (5.1.1)
    • ObjectMapper (3.5.3)
    • PromisesObjC (2.0.0)
    • Realm (10.16.0):
      • Realm/Headers (= 10.16.0)
    • Realm/Headers (10.16.0)
    • RealmSwift (10.16.0):
      • Realm (= 10.16.0)
    • RxCocoa (6.2.0):
      • RxRelay (= 6.2.0)
      • RxSwift (= 6.2.0)
    • RxGesture (4.0.2):
      • RxCocoa (~> 6.0)
      • RxSwift (~> 6.0)
    • RxRelay (6.2.0):
      • RxSwift (= 6.2.0)
    • RxSwift (6.2.0)
    • SecureNSUserDefaults (1.0.1):
      • CocoaSecurity (~> 1.2.4)
    • SendBirdCalls (1.7.1):
      • SendBirdWebRTC (~> 1.3.0)
    • SendBirdSDK (3.0.234)
    • SendBirdUIKit (2.1.13):
      • SendBirdSDK (~> 3.0.226)
    • SendBirdWebRTC (1.3.0)
    • SnapKit (5.0.1)
    • SpreadsheetView (0.9.1)
    • SwiftyIamport (4.2.1)
    • TagListView (1.4.1)
    • Then (2.7.0)
    • “UITextView+Placeholder (1.4.0)”

DEPENDENCIES:

  • Alamofire (~> 5.0)
  • ChannelIOSDK (from https://mobile-static.channel.io/ios/latest/xcframework.podspec)
  • CHIPageControl (~> 0.1.3)
  • DropDown
  • FBSDKCoreKit (~> 9.0)
  • FBSDKLoginKit (~> 9.0)
  • Firebase/Analytics
  • Firebase/Crashlytics
  • Firebase/Messaging
  • FLAnimatedImage (~> 1.0)
  • Kingfisher
  • Logging (~> 1.1.1)
  • Mixpanel-swift
  • NVActivityIndicatorView
  • ObjectMapper (~> 3.4)
  • RealmSwift
  • RxCocoa
  • RxGesture
  • RxSwift
  • SecureNSUserDefaults (~> 1.0.1)
  • SendBirdCalls
  • SendBirdSDK
  • SendBirdUIKit
  • SnapKit (~> 5.0.0)
  • SpreadsheetView
  • SwiftyIamport (~> 4.2.0)
  • TagListView (~> 1.0)
  • Then
  • “UITextView+Placeholder”

SPEC REPOS:
trunk:
- Alamofire
- CHIPageControl
- CocoaSecurity
- DropDown
- FBSDKCoreKit
- FBSDKLoginKit
- Firebase
- FirebaseAnalytics
- FirebaseCore
- FirebaseCoreDiagnostics
- FirebaseCrashlytics
- FirebaseInstallations
- FirebaseMessaging
- FLAnimatedImage
- GoogleAppMeasurement
- GoogleDataTransport
- GoogleUtilities
- Kingfisher
- Logging
- Mixpanel-swift
- nanopb
- NVActivityIndicatorView
- ObjectMapper
- PromisesObjC
- Realm
- RealmSwift
- RxCocoa
- RxGesture
- RxRelay
- RxSwift
- SecureNSUserDefaults
- SendBirdCalls
- SendBirdSDK
- SendBirdUIKit
- SendBirdWebRTC
- SnapKit
- SpreadsheetView
- SwiftyIamport
- TagListView
- Then
- “UITextView+Placeholder”

EXTERNAL SOURCES:
ChannelIOSDK:
:podspec: https://mobile-static.channel.io/ios/latest/xcframework.podspec

SPEC CHECKSUMS:
Alamofire: f3b09a368f1582ab751b3fff5460276e0d2cf5c9
ChannelIOSDK: c1e299699fcf095b01e8b94a52191d2c0efaf454
CHIPageControl: 76b35c8309d8dd155e869c109cc6ffc0aaa465ff
CocoaSecurity: d288a6f87e0f363823d2cb83e753814a6944f71a
DropDown: 8a2116376c1981888557f72ec2ffc9a5e0e456ec
FBSDKCoreKit: 0d1ae58388a458b8222f72025804cdc84eb5d0c3
FBSDKLoginKit: aea68df6121c5e165ccae2fabfdc83c4644ee40f
Firebase: 629510f1a9ddb235f3a7c5c8ceb23ba887f0f814
FirebaseAnalytics: 5506ea8b867d8423485a84b4cd612d279f7b0b8a
FirebaseCore: 98b29e3828f0a53651c363937a7f7d92a19f1ba2
FirebaseCoreDiagnostics: fe77f42da6329d6d83d21fd9d621a6b704413bfc
FirebaseCrashlytics: 3660c045c8e45cc4276110562a0ef44cf43c8157
FirebaseInstallations: 2563cb18a723ef9c6ef18318a49519b75dce613c
FirebaseMessaging: 419b5c9d84f294a753c6501d8cfb9ced1ce37304
FLAnimatedImage: 8f3e854ebf9680b71f0b6e700939687fc4d82b4b
GoogleAppMeasurement: 5ba1164e3c844ba84272555e916d0a6d3d977e91
GoogleDataTransport: 85fd18ff3019bb85d3f2c551d04c481dedf71fc9
GoogleUtilities: 8de2a97a17e15b6b98e38e8770e2d129a57c0040
Kingfisher: 5efc54fec3980f92354898532e562cc17f31efb4
Logging: c1d514914944d786e0f17a41a6431e44a88a7ec1
Mixpanel-swift: 3220daad7d82ff50cf9b8c3e31efed5bad426978
nanopb: a0ba3315591a9ae0a16a309ee504766e90db0c96
NVActivityIndicatorView: 1f6c5687f1171810aa27a3296814dc2d7dec3667
ObjectMapper: 97111c97e054a6ee25917662106689f0b4127b37
PromisesObjC: 68159ce6952d93e17b2dfe273b8c40907db5ba58
Realm: b6027801398f3743fc222f096faa85281b506e6c
RealmSwift: b02a3d0e4947955da960b642c98ad3a461fc4e70
RxCocoa: 4baf94bb35f2c0ab31bc0cb9f1900155f646ba42
RxGesture: f059f2aeef966fb17dad56ee440e76410f10e55f
RxRelay: e72dbfd157807478401ef1982e1c61c945c94b2f
RxSwift: d356ab7bee873611322f134c5f9ef379fa183d8f
SecureNSUserDefaults: 8a07fc6a6fde31c7f8fa6ead73d3c9c3706a6364
SendBirdCalls: be9e19414102a27b2f763e52b502074e0e5d5698
SendBirdSDK: ca326022470ec61166f352c2e5e0ad7fba28ea91
SendBirdUIKit: c79ae04140b823087d0241da958ea5ba33534ee7
SendBirdWebRTC: 44b6ccfe52daebbf9941a711408d97b7801fd2de
SnapKit: 97b92857e3df3a0c71833cce143274bf6ef8e5eb
SpreadsheetView: 688dbd19f2b355df0eb09e486266fd913a013449
SwiftyIamport: d99f1408eef5635414ea4b5526e21e188f5bf0f9
TagListView: a1c236d17960a0cf64156725a76ce6d73ebce2be
Then: acfe0be7e98221c6204e12f8161459606d5d822d
“UITextView+Placeholder”: d7b0c400921f66523f3a85d74f774512e14f6502

PODFILE CHECKSUM: 366726c2ab28236dd33beb1be33415c0109bbcd2

COCOAPODS: 1.11.2

1 Like

Hello, Has this issue been resolved?

1 Like

We were able to reproduce the case with Xcode 13 + M1 machine but not intel yet. One more thing, have you ever tried to clean DerivedData and build?

1 Like

@Woo , I’ve tried it a few times. After updating Xcode 13.1, I will delete DerivedData and try again.

1 Like

After updating to Xcode 13.1, I tried to delete DerivedData, but the same error is occurring.

What’s cocoapod version are you using?

I’m using version 1.11.2

We can’t reproduced the issue with Xcode 13 with intel. I’d like you to test with new project and add sdk there and see if that works.

@Woo and are you planning to fix this in M1 laptops soon?

Have you tried to run it with rosetta? @plopes

@Woo yea, it works with Rosetta, but it’s not ideal, since it decreases performance.
You don’t have a plan to fix this? I’m asking because it’s the only lib that I use in my project that forces me to use Rosetta.

I’m more than willing to fix the problem but we can’t produce same result on our end :confused: are you working on simulator or device?

and if you look at Xcode 12.0.1 "No such module" | Apple Developer Forums some people solved it by removing arm64 flags ios - No such module error in Xcode 12.4 Apple M1 - Stack Overflow have you tried this method?

@Woo but you said in this thread that you managed do reproduce this in an M1 + Xcode 13.
Was that fixed in a newest version already?

1 Like

Also, I’m not using cocoapods.
I’m using SPM

1 Like