MQTTClient xcode project not working after upgrading to iOS 17.2 and macOS 14.2 and Xcode 15.1


I have an Xcode project that has been working for a couple years. I worked on it and updated it on my iPhone just last week before I updated my iPhone to iOS 17.1. Once I updated I needed to update macOS and Xcode.
Now when I try to run the project on my iPhone I get two warnings and two errors which make it FAIL.

I am using MQTTClient Pods in the project.

Here are the warnings and errors I get.

ld: warning: ignoring duplicate libraries: '-licucore'
ld: warning: search path '/Users/XXXXXXXXXXXXXXXX/Library/Developer/Xcode/DerivedData/iphoneMQTT-actbmrwkvghtxsbvkjwybzdnecke/Build/Products/Debug-iphonesimulator/MQTTClient' not found
ld: warning: search path '/Users/XXXXXXXXXXXXXXXXXX/Library/Developer/Xcode/DerivedData/iphoneMQTT-actbmrwkvghtxsbvkjwybzdnecke/Build/Products/Debug-iphonesimulator/SocketRocket' not found
ld: framework 'MQTTClient' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have looked in the specified folder and it only contains “iphoneMQTT.app”.

When you look at the left side of my project you can see the MQTTClient framework is included.

Main files in project left side bar

Someone suggested I open the project as .xcworkspace but when I do there is nothing there containing my project.

I am not a professional coder and so I would like some explanation as to what changed that my project doesn’t work now. and a detailed example of what to do to get it working again.

Thanks in advance.

If you need more information please let me know.

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img