Support Topics Documentation Slack YouTube Blog

FAULT = '-1200' [NSURLErrorDomain] Objective c

iam geting this error while iam trying to send notification on single device through device
FAULT = ‘-1200’ [NSURLErrorDomain] <An SSL error has occurred and a secure connection to the server cannot be made.>
while my plist looks like

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>yourserver.com</key>
<dict>
<!–Include to allow subdomains–>
<key>NSIncludesSubdomains</key>
<true/>
<!–Include to allow HTTP requests–>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
<!–Include to specify minimum TLS version–>
<key>NSTemporaryExceptionMinimumTLSVersion</key>
<string>TLSv1.1</string>
</dict>
</dict>
</dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string></string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.0</string>
<key>CFBundleSignature</key>
<string>???</string>
<key>CFBundleSpokenName</key>
<string></string>
<key>CFBundleVersion</key>
<string>2.2</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>NSCameraUsageDescription</key>
<string>$(PRODUCT_NAME) camera use</string>
<key>NSContactsUsageDescription</key>
<string>$(PRODUCT_NAME) contacs use</string>
<key>NSLocalizedDescription</key>
<true/>
<key>NSLocationUsageDescription</key>
<string>Need location access for updating nearby friends</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>This app will use your location to show you cool stuff near you.</string>
<key>NSMicrophoneUsageDescription</key>
<string>Need microphone access for uploading videos</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>$(PRODUCT_NAME) photo use</string>
<key>UIBackgroundModes</key>

<string>remote-notification</string>

<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>

<string>armv7</string>

<key>UISupportedInterfaceOrientations</key>

<string>UIInterfaceOrientationPortrait</string>

<key>UISupportedInterfaceOrientations~ipad</key>

<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>

</dict>
</plist>

duplicate of http://support.backendless.com/t/send-message-to-single-device-objective-c