Azure IoT C SDK
|
The SDK produces Ios CocoaPods to ease the writing of end user application on Ios devices.
You will need these prerequisites to run the samples:
Change to a location where you would like your samples, and run
Change your current directory to the iOS sample directory they you would like to run
for device client:
for service client:
Make sure that XCode does not already have the sample project open. If it does, the CocoaPods may not install properly
Run this command:
This will cause CocoaPods to read the Podfile
and install the pods accordingly
Double-click the MQTT Client Sample.xcworkspace
workspace file for the device sample or the AzureIoTServiceSample.xcworkspace
workspace file for the service sample.
private let connectionString = "[device connection string]"
string with the connection string for your provisioned device.