Updating scripts
This commit is contained in:
Родитель
f16d75b983
Коммит
b7aedd9143
|
@ -1,30 +1,30 @@
|
||||||
Pod::Spec.new do |s|
|
Pod::Spec.new do |s|
|
||||||
s.name = "AzureNotificationHubs-iOS"
|
s.name = 'AzureNotificationHubs-iOS'
|
||||||
s.version = "3.1.2"
|
s.version = '3.1.5'
|
||||||
|
|
||||||
s.summary = "Push notifications for consumer and enterprise apps – from any backend to any device platform"
|
s.summary = 'Push notifications for consumer and enterprise apps – from any backend to any device platform'
|
||||||
s.description = <<-DESC
|
s.description = <<-DESC
|
||||||
Azure Notification Hubs provide an easy-to-use, multiplatform, scaled-out push infrastructure that enables you to send mobile push notifications from any backend (in the cloud or on-premises) to any mobile platform.
|
Azure Notification Hubs provide an easy-to-use, multiplatform, scaled-out push infrastructure that enables you to send mobile push notifications from any backend (in the cloud or on-premises) to any mobile platform.
|
||||||
DESC
|
DESC
|
||||||
|
|
||||||
s.author = { "Microsoft" => "http://microsoft.com" }
|
s.author = { 'Microsoft' => 'http://microsoft.com' }
|
||||||
s.license = { :type => "Apache 2.0", :file => "WindowsAzureMessaging-SDK-Apple/LICENSE" }
|
s.license = { :type => 'Apache 2.0', :file => 'WindowsAzureMessaging-SDK-Apple/LICENSE' }
|
||||||
s.documentation_url = "https://docs.microsoft.com/en-us/azure/notification-hubs/"
|
s.documentation_url = "https://docs.microsoft.com/en-us/azure/notification-hubs/"
|
||||||
s.homepage = "http://azure.microsoft.com/en-us/services/notification-hubs/"
|
s.homepage = "http://azure.microsoft.com/en-us/services/notification-hubs/"
|
||||||
|
|
||||||
s.ios.deployment_target = "9.0"
|
s.ios.deployment_target = '9.0'
|
||||||
s.osx.deployment_target = "10.9"
|
s.osx.deployment_target = '10.9'
|
||||||
s.tvos.deployment_target = "11.0"
|
s.tvos.deployment_target = '11.0'
|
||||||
s.source = { :http => "https://github.com/Azure/azure-notificationhubs-ios/releases/download/#{s.version}/WindowsAzureMessaging-SDK-Apple-XCFramework-#{s.version}.zip" }
|
s.source = { :http => "https://github.com/Azure/azure-notificationhubs-ios/releases/download/#{s.version}/WindowsAzureMessaging-SDK-Apple-XCFramework-#{s.version}.zip" }
|
||||||
s.preserve_path = "WindowsAzureMessaging-SDK-Apple/README.md"
|
s.preserve_path = 'WindowsAzureMessaging-SDK-Apple/README.md'
|
||||||
|
|
||||||
s.frameworks = "Foundation", "SystemConfiguration"
|
s.frameworks = 'Foundation', 'SystemConfiguration'
|
||||||
s.ios.frameworks = "UIKit"
|
s.ios.frameworks = 'UIKit'
|
||||||
s.tvos.frameworks = "UIKit"
|
s.tvos.frameworks = 'UIKit'
|
||||||
s.osx.frameworks = "AppKit"
|
s.osx.frameworks = 'AppKit'
|
||||||
s.ios.weak_frameworks = "UserNotifications"
|
s.ios.weak_frameworks = 'UserNotifications'
|
||||||
s.tvos.weak_frameworks = "UserNotifications"
|
s.tvos.weak_frameworks = 'UserNotifications'
|
||||||
s.osx.weak_frameworks = "UserNotifications"
|
s.osx.weak_frameworks = 'UserNotifications'
|
||||||
s.ios.vendored_frameworks = "WindowsAzureMessaging-SDK-Apple/WindowsAzureMessaging.xcframework"
|
s.ios.vendored_frameworks = "WindowsAzureMessaging-SDK-Apple/WindowsAzureMessaging.xcframework"
|
||||||
s.tvos.vendored_frameworks = "WindowsAzureMessaging-SDK-Apple/WindowsAzureMessaging.xcframework"
|
s.tvos.vendored_frameworks = "WindowsAzureMessaging-SDK-Apple/WindowsAzureMessaging.xcframework"
|
||||||
s.osx.vendored_frameworks = "WindowsAzureMessaging-SDK-Apple/WindowsAzureMessaging.xcframework"
|
s.osx.vendored_frameworks = "WindowsAzureMessaging-SDK-Apple/WindowsAzureMessaging.xcframework"
|
||||||
|
|
|
@ -3,7 +3,10 @@
|
||||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
|
||||||
# Run lint to validate podspec
|
# Run lint to validate podspec
|
||||||
pod spec lint ../AzureNotificationHubs-iOS.podspec --verbose
|
PROJECT_DIR="$(dirname "$0")/.."
|
||||||
|
PODSPEC_FILE="$PROJECT_DIR/AzureNotificationHubs-iOS.podspec"
|
||||||
|
|
||||||
|
pod spec lint $PODSPEC_FILE --verbose
|
||||||
retval=$?
|
retval=$?
|
||||||
|
|
||||||
if [ $retval -eq 0 ]; then
|
if [ $retval -eq 0 ]; then
|
||||||
|
|
|
@ -3,7 +3,10 @@
|
||||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
|
||||||
# Push podspec to CocoaPods
|
# Push podspec to CocoaPods
|
||||||
pod trunk push ../AzureNotificationHubs-iOS.podspec
|
PROJECT_DIR="$(dirname "$0")/.."
|
||||||
|
PODSPEC_FILE="$PROJECT_DIR/AzureNotificationHubs-iOS.podspec"
|
||||||
|
|
||||||
|
pod trunk push $PODSPEC_FILE
|
||||||
retval=$?
|
retval=$?
|
||||||
|
|
||||||
if [ $retval -eq 0 ]; then
|
if [ $retval -eq 0 ]; then
|
||||||
|
|
Загрузка…
Ссылка в новой задаче