Skip to content

Commit

Permalink
Make integration sorta-Carthage-compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Adams committed Feb 9, 2021
1 parent 226a1a5 commit 324937b
Show file tree
Hide file tree
Showing 491 changed files with 69,486 additions and 3 deletions.
1 change: 1 addition & 0 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github "mparticle/mparticle-apple-sdk" ~> 8.0
1 change: 1 addition & 0 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github "mparticle/mparticle-apple-sdk" "8.1.4"
124 changes: 124 additions & 0 deletions KochavaCore.xcframework/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
<?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>AvailableLibraries</key>
<array>
<dict>
<key>LibraryIdentifier</key>
<string>tvos-arm64</string>
<key>LibraryPath</key>
<string>KochavaCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>tvos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>macos-x86_64</string>
<key>LibraryPath</key>
<string>KochavaCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>macos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>watchos-arm64_32_armv7k</string>
<key>LibraryPath</key>
<string>KochavaCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64_32</string>
<string>armv7k</string>
</array>
<key>SupportedPlatform</key>
<string>watchos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>KochavaCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>KochavaCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>watchos-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>KochavaCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>watchos</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>tvos-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>KochavaCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>tvos</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>KochavaCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
//
// KVAAppGroups.h
// KochavaCore
//
// Created by John Bushnell on 9/29/20.
// Copyright © 2020 - 2021 Kochava, Inc. All rights reserved.
//



#ifndef KVAAppGroups_h
#define KVAAppGroups_h



#pragma mark - INTERFACE



/*!
@class KVAAppGroups
@brief A class for working with the App Groups capability.
Inherits from: NSObject
@author John Bushnell
@copyright 2020 - 2021 Kochava, Inc.
*/
@interface KVAAppGroups : NSObject



#pragma mark - SHARED INSTANCE (SINGLETON)



/*!
@property shared
@brief The singleton shared instance.
*/
@property (class, readonly, strong, nonnull) KVAAppGroups *shared;



#pragma mark - PROPERTIES



/*!
@property deviceAppGroupIdentifierString
@brief A string which corresponds to an app group identifier to be used as a shared container for the Kochava SDK.
*/
@property (strong, atomic, nullable, readwrite) NSString *deviceAppGroupIdentifierString;



@end



#endif



Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
//
// KVAAsForContextObjectProtocol.h
// KochavaCore
//
// Created by John Bushnell on 2/1/18.
// Copyright © 2018 - 2021 Kochava, Inc. All rights reserved.
//



#ifndef KVAAsForContextObjectProtocol_h
#define KVAAsForContextObjectProtocol_h



#pragma mark - CLASS



@class KVAContext;



#pragma mark - PROTOCOL



@protocol KVAAsForContextObjectProtocol <NSObject>



/*!
@method - kva_asForContextObjectWithContext:
@brief Converts the object for a given target context.
@discussion The returned value will be a nullable NSMutableDictionary.
*/
- (nullable NSObject *)kva_asForContextObjectWithContext:(nullable KVAContext *)context NS_SWIFT_NAME(kva_asForContextObject(withContext:));



@end



#endif



Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
//
// KVAConfigureWithObjectProtocol.h
// KochavaCore
//
// Created by John Bushnell on 2/1/18.
// Copyright © 2018 - 2021 Kochava, Inc. All rights reserved.
//



#ifndef KVAConfigureWithObjectProtocol_h
#define KVAConfigureWithObjectProtocol_h



#pragma mark - CLASS



@class KVAContext;



#pragma mark - PROTOCOL



@protocol KVAConfigureWithObjectProtocol <NSObject>



/*!
@method - kva_configureWith:context:
@brief Configures (updates) the instance from another object.
@param withObject An object from which to update the instance. This is expected to be a native instance, or else an object which can resolve to a native instance.
@param context Optional. The context.
*/
- (void)kva_configureWith:(nullable id)withObject context:(nullable KVAContext *)context NS_SWIFT_NAME(kva_configure(with:context:));



@end



#endif



Loading

0 comments on commit 324937b

Please sign in to comment.