flightonary / Moscapsule

MQTT Client for iOS written in Swift
MIT License
271 stars 70 forks source link

Please fix warnings when using in iOS 9.2 #23

Open adavi1984 opened 8 years ago

adavi1984 commented 8 years ago

I am seeing 400+ warnings when using this with Xcode 7.2 and iOS 9.2, "/Pods/Moscapsule/mosquitto/lib/logging_mosq.c:36:21: Implicit conversion loses integer precision: 'unsigned long' to 'int'"

AndrewArmstrong commented 8 years ago

+1 Getting the same flood of linker warnings with 9.0 as our deployment target. While the linker warnings appear to be benign, the shear amount of them raise the level of 'noise' and risks masking warnings that should be addressed. It does appear to be an issue with the OpenSSL pod so the fix may have to originate from there; and unfortunately it appears to have stumped krzyanowskim at the moment.

AndrewArmstrong commented 8 years ago

krzyanowskim has fixed the issue (Yea!) update the pod install config:

pod 'OpenSSL-Universal', '1.0.1.17'

adavi1984 commented 8 years ago

Thank you very much, 400+ warnings are gone, i have updated my pods but i still see these warnings .

screen shot 2016-02-07 at 12 40 03 am
Sunrise17 commented 7 years ago

After i have upgraded to sierra and Xcode 8.3.3, i have started to get same warning errors. Have you found some solution about that? ekran resmi 2017-06-21 20 11 54