iOS Question MQTT library on hosted Mac builder

klarsys

Active Member
Licensed User
Reference to this thread: http://www.b4x.com/android/forum/threads/mqtt-mq-telemetry-transport-for-b4i.50036/

I use hosted Mac service and I get build error when I include MQTT library in my project.

Request @Erel to make this library available on hosted Mac builder.

Error looks like this:
B4X:
OK
An error occurred.
n -miphoneos-version-min=7.0 -iquote /Users/administrator/Documents/UploadedProjects/abcdefg/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyApp-generated-files.hmap -I/Users/administrator/Documents/UploadedProjects/abcdefg/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyApp-own-target-headers.hmap -I/Users/administrator/Documents/UploadedProjects/abcdefg/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyApp-all-target-headers.hmap -iquote /Users/administrator/Documents/UploadedProjects/abcdefg/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyApp-project-headers.hmap -I/Users/administrator/Documents/UploadedProjects/abcdefg/Payload/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Documents/UploadedProjects/abcdefg/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Users/administrator/Documents/UploadedProjects/abcdefg/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/administrator/Documents/UploadedProjects/abcdefg/Payload -F../../Libs -MMD -MT dependencies -MF /Users/administrator/Documents/UploadedProjects/abcdefg/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/LS_profile.d --serialize-diagnostics /Users/administrator/Documents/UploadedProjects/abcdefg/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/LS_profile.dia -c /Users/administrator/Documents/UploadedProjects/abcdefg/B4iProject/LS_profile.m -o /Users/administrator/Documents/UploadedProjects/abcdefg/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/LS_profile.o


Error: ** BUILD FAILED **


The following build commands failed:
    CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.o B4iProject/b4i_main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_profile.o B4iProject/b4i_profile.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_statemanager.o B4iProject/b4i_statemanager.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(3 failures)
 

klarsys

Active Member
Licensed User
You are correct. There seems to be some issue with iLocation and iMQTT libraries.
I get error with attached new project (I only added both libraries).
 

Attachments

Top