-
Notifications
You must be signed in to change notification settings - Fork 471
Description
Short description
Can run on the Simulator but when building for a real iPhone will fail with Linker errors.
Undefined symbols for architecture arm64:
"OBJC_CLASS$_MQTTSession", referenced from:
objc-class-ref in MQTTSwift.o
ld: symbol(s) not found for architecture arm64
Environment
XCODE 9.3
Mixed Objective-C and Swift (handling the MqttClient)
Manual Copied MqttClient.framework and CocaoLumberjack.framework to Resources folder
Broker is cloudmqtt.com
Steps to reproduce
Build app with Simulator iPhone8 or 8s or whatever. No compile errors, no link errors.
Runs in the Simulator without any problems. All calls. SSL or unsecure.
Now change to Roberts iPhone (iPhone 8). Build and get the linker errors.
Also install a podfile with
pod 'MAQTTClient'
pod 'MQTTClient/MinL'
pod 'MQTTClient/ManagerL'
pod 'MQTTClient/WebsocketL'
Pod Install w/o any errors. Build for Simulator NO PROBLEM, build for iPhone same error.
Help please, I just converted an old Paho Mosquitto library to yours.