emqx / CocoaMQTT

MQTT 5.0 client library for iOS and macOS written in Swift
https://www.emqx.com/en
Other
1.59k stars 418 forks source link

Module 'CocoaMQTT' not found #441

Closed qw9685 closed 2 years ago

qw9685 commented 2 years ago

I use static libraries for mixed development,baseProject is OC,When using delegate(CocoaMQTTDelegate),The question arises: Module 'CocoaMQTT' not found。

截屏2022-03-01 下午3 09 14

leeway1208 commented 2 years ago

When OC project uses delegate, I tested it and OC project runs well. Please find attached my static libraries for your reference, Maybe you can provide me some more information to check the issues. CocoaMQTT.xcframework.zip CocoaAsyncSocket.xcframework.zip Starscream.xcframework.zip

qw9685 commented 2 years ago

When OC project uses delegate, I tested it and OC project runs well. Please find attached my static libraries for your reference, Maybe you can provide me some more information to check the issues. CocoaMQTT.xcframework.zip CocoaAsyncSocket.xcframework.zip Starscream.xcframework.zip

qw9685 commented 2 years ago

In child Framework, use cocoPods,when using CocoaMQTTDelegate,The question arises: Module 'CocoaMQTT' not found

截屏2022-03-02 下午3 03 58

qw9685 commented 2 years ago

When OC project uses delegate, I tested it and OC project runs well. Please find attached my static libraries for your reference, Maybe you can provide me some more information to check the issues. CocoaMQTT.xcframework.zip CocoaAsyncSocket.xcframework.zip Starscream.xcframework.zip

look:

IMG_4621

qw9685 commented 2 years ago

When OC project uses delegate, I tested it and OC project runs well. Please find attached my static libraries for your reference, Maybe you can provide me some more information to check the issues. CocoaMQTT.xcframework.zip CocoaAsyncSocket.xcframework.zip Starscream.xcframework.zip

look:

IMG_4621

version Xcode:13.2.1 Swift:5.0