appcenter-sdk-apple/AppCenter.podspec

79 строки
4.5 KiB
Ruby

Pod::Spec.new do |s|
s.cocoapods_version = '>= 1.10'
s.name = 'AppCenter'
s.version = '5.0.5'
s.summary = 'Visual Studio App Center is your continuous integration, delivery and learning solution for iOS and macOS apps.'
s.description = <<-DESC
Visual Studio App Center is your continuous integration, delivery and learning solution for iOS and macOS apps.
Get faster release cycles, higher-quality apps, and the insights to build what users want.
The App Center SDK uses a modular architecture so you can use any or all of the following services:
1. App Center Analytics (iOS, macOS and tvOS):
App Center Analytics helps you understand user behavior and customer engagement to improve your app. The SDK automatically captures session count, device properties like model, OS version, etc. You can define your own custom events to measure things that matter to you. All the information captured is available in the App Center portal for you to analyze the data.
2. App Center Crashes (iOS, macOS and tvOS):
App Center Crashes will automatically generate a crash log every time your app crashes. The log is first written to the device's storage and when the user starts the app again, the crash report will be sent to App Center. Collecting crashes works for both beta and live apps, i.e. those submitted to the App Store. Crash logs contain valuable information for you to help fix the crash.
3. App Center Distribute (iOS only):
App Center Distribute lets your users install a new version of the app when you distribute it with App Center. With a new version of the app available, the SDK will present an update dialog to the users to either download or postpone the new version. Once they choose to update, the SDK will start to update your application. This feature is automatically disabled on versions of your app deployed to the Apple App Store.
DESC
s.homepage = 'https://appcenter.ms'
s.documentation_url = "https://docs.microsoft.com/en-us/appcenter/sdk"
s.social_media_url = 'https://twitter.com/vsappcenter'
s.license = { :type => 'MIT', :file => 'AppCenter-SDK-Apple/LICENSE' }
s.author = { 'Microsoft' => 'appcentersdk@microsoft.com' }
s.ios.deployment_target = '12.0'
s.osx.deployment_target = '10.13'
s.tvos.deployment_target = '12.0'
s.source = { :http => "https://github.com/microsoft/appcenter-sdk-apple/releases/download/#{s.version}/AppCenter-SDK-Apple-XCFramework-#{s.version}.zip" }
s.preserve_path = 'AppCenter-SDK-Apple/README.md'
s.default_subspecs = 'Analytics', 'Crashes'
s.subspec 'Core' do |ss|
ss.frameworks = 'Foundation', 'SystemConfiguration'
ss.ios.frameworks = 'CoreTelephony', 'UIKit'
ss.osx.frameworks = 'AppKit'
ss.tvos.frameworks = 'UIKit'
ss.vendored_frameworks = "AppCenter-SDK-Apple/AppCenter.xcframework"
ss.libraries = 'z', 'sqlite3'
ss.resource_bundle = { 'AppCenter' => 'AppCenter-SDK-Apple/AppCenter.xcframework/PrivacyInfo.xcprivacy' }
end
s.subspec 'Analytics' do |ss|
ss.dependency 'AppCenter/Core'
ss.frameworks = 'Foundation'
ss.ios.frameworks = 'UIKit'
ss.osx.frameworks = 'AppKit'
ss.tvos.frameworks = 'UIKit'
ss.vendored_frameworks = "AppCenter-SDK-Apple/AppCenterAnalytics.xcframework"
ss.resource_bundle = { 'AppCenterAnalytics' => 'AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/PrivacyInfo.xcprivacy' }
end
s.subspec 'Crashes' do |ss|
ss.dependency 'AppCenter/Core'
ss.frameworks = 'Foundation'
ss.libraries = 'z', 'c++'
ss.vendored_frameworks = "AppCenter-SDK-Apple/AppCenterCrashes.xcframework"
ss.resource_bundle = { 'AppCenterCrashes' => 'AppCenter-SDK-Apple/AppCenterCrashes.xcframework/PrivacyInfo.xcprivacy' }
end
s.subspec 'Distribute' do |ss|
ss.dependency 'AppCenter/Core'
ss.frameworks = 'Foundation'
ss.ios.frameworks = 'UIKit'
ss.ios.weak_frameworks = 'SafariServices', 'AuthenticationServices'
ss.ios.resource_bundle = { 'AppCenterDistributeResources' => ['AppCenter-SDK-Apple/AppCenterDistributeResources.bundle/*.lproj'] }
ss.ios.vendored_frameworks = "AppCenter-SDK-Apple/AppCenterDistribute.xcframework"
ss.resource_bundle = { 'AppCenterDistribute' => 'AppCenter-SDK-Apple/AppCenterDistribute.xcframework/PrivacyInfo.xcprivacy' }
end
end