-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Swift Package Manager support to ConfigCat SDK for the Apple plat…
…forms (#11) * Initial support for Swift Package Manager * Consolidate all targets into two targets * Restore ConfigCat Coverage scheme * Update ConfigCat.podspec Updated the source_files property in the podspec to match the location of the source code. * Update Travis configuration Updated the Travis configuration to use the shared ConfigCat scheme * Remove processing of resources from Package.swift * Change version to a constant Changed the version to be a constant as infoDictionary?["CFBundleShortVersionString"] isn’t available when working with the Swift Package Manager as of Swift 5.3. Additionally updated the deployment documentation. * Run tests in parallel and random order Improve the tests by running them in parallel and random order. * Bump version Bumped the version to 7.2.0 to match the description in the README.md. * Update TravisCI macOS image Updated the TravisCI macOS image to use Xcode 12.2. Updated all xcodebuild accordingly to support the change of Xcode. * Fix cmdline compile failure Fixed cmdline compilation due to missing dependecy from test target to framework target.
- Loading branch information
Showing
61 changed files
with
385 additions
and
2,053 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// Targeted Device Families | ||
// | ||
// The build system uses the selected device to set the correct value for the | ||
// `UIDeviceFamily` key it adds to the target's `Info.plist` file. This also drives the | ||
// --target-device flag to actool, which determines the idioms selected during catalog | ||
// compilation. | ||
TARGETED_DEVICE_FAMILY = 1,2,3,4 | ||
|
||
IPHONEOS_DEPLOYMENT_TARGET = 10.0 | ||
MACOSX_DEPLOYMENT_TARGET = 10.12 | ||
TVOS_DEPLOYMENT_TARGET = 10.0 | ||
WATCHOS_DEPLOYMENT_TARGET = 3.0 | ||
|
||
// Product Bundle Identifier | ||
// | ||
// A string that uniquely identifies the bundle. The string should be in reverse DNS | ||
// format using only alphanumeric characters (`A-Z`, `a-z`, `0-9`), the dot (`.`), and | ||
// the hyphen (`-`). This value is used as the `CFBundleIdentifier` in the `Info.plist` | ||
// of the built bundle. | ||
PRODUCT_BUNDLE_IDENTIFIER[sdk=appletvos*] = com.configcat.tvOS.client | ||
PRODUCT_BUNDLE_IDENTIFIER[sdk=iphoneos*] = com.configcat.iOS.client | ||
PRODUCT_BUNDLE_IDENTIFIER[sdk=macosx*] = com.configcat.macOS.client | ||
PRODUCT_BUNDLE_IDENTIFIER[sdk=watchos*] = com.configcat.watchOS.client | ||
|
||
// Base SDK | ||
// | ||
// The name or path of the base SDK being used during the build. The product will be | ||
// built against the headers and libraries located inside the indicated SDK. This path | ||
// will be prepended to all search paths, and will be passed through the environment to | ||
// the compiler and linker. Additional SDKs can be specified in the `ADDITIONAL_SDKS` | ||
// setting. | ||
SDKROOT[sdk=macosx*] = macosx | ||
SDKROOT[sdk=iphoneos*] = iphoneos | ||
SDKROOT[sdk=watchos*] = watchos | ||
SDKROOT[sdk=appletvos*] = appletvos | ||
|
||
// Supported Platforms | ||
// | ||
// The list of supported platforms from which a base SDK can be used. This setting is | ||
// used if the product can be built for multiple platforms using different SDKs. | ||
SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator watchos watchsimulator appletvos appletvsimulator | ||
|
||
// Swift Language Version | ||
SWIFT_VERSION = 4.2 | ||
|
||
// ConfigCat SDK version | ||
MARKETING_VERSION = 7.2.0 |
Oops, something went wrong.