diff --git a/Frameworks/static/AdtraceSdk.framework/AdtraceSdk b/Frameworks/static/AdtraceSdk.framework/AdtraceSdk deleted file mode 120000 index 2949bc2..0000000 --- a/Frameworks/static/AdtraceSdk.framework/AdtraceSdk +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/AdtraceSdk \ No newline at end of file diff --git a/Frameworks/static/AdtraceSdk.framework/Headers b/Frameworks/static/AdtraceSdk.framework/Headers deleted file mode 120000 index a177d2a..0000000 --- a/Frameworks/static/AdtraceSdk.framework/Headers +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/Headers \ No newline at end of file diff --git a/Frameworks/static/AdtraceSdk.framework/Modules/module.modulemap b/Frameworks/static/AdtraceSdk.framework/Modules/module.modulemap deleted file mode 100644 index c63ab42..0000000 --- a/Frameworks/static/AdtraceSdk.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module AdtraceSdk { - umbrella header "Adtrace.h" - - export * - module * { export * } -} diff --git a/Frameworks/static/AdtraceSdk.framework/Versions/A/AdtraceSdk b/Frameworks/static/AdtraceSdk.framework/Versions/A/AdtraceSdk deleted file mode 100644 index 25f7fcf..0000000 Binary files a/Frameworks/static/AdtraceSdk.framework/Versions/A/AdtraceSdk and /dev/null differ diff --git a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTAdRevenue.h b/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTAdRevenue.h deleted file mode 100644 index 4ff0241..0000000 --- a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTAdRevenue.h +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - -#import - -/** - * @brief Adtrace ad revenue class. - */ -@interface ADTAdRevenue : NSObject - -/** - * @brief Ad revenue source value. - */ -@property (nonatomic, copy, readonly, nonnull) NSString *source; - -/** - * @brief Revenue value. - */ -@property (nonatomic, copy, readonly, nonnull) NSNumber *revenue; - -/** - * @brief Currency value. - */ -@property (nonatomic, copy, readonly, nonnull) NSString *currency; - -/** - * @brief Ad impressions count. - */ -@property (nonatomic, copy, readonly, nonnull) NSNumber *adImpressionsCount; - -/** - * @brief Ad revenue network. - */ -@property (nonatomic, copy, readonly, nonnull) NSString *adRevenueNetwork; - -/** - * @brief Ad revenue unit. - */ -@property (nonatomic, copy, readonly, nonnull) NSString *adRevenueUnit; - -/** - * @brief Ad revenue placement. - */ -@property (nonatomic, copy, readonly, nonnull) NSString *adRevenuePlacement; - -/** - * @brief List of partner parameters. - */ -@property (nonatomic, copy, readonly, nonnull) NSDictionary *partnerParameters; - -/** - * @brief List of callback parameters. - */ -@property (nonatomic, copy, readonly, nonnull) NSDictionary *callbackParameters; - - -- (nullable id)initWithSource:(nonnull NSString *)source; - -- (void)setRevenue:(double)amount currency:(nonnull NSString *)currency; - -- (void)setAdImpressionsCount:(int)adImpressionsCount; - -- (void)setAdRevenueNetwork:(nonnull NSString *)adRevenueNetwork; - -- (void)setAdRevenueUnit:(nonnull NSString *)adRevenueUnit; - -- (void)setAdRevenuePlacement:(nonnull NSString *)adRevenuePlacement; - -- (void)addCallbackParameter:(nonnull NSString *)key value:(nonnull NSString *)value; - -- (void)addPartnerParameter:(nonnull NSString *)key value:(nonnull NSString *)value; - -- (BOOL)isValid; - -@end diff --git a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTAttribution.h b/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTAttribution.h deleted file mode 100644 index 865405d..0000000 --- a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTAttribution.h +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - -#import - -/** - * @brief Adtrace attribution object. - */ -@interface ADTAttribution : NSObject - -/** - * @brief Tracker token. - */ -@property (nonatomic, copy, nullable) NSString *trackerToken; - -/** - * @brief Tracker name. - */ -@property (nonatomic, copy, nullable) NSString *trackerName; - -/** - * @brief Network name. - */ -@property (nonatomic, copy, nullable) NSString *network; - -/** - * @brief Campaign name. - */ -@property (nonatomic, copy, nullable) NSString *campaign; - -/** - * @brief Adgroup name. - */ -@property (nonatomic, copy, nullable) NSString *adgroup; - -/** - * @brief Creative name. - */ -@property (nonatomic, copy, nullable) NSString *creative; - -/** - * @brief Click label content. - */ -@property (nonatomic, copy, nullable) NSString *clickLabel; - -/** - * @brief Adtrace identifier value. - */ -@property (nonatomic, copy, nullable) NSString *adid; - -/** - * @brief Cost type. - */ -@property (nonatomic, copy, nullable) NSString *costType; - -/** - * @brief Cost amount. - */ -@property (nonatomic, copy, nullable) NSNumber *costAmount; - -/** - * @brief Cost currency. - */ -@property (nonatomic, copy, nullable) NSString *costCurrency; - -/** - * @brief Make attribution object. - * - * @param jsonDict Dictionary holding attribution key value pairs. - * @param adid Adtrace identifier value. - * - * @return Adtrace attribution object. - */ -+ (nullable ADTAttribution *)dataWithJsonDict:(nonnull NSDictionary *)jsonDict adid:(nonnull NSString *)adid; - -- (nullable id)initWithJsonDict:(nonnull NSDictionary *)jsonDict adid:(nonnull NSString *)adid; - -/** - * @brief Check if given attribution equals current one. - * - * @param attribution Attribution object to be compared with current one. - * - * @return Boolean indicating whether two attribution objects are the equal. - */ -- (BOOL)isEqualToAttribution:(nonnull ADTAttribution *)attribution; - -/** - * @brief Get attribution value as dictionary. - * - * @return Dictionary containing attribution as key-value pairs. - */ -- (nullable NSDictionary *)dictionary; - -@end diff --git a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTConfig.h b/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTConfig.h deleted file mode 100644 index e2d2b86..0000000 --- a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTConfig.h +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - - - -#import - -#import "ADTLogger.h" -#import "ADTAttribution.h" -#import "ADTEventSuccess.h" -#import "ADTEventFailure.h" -#import "ADTSessionSuccess.h" -#import "ADTSessionFailure.h" - -/** - * @brief Optional delegate that will get informed about tracking results. - */ -@protocol AdtraceDelegate - -@optional - -/** - * @brief Optional delegate method that gets called when the attribution information changed. - * - * @param attribution The attribution information. - * - * @note See ADTAttribution for details. - */ -- (void)adtraceAttributionChanged:(nullable ADTAttribution *)attribution; - -/** - * @brief Optional delegate method that gets called when an event is tracked with success. - * - * @param eventSuccessResponseData The response information from tracking with success - * - * @note See ADTEventSuccess for details. - */ -- (void)adtraceEventTrackingSucceeded:(nullable ADTEventSuccess *)eventSuccessResponseData; - -/** - * @brief Optional delegate method that gets called when an event is tracked with failure. - * - * @param eventFailureResponseData The response information from tracking with failure - * - * @note See ADTEventFailure for details. - */ -- (void)adtraceEventTrackingFailed:(nullable ADTEventFailure *)eventFailureResponseData; - -/** - * @brief Optional delegate method that gets called when an session is tracked with success. - * - * @param sessionSuccessResponseData The response information from tracking with success - * - * @note See ADTSessionSuccess for details. - */ -- (void)adtraceSessionTrackingSucceeded:(nullable ADTSessionSuccess *)sessionSuccessResponseData; - -/** - * @brief Optional delegate method that gets called when an session is tracked with failure. - * - * @param sessionFailureResponseData The response information from tracking with failure - * - * @note See ADTSessionFailure for details. - */ -- (void)adtraceSessionTrackingFailed:(nullable ADTSessionFailure *)sessionFailureResponseData; - -/** - * @brief Optional delegate method that gets called when a deferred deep link is about to be opened by the adtrace SDK. - * - * @param deeplink The deep link url that was received by the adtrace SDK to be opened. - * - * @return Boolean that indicates whether the deep link should be opened by the adtrace SDK or not. - */ -- (BOOL)adtraceDeeplinkResponse:(nullable NSURL *)deeplink; - -/** - * @brief Optional delegate method that gets called when Adtrace SDK sets conversion value for the user. - * - * @param conversionValue Conversion value used by Adtrace SDK to invoke updateConversionValue: API. - */ -- (void)adtraceConversionValueUpdated:(nullable NSNumber *)conversionValue; - -@end - -/** - * @brief Adtrace configuration object class. - */ -@interface ADTConfig : NSObject - -/** - * @brief SDK prefix. - * - * @note Not to be used by users, intended for non-native adtrace SDKs only. - */ -@property (nonatomic, copy, nullable) NSString *sdkPrefix; - -/** - * @brief Default tracker to attribute organic installs to (optional). - */ -@property (nonatomic, copy, nullable) NSString *defaultTracker; - -@property (nonatomic, copy, nullable) NSString *externalDeviceId; - -/** - * @brief Adtrace app token. - */ -@property (nonatomic, copy, readonly, nonnull) NSString *appToken; - -/** - * @brief Adtrace environment variable. - */ -@property (nonatomic, copy, readonly, nonnull) NSString *environment; - -/** - * @brief Change the verbosity of Adtrace's logs. - * - * @note You can increase or reduce the amount of logs from Adtrace by passing - * one of the following parameters. Use ADTLogLevelSuppress to disable all logging. - * The desired minimum log level (default: info) - * Must be one of the following: - * - ADTLogLevelVerbose (enable all logging) - * - ADTLogLevelDebug (enable more logging) - * - ADTLogLevelInfo (the default) - * - ADTLogLevelWarn (disable info logging) - * - ADTLogLevelError (disable warnings as well) - * - ADTLogLevelAssert (disable errors as well) - * - ADTLogLevelSuppress (suppress all logging) - */ -@property (nonatomic, assign) ADTLogLevel logLevel; - -/** - * @brief Enable event buffering if your app triggers a lot of events. - * When enabled, events get buffered and only get tracked each - * minute. Buffered events are still persisted, of course. - */ -@property (nonatomic, assign) BOOL eventBufferingEnabled; - -/** - * @brief Set the optional delegate that will inform you about attribution or events. - * - * @note See the AdtraceDelegate declaration above for details. - */ -@property (nonatomic, weak, nullable) NSObject *delegate; - -/** - * @brief Enables sending in the background. - */ -@property (nonatomic, assign) BOOL sendInBackground; - -/** - * @brief Enables/disables reading of iAd framework data needed for ASA tracking. - */ -@property (nonatomic, assign) BOOL allowiAdInfoReading; - -/** - * @brief Enables/disables reading of AdServices framework data needed for attribution. - */ -@property (nonatomic, assign) BOOL allowAdServicesInfoReading; - -/** - * @brief Enables/disables reading of IDFA parameter. - */ -@property (nonatomic, assign) BOOL allowIdfaReading; - -/** - * @brief Enables delayed start of the SDK. - */ -@property (nonatomic, assign) double delayStart; - -/** - * @brief User agent for the requests. - */ -@property (nonatomic, copy, nullable) NSString *userAgent; - -/** - * @brief Set if the device is known. - */ -@property (nonatomic, assign) BOOL isDeviceKnown; - -/** - * @brief Set if cost data is needed in attribution response. - */ -@property (nonatomic, assign) BOOL needsCost; - -/** - * @brief Adtrace app secret id. - */ -@property (nonatomic, copy, readonly, nullable) NSString *secretId; - -/** - * @brief Adtrace app secret. - */ -@property (nonatomic, copy, readonly, nullable) NSString *appSecret; - -/** - * @brief Adtrace set app secret. - */ -- (void)setAppSecret:(NSUInteger)secretId - info1:(NSUInteger)info1 - info2:(NSUInteger)info2 - info3:(NSUInteger)info3 - info4:(NSUInteger)info4; - - -@property (nonatomic, assign, readonly) BOOL isSKAdNetworkHandlingActive; - -- (void)deactivateSKAdNetworkHandling; - -/** - * @brief Adtrace url strategy. - */ -@property (nonatomic, copy, readwrite, nullable) NSString *urlStrategy; - -/** - * @brief Get configuration object for the initialization of the Adtrace SDK. - * - * @param appToken The App Token of your app. This unique identifier can - * be found it in your dashboard at http: - * be 12 characters long. - * @param environment The current environment your app. We use this environment to - * distinguish between real traffic and artificial traffic from test devices. - * It is very important that you keep this value meaningful at all times! - * Especially if you are tracking revenue. - * - * @returns Adtrace configuration object. - */ -+ (nullable ADTConfig *)configWithAppToken:(nonnull NSString *)appToken - environment:(nonnull NSString *)environment; - -- (nullable id)initWithAppToken:(nonnull NSString *)appToken - environment:(nonnull NSString *)environment; - -/** - * @brief Configuration object for the initialization of the Adtrace SDK. - * - * @param appToken The App Token of your app. This unique identifier can - * be found it in your dashboard at http: - * be 12 characters long. - * @param environment The current environment your app. We use this environment to - * distinguish between real traffic and artificial traffic from test devices. - * It is very important that you keep this value meaningful at all times! - * Especially if you are tracking revenue. - * @param allowSuppressLogLevel If set to true, it allows usage of ADTLogLevelSuppress - * and replaces the default value for production environment. - * - * @returns Adtrace configuration object. - */ -+ (nullable ADTConfig *)configWithAppToken:(nonnull NSString *)appToken - environment:(nonnull NSString *)environment - allowSuppressLogLevel:(BOOL)allowSuppressLogLevel; - -- (nullable id)initWithAppToken:(nonnull NSString *)appToken - environment:(nonnull NSString *)environment - allowSuppressLogLevel:(BOOL)allowSuppressLogLevel; - -/** - * @brief Check if adtrace configuration object is valid. - * - * @return Boolean indicating whether adtrace config object is valid or not. - */ -- (BOOL)isValid; - -@end diff --git a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTEvent.h b/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTEvent.h deleted file mode 100644 index 2345659..0000000 --- a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTEvent.h +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - -#import - -/** - * @brief Adtrace event class. - */ -@interface ADTEvent : NSObject - -/** - * @brief Revenue attached to the event. - */ -@property (nonatomic, copy, readonly, nonnull) NSNumber *revenue; - -/** - * @brief Event token. - */ -@property (nonatomic, copy, readonly, nonnull) NSString *eventToken; - -/** - * @brief IAP transaction ID. - */ -@property (nonatomic, copy, readonly, nonnull) NSString *transactionId; - -/** - * @brief Custom user defined event ID. - */ -@property (nonatomic, copy, readonly, nonnull) NSString *callbackId; - -/** - * @brief Currency value. - */ -@property (nonatomic, copy, readonly, nonnull) NSString *currency; - -/** - * @brief IAP receipt. - */ -@property (nonatomic, copy, readonly, nonnull) NSData *receipt; - -/** - * @brief List of event parameters. - */ -@property (nonatomic, readonly, nonnull) NSDictionary *addEventParameters; - -/** - * @brief List of callback parameters. - */ -@property (nonatomic, readonly, nonnull) NSDictionary *callbackParameters; - -/** - * @brief Is the given receipt empty. - */ -@property (nonatomic, assign, readonly) BOOL emptyReceipt; - -/** - * @brief Create Event object with event token. - * - * @param eventToken Event token that is created in the dashboard - * at http: - */ -+ (nullable ADTEvent *)eventWithEventToken:(nonnull NSString *)eventToken; - -- (nullable id)initWithEventToken:(nonnull NSString *)eventToken; - -/** - * @brief Add a key-pair to a callback URL. - * - * @param key String key in the callback URL. - * @param value String value of the key in the Callback URL. - * - * @note In your dashboard at http: - * event type. That URL will get called every time the event is triggered. On - * top of that you can add callback parameters to the following method that - * will be forwarded to these callbacks. - */ -- (void)addCallbackParameter:(nonnull NSString *)key value:(nonnull NSString *)value; - -/** - * @brief Add a key-pair to be fowarded to a partner. - * - * @param key String key to be fowarded to the partner. - * @param value String value of the key to be fowarded to the partner. - */ -- (void)addEventValueParameter:(nonnull NSString *)key value:(nonnull NSString *)value; - -/** - * @brief Set the revenue and associated currency of the event. - * - * @param amount The amount in units (example: for 1.50 EUR is 1.5). - * @param currency String of the currency with ISO 4217 format. - * It should be 3 characters long (example: for 1.50 EUR is @"EUR"). - * - * @note The event can contain some revenue. The amount revenue is measured in units. - * It must include a currency in the ISO 4217 format. - */ -- (void)setRevenue:(double)amount currency:(nonnull NSString *)currency; - -/** - * @brief Set the transaction ID of a In-App Purchases to avoid revenue duplications. - * - * @note A transaction ID can be used to avoid duplicate revenue events. The last ten - * transaction identifiers are remembered. - * - * @param transactionId The identifier used to avoid duplicate revenue events. - */ -- (void)setTransactionId:(nonnull NSString *)transactionId; - -/** - * @brief Set the custom user defined ID for the event which will be reported in - * success/failure callbacks. - * - * @param callbackId Custom user defined identifier for the event - */ -- (void)setCallbackId:(nonnull NSString *)callbackId; - -/** - * @brief Check if created adtrace event object is valid. - * - * @return Boolean indicating whether the adtrace event object is valid or not. - */ -- (BOOL)isValid; - -/** - * @brief Validate a in-app-purchase receipt. - * - * @param receipt The receipt to validate. - * @param transactionId The identifier used to validate the receipt and to avoid duplicate revenue events. - * - * @note This method is obsolete and should not be used. - * For more information, visit: https: - */ -- (void)setReceipt:(nonnull NSData *)receipt transactionId:(nonnull NSString *)transactionId; - -@end diff --git a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTEventFailure.h b/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTEventFailure.h deleted file mode 100644 index bc49599..0000000 --- a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTEventFailure.h +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - -#import - -@interface ADTEventFailure : NSObject - -/** - * @brief Message from the adtrace backend. - */ -@property (nonatomic, copy) NSString * message; - -/** - * @brief Timestamp from the adtrace backend. - */ -@property (nonatomic, copy) NSString * timeStamp; - -/** - * @brief Adtrace identifier of the device. - */ -@property (nonatomic, copy) NSString * adid; - -/** - * @brief Event token value. - */ -@property (nonatomic, copy) NSString * eventToken; - -/** - * @brief Event callback ID. - */ -@property (nonatomic, copy) NSString *callbackId; - -/** - * @brief Information whether sending of the package will be retried or not. - */ -@property (nonatomic, assign) BOOL willRetry; - -/** - * @brief Backend response in JSON format. - */ -@property (nonatomic, strong) NSDictionary *jsonResponse; - -/** - * @brief Initialisation method. - * - * @return ADTEventFailure instance. - */ -+ (ADTEventFailure *)eventFailureResponseData; - -@end diff --git a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTEventSuccess.h b/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTEventSuccess.h deleted file mode 100644 index e462668..0000000 --- a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTEventSuccess.h +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - -#import - -@interface ADTEventSuccess : NSObject - -/** - * @brief Message from the adtrace backend. - */ -@property (nonatomic, copy) NSString *message; - -/** - * @brief Timestamp from the adtrace backend. - */ -@property (nonatomic, copy) NSString *timeStamp; - -/** - * @brief Adtrace identifier of the device. - */ -@property (nonatomic, copy) NSString *adid; - -/** - * @brief Event token value. - */ -@property (nonatomic, copy) NSString *eventToken; - -/** - * @brief Event callback ID. - */ -@property (nonatomic, copy) NSString *callbackId; - -/** - * @brief Backend response in JSON format. - */ -@property (nonatomic, strong) NSDictionary *jsonResponse; - -/** - * @brief Initialisation method. - * - * @return ADTEventSuccess instance. - */ -+ (ADTEventSuccess *)eventSuccessResponseData; - -@end diff --git a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTLinkResolution.h b/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTLinkResolution.h deleted file mode 100644 index 8b1f0e0..0000000 --- a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTLinkResolution.h +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - -#import - -@interface ADTLinkResolution : NSObject - -+ (void)resolveLinkWithUrl:(nonnull NSURL *)url - resolveUrlSuffixArray:(nullable NSArray *)resolveUrlSuffixArray - callback:(nonnull void (^)(NSURL *_Nullable resolvedLink))callback; - -@end diff --git a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTLogger.h b/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTLogger.h deleted file mode 100644 index 4fa17a3..0000000 --- a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTLogger.h +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - -#import - -typedef enum { - ADTLogLevelVerbose = 1, - ADTLogLevelDebug = 2, - ADTLogLevelInfo = 3, - ADTLogLevelWarn = 4, - ADTLogLevelError = 5, - ADTLogLevelAssert = 6, - ADTLogLevelSuppress = 7 -} ADTLogLevel; - -/** - * @brief Adtrace logger protocol. - */ -@protocol ADTLogger - -/** - * @brief Set the log level of the SDK. - * - * @param logLevel Level of the logs to be displayed. - */ -- (void)setLogLevel:(ADTLogLevel)logLevel isProductionEnvironment:(BOOL)isProductionEnvironment; - -/** - * @brief Prevent log level changes. - */ -- (void)lockLogLevel; - -/** - * @brief Print verbose logs. - */ -- (void)verbose:(nonnull NSString *)message, ...; - -/** - * @brief Print debug logs. - */ -- (void)debug:(nonnull NSString *)message, ...; - -/** - * @brief Print info logs. - */ -- (void)info:(nonnull NSString *)message, ...; - -/** - * @brief Print warn logs. - */ -- (void)warn:(nonnull NSString *)message, ...; -- (void)warnInProduction:(nonnull NSString *)message, ...; - -/** - * @brief Print error logs. - */ -- (void)error:(nonnull NSString *)message, ...; - -/** - * @brief Print assert logs. - */ -- (void)assert:(nonnull NSString *)message, ...; - -@end - -/** - * @brief Adtrace logger class. - */ -@interface ADTLogger : NSObject - -/** - * @brief Convert log level string to ADTLogLevel enumeration. - * - * @param logLevelString Log level as string. - * - * @return Log level as ADTLogLevel enumeration. - */ -+ (ADTLogLevel)logLevelFromString:(nonnull NSString *)logLevelString; - -@end diff --git a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTSessionFailure.h b/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTSessionFailure.h deleted file mode 100644 index 1db55fb..0000000 --- a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTSessionFailure.h +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - -#import - -@interface ADTSessionFailure : NSObject - -/** - * @brief Message from the adtrace backend. - */ -@property (nonatomic, copy, nullable) NSString *message; - -/** - * @brief Timestamp from the adtrace backend. - */ -@property (nonatomic, copy, nullable) NSString *timeStamp; - -/** - * @brief Adtrace identifier of the device. - */ -@property (nonatomic, copy, nullable) NSString *adid; - -/** - * @brief Information whether sending of the package will be retried or not. - */ -@property (nonatomic, assign) BOOL willRetry; - -/** - * @brief Backend response in JSON format. - */ -@property (nonatomic, strong, nullable) NSDictionary *jsonResponse; - -/** - * @brief Initialisation method. - * - * @return ADTSessionFailure instance. - */ -+ (nullable ADTSessionFailure *)sessionFailureResponseData; - -@end diff --git a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTSessionSuccess.h b/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTSessionSuccess.h deleted file mode 100644 index 10ee847..0000000 --- a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTSessionSuccess.h +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - -#import - -@interface ADTSessionSuccess : NSObject - -/** - * @brief Message from the adtrace backend. - */ -@property (nonatomic, copy, nullable) NSString *message; - -/** - * @brief Timestamp from the adtrace backend. - */ -@property (nonatomic, copy, nullable) NSString *timeStamp; - -/** - * @brief Adtrace identifier of the device. - */ -@property (nonatomic, copy, nullable) NSString *adid; - -/** - * @brief Backend response in JSON format. - */ -@property (nonatomic, strong, nullable) NSDictionary *jsonResponse; - -/** - * @brief Initialisation method. - * - * @return ADTSessionSuccess instance. - */ -+ (nullable ADTSessionSuccess *)sessionSuccessResponseData; - -@end diff --git a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTSubscription.h b/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTSubscription.h deleted file mode 100644 index b0b7520..0000000 --- a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTSubscription.h +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - -#import - -@interface ADTSubscription : NSObject - -@property (nonatomic, copy, readonly, nonnull) NSDecimalNumber *price; - -@property (nonatomic, copy, readonly, nonnull) NSString *currency; - -@property (nonatomic, copy, readonly, nonnull) NSString *transactionId; - -@property (nonatomic, copy, readonly, nonnull) NSData *receipt; - -@property (nonatomic, copy, readonly, nonnull) NSString *billingStore; - -@property (nonatomic, copy, readonly, nonnull) NSDate *transactionDate; - -@property (nonatomic, copy, readonly, nonnull) NSString *salesRegion; - -@property (nonatomic, copy, readonly, nonnull) NSDictionary *callbackParameters; - -@property (nonatomic, copy, readonly, nonnull) NSDictionary *partnerParameters; - -- (nullable id)initWithPrice:(nonnull NSDecimalNumber *)price - currency:(nonnull NSString *)currency - transactionId:(nonnull NSString *)transactionId - andReceipt:(nonnull NSData *)receipt; - -- (void)setTransactionDate:(nonnull NSDate *)transactionDate; - -- (void)setSalesRegion:(nonnull NSString *)salesRegion; - -- (void)addCallbackParameter:(nonnull NSString *)key value:(nonnull NSString *)value; - -- (void)addPartnerParameter:(nonnull NSString *)key value:(nonnull NSString *)value; - -@end diff --git a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTThirdPartySharing.h b/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTThirdPartySharing.h deleted file mode 100644 index 15bb0be..0000000 --- a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/ADTThirdPartySharing.h +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - -#import - -@interface ADTThirdPartySharing : NSObject - -- (nullable id)initWithIsEnabledNumberBool:(nullable NSNumber *)isEnabledNumberBool; - -- (void)addGranularOption:(nonnull NSString *)partnerName - key:(nonnull NSString *)key - value:(nonnull NSString *)value; - -@property (nonatomic, nullable, readonly, strong) NSNumber *enabled; -@property (nonatomic, nonnull, readonly, strong) NSMutableDictionary *granularOptions; - -@end - diff --git a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/Adtrace.h b/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/Adtrace.h deleted file mode 100644 index ac7d960..0000000 --- a/Frameworks/static/AdtraceSdk.framework/Versions/A/Headers/Adtrace.h +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - - - - -#import "ADTEvent.h" -#import "ADTConfig.h" -#import "ADTAttribution.h" -#import "ADTSubscription.h" -#import "ADTThirdPartySharing.h" -#import "ADTAdRevenue.h" -#import "ADTLinkResolution.h" - -@interface AdtraceTestOptions : NSObject - -@property (nonatomic, copy, nullable) NSString *baseUrl; -@property (nonatomic, copy, nullable) NSString *gdprUrl; -@property (nonatomic, copy, nullable) NSString *subscriptionUrl; -@property (nonatomic, copy, nullable) NSString *extraPath; -@property (nonatomic, copy, nullable) NSNumber *timerIntervalInMilliseconds; -@property (nonatomic, copy, nullable) NSNumber *timerStartInMilliseconds; -@property (nonatomic, copy, nullable) NSNumber *sessionIntervalInMilliseconds; -@property (nonatomic, copy, nullable) NSNumber *subsessionIntervalInMilliseconds; -@property (nonatomic, assign) BOOL teardown; -@property (nonatomic, assign) BOOL deleteState; -@property (nonatomic, assign) BOOL noBackoffWait; -@property (nonatomic, assign) BOOL iAdFrameworkEnabled; -@property (nonatomic, assign) BOOL adServicesFrameworkEnabled; -@property (nonatomic, assign) BOOL enableSigning; -@property (nonatomic, assign) BOOL disableSigning; - -@end - -/** - * Constants for our supported tracking environments. - */ -extern NSString * __nonnull const ADTEnvironmentSandbox; -extern NSString * __nonnull const ADTEnvironmentProduction; - -/** - * Constants for supported ad revenue sources. - */ -extern NSString * __nonnull const ADTAdRevenueSourceAppLovinMAX; -extern NSString * __nonnull const ADTAdRevenueSourceMopub; -extern NSString * __nonnull const ADTAdRevenueSourceAdMob; -extern NSString * __nonnull const ADTAdRevenueSourceIronSource; -extern NSString * __nonnull const ADTAdRevenueSourceAdMost; -extern NSString * __nonnull const ADTAdRevenueSourceUnity; -extern NSString * __nonnull const ADTAdRevenueSourceHeliumChartboost; - -/** - * Constants for country app's URL strategies. - */ -extern NSString * __nonnull const ADTUrlStrategyIndia; -extern NSString * __nonnull const ADTUrlStrategyChina; -extern NSString * __nonnull const ADTDataResidencyEU; -extern NSString * __nonnull const ADTDataResidencyTR; -extern NSString * __nonnull const ADTDataResidencyUS; - -/** - * @brief The main interface to Adtrace. - * - * @note Use the methods of this class to tell Adtrace about the usage of your app. - * See the README for details. - */ -@interface Adtrace : NSObject - -/** - * @brief Tell Adtrace that the application did launch. - * This is required to initialize Adtrace. Call this in the didFinishLaunching - * method of your AppDelegate. - * - * @note See ADTConfig.h for more configuration options - * - * @param adtraceConfig The configuration object that includes the environment - * and the App Token of your app. This unique identifier can - * be found it in your dashboard at http: - * be 12 characters long. - */ -+ (void)appDidLaunch:(nullable ADTConfig *)adtraceConfig; - -/** - * @brief Tell Adtrace that a particular event has happened. - * - * @note See ADTEvent.h for more event options. - * - * @param event The Event object for this kind of event. It needs a event token - * that is created in the dashboard at http: - * characters long. - */ -+ (void)trackEvent:(nullable ADTEvent *)event; - -/** - * @brief Tell adtrace that the application resumed. - * - * @note Only necessary if the native notifications can't be used - * or if they will happen before call to appDidLaunch: is made. - */ -+ (void)trackSubsessionStart; - -/** - * @brief Tell adtrace that the application paused. - * - * @note Only necessary if the native notifications can't be used. - */ -+ (void)trackSubsessionEnd; - -/** - * @brief Enable or disable the adtrace SDK. This setting is saved for future sessions. - * - * @param enabled The flag to enable or disable the adtrace SDK. - */ -+ (void)setEnabled:(BOOL)enabled; - -/** - * @brief Check if the SDK is enabled or disabled. - * - * return Boolean indicating whether SDK is enabled or not. - */ -+ (BOOL)isEnabled; - -/** - * @brief Read the URL that opened the application to search for an adtrace deep link. - * - * @param url URL object which contains info about adtrace deep link. - */ -+ (void)appWillOpenUrl:(nonnull NSURL *)url; - -/** - * @brief Set the device token used by push notifications. - * - * @param deviceToken Apple push notification token for iOS device as NSData. - */ -+ (void)setDeviceToken:(nonnull NSData *)deviceToken; - -/** - * @brief Set the device token used by push notifications. - * This method is only used by Adtrace non native SDKs. Don't use it anywhere else. - * - * @param pushToken Apple push notification token for iOS device as NSString. - */ -+ (void)setPushToken:(nonnull NSString *)pushToken; - -/** - * @brief Enable or disable offline mode. Activities won't be sent but they are saved when - * offline mode is disabled. This feature is not saved for future sessions. - * - * @param enabled The flag to enable or disable offline mode. - */ -+ (void)setOfflineMode:(BOOL)enabled; - -/** - * @brief Retrieve iOS device IDFA value. - * - * @return Device IDFA value. - */ -+ (nullable NSString *)idfa; - -/** - * @brief Get current adtrace identifier for the user. - * - * @note Adtrace identifier is available only after installation has been successfully tracked. - * - * @return Current adtrace identifier value for the user. - */ -+ (nullable NSString *)adid; - -/** - * @brief Get current attribution for the user. - * - * @note Attribution information is available only after installation has been successfully tracked - * and attribution information arrived after that from the backend. - * - * @return Current attribution value for the user. - */ -+ (nullable ADTAttribution *)attribution; - -/** - * @brief Get current Adtrace SDK version string. - * - * @return Adtrace SDK version string (iosX.Y.Z). - */ -+ (nullable NSString *)sdkVersion; - -/** - * @brief Convert a universal link style URL to a deeplink style URL with the corresponding scheme. - * - * @param url URL object which contains info about adtrace deep link. - * @param scheme Desired scheme to which you want your resulting URL object to be prefixed with. - * - * @return URL object in custom URL scheme style prefixed with given scheme name. - */ -+ (nullable NSURL *)convertUniversalLink:(nonnull NSURL *)url scheme:(nonnull NSString *)scheme; - -/** - * @brief Tell the adtrace SDK to stop waiting for delayed initialisation timer to complete but rather to start - * upon this call. This should be called if you have obtained needed callback/partner parameters which you - * wanted to put as default ones before the delayedStart value you have set on ADTConfig has expired. - */ -+ (void)sendFirstPackages; - -/** - * @brief Tell adtrace to send the request to Google and check if the installation - * belongs to Google AdWords campaign. - * - * @note Deprecated method, should not be used. - */ -+ (void)sendAdWordsRequest; - -/** - * @brief Add default callback parameter key-value pair which is going to be sent with each tracked session and event. - * - * @param key Default callback parameter key. - * @param value Default callback parameter value. - */ -+ (void)addSessionCallbackParameter:(nonnull NSString *)key value:(nonnull NSString *)value; - -/** - * @brief Add default partner parameter key-value pair which is going to be sent with each tracked session. - * - * @param key Default partner parameter key. - * @param value Default partner parameter value. - */ -+ (void)addSessionPartnerParameter:(nonnull NSString *)key value:(nonnull NSString *)value; - -/** - * @brief Remove default callback parameter from the session packages. - * - * @param key Default callback parameter key. - */ -+ (void)removeSessionCallbackParameter:(nonnull NSString *)key; - -/** - * @brief Remove default partner parameter from the session packages. - * - * @param key Default partner parameter key. - */ -+ (void)removeSessionPartnerParameter:(nonnull NSString *)key; - -/** - * @brief Remove all default callback parameters from the session packages. - */ -+ (void)resetSessionCallbackParameters; - -/** - * @brief Remove all default partner parameters from the session packages. - */ -+ (void)resetSessionPartnerParameters; - -/** - * @brief Give right user to be forgotten in accordance with GDPR law. - */ -+ (void)gdprForgetMe; - -/** - * @brief Track ad revenue for given source. - * - * @param source Ad revenue source. - * @param payload Ad revenue payload. - */ -+ (void)trackAdRevenue:(nonnull NSString *)source payload:(nonnull NSData *)payload; - -/** - * @brief Give right user to disable sharing data to any third-party. - */ -+ (void)disableThirdPartySharing; - -/** - * @brief Track third paty sharing with possibility to allow or disallow it. - * - * @param thirdPartySharing Third party sharing choice. - */ -+ (void)trackThirdPartySharing:(nonnull ADTThirdPartySharing *)thirdPartySharing; - -/** - * @brief Track measurement consent. - * - * @param enabled Value of the consent. - */ -+ (void)trackMeasurementConsent:(BOOL)enabled; - -/** - * @brief Track ad revenue. - * - * @param adRevenue Ad revenue object instance containing all the relevant ad revenue tracking data. - */ -+ (void)trackAdRevenue:(nonnull ADTAdRevenue *)adRevenue; - -/** - * @brief Track subscription. - * - * @param subscription Subscription object. - */ -+ (void)trackSubscription:(nonnull ADTSubscription *)subscription; - -/** - * @brief Adtrace wrapper for requestTrackingAuthorizationWithCompletionHandler: method. - * - * @param completion Block which value of tracking authorization status will be delivered to. - */ -+ (void)requestTrackingAuthorizationWithCompletionHandler:(void (^_Nullable)(NSUInteger status))completion; - -/** - * @brief Getter for app tracking authorization status. - * - * return Value of app tracking authorization status. - */ -+ (int)appTrackingAuthorizationStatus; - -/** - * @brief Adtrace wrapper for updateConversionValue: method. - * - * @param conversionValue Conversion value you would like SDK to set for given user. - */ -+ (void)updateConversionValue:(NSInteger)conversionValue; - -/** - * @brief Method used for internal testing only. Don't use it in production. - */ -+ (void)setTestOptions:(nullable AdtraceTestOptions *)testOptions; - -/** - * Obtain singleton Adtrace object. - */ -+ (nullable instancetype)getInstance; - -- (void)appDidLaunch:(nullable ADTConfig *)adtraceConfig; - -- (void)trackEvent:(nullable ADTEvent *)event; - -- (void)setEnabled:(BOOL)enabled; - -- (void)teardown; - -- (void)appWillOpenUrl:(nonnull NSURL *)url; - -- (void)setOfflineMode:(BOOL)enabled; - -- (void)setDeviceToken:(nonnull NSData *)deviceToken; - -- (void)setPushToken:(nonnull NSString *)pushToken; - -- (void)sendFirstPackages; - -- (void)trackSubsessionEnd; - -- (void)trackSubsessionStart; - -- (void)resetSessionPartnerParameters; - -- (void)resetSessionCallbackParameters; - -- (void)removeSessionPartnerParameter:(nonnull NSString *)key; - -- (void)removeSessionCallbackParameter:(nonnull NSString *)key; - -- (void)addSessionPartnerParameter:(nonnull NSString *)key value:(nonnull NSString *)value; - -- (void)addSessionCallbackParameter:(nonnull NSString *)key value:(nonnull NSString *)value; - -- (void)gdprForgetMe; - -- (void)trackAdRevenue:(nonnull NSString *)source payload:(nonnull NSData *)payload; - -- (void)trackSubscription:(nonnull ADTSubscription *)subscription; - -- (BOOL)isEnabled; - -- (nullable NSString *)adid; - -- (nullable NSString *)idfa; - -- (nullable NSString *)sdkVersion; - -- (nullable ADTAttribution *)attribution; - -- (nullable NSURL *)convertUniversalLink:(nonnull NSURL *)url scheme:(nonnull NSString *)scheme; - -- (void)requestTrackingAuthorizationWithCompletionHandler:(void (^_Nullable)(NSUInteger status))completion; - -- (int)appTrackingAuthorizationStatus; - -- (void)updateConversionValue:(NSInteger)conversionValue; - -- (void)trackThirdPartySharing:(nonnull ADTThirdPartySharing *)thirdPartySharing; - -- (void)trackMeasurementConsent:(BOOL)enabled; - -- (void)trackAdRevenue:(nonnull ADTAdRevenue *)adRevenue; - -@end diff --git a/Frameworks/static/AdtraceSdk.framework/Versions/Current b/Frameworks/static/AdtraceSdk.framework/Versions/Current deleted file mode 120000 index 8c7e5a6..0000000 --- a/Frameworks/static/AdtraceSdk.framework/Versions/Current +++ /dev/null @@ -1 +0,0 @@ -A \ No newline at end of file diff --git a/scripts/build.sh b/scripts/build.sh deleted file mode 100755 index a510ae1..0000000 --- a/scripts/build.sh +++ /dev/null @@ -1,135 +0,0 @@ -#!/usr/bin/env bash - -set -e - -# ======================================== # - -# Colors for output -NC='\033[0m' -RED='\033[0;31m' -CYAN='\033[1;36m' -GREEN='\033[0;32m' - -# ======================================== # - -# Directories and paths of interest for the script. -SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -ROOT_DIR="$(dirname "$SCRIPTS_DIR")" -cd ${ROOT_DIR} - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Removing framework targets folders ... ${NC}" -rm -rf frameworks -rm -rf Carthage -rm -rf build -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Done! ${NC}" - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Creating framework targets folders ... ${NC}" -mkdir -p frameworks/static -mkdir -p frameworks/dynamic/ios -mkdir -p frameworks/dynamic/tvos -mkdir -p frameworks/dynamic/imessage -mkdir -p frameworks/dynamic/webbridge -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Done! ${NC}" - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Bulding static SDK framework and copying it to destination folder ... ${NC}" -xcodebuild -target AdtraceStatic -configuration Release clean build -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Done! ${NC}" - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Bulding universal tvOS SDK framework (device + simulator) and copying it to destination folder ... ${NC}" -xcodebuild -configuration Release -target AdtraceSdkTv -arch x86_64 -sdk appletvsimulator clean build -xcodebuild -configuration Release -target AdtraceSdkTv -arch arm64 -sdk appletvos build -cp -Rv build/Release-appletvos/AdtraceSdkTv.framework frameworks/static -lipo -create -output frameworks/static/AdtraceSdkTv.framework/AdtraceSdkTv build/Release-appletvos/AdtraceSdkTv.framework/AdtraceSdkTv build/Release-appletvsimulator/AdtraceSdkTv.framework/AdtraceSdkTv -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Done! ${NC}" - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Moving shared schemas to generate dynamic iOS and tvOS SDK framework using Carthage ... ${NC}" -mv Adtrace.xcodeproj/xcshareddata/xcschemes/AdtraceSdkIm.xcscheme \ - Adtrace.xcodeproj/xcshareddata/xcschemes/AdtraceSdkWebBridge.xcscheme . -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Done! ${NC}" - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Bulding dynamic iOS and tvOS targets with Carthage ... ${NC}" -#carthage build --no-skip-current -./scripts/carthage_xcode12.sh build --no-skip-current -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Done! ${NC}" - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Move Carthage generated dynamic iOS SDK framework to destination folder ... ${NC}" -mv Carthage/Build/iOS/* frameworks/dynamic/ios -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Done! ${NC}" - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Move Carthage generated dynamic tvOs SDK framework to destination folder ... ${NC}" -mv Carthage/Build/tvOS/* frameworks/dynamic/tvos/ -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Done! ${NC}" - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Moving shared schemas to generate dynamic iMessage SDK framework using Carthage ... ${NC}" -mv Adtrace.xcodeproj/xcshareddata/xcschemes/AdtraceSdk.xcscheme \ - Adtrace.xcodeproj/xcshareddata/xcschemes/AdtraceSdkTv.xcscheme . -mv AdtraceSdkIm.xcscheme Adtrace.xcodeproj/xcshareddata/xcschemes -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Done! ${NC}" - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Bulding dynamic iMessage target with Carthage ... ${NC}" -#carthage build --no-skip-current -./scripts/carthage_xcode12.sh build --no-skip-current -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Done! ${NC}" - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Move Carthage generated dynamic iMessage SDK framework to destination folder ... ${NC}" -mv Carthage/Build/iOS/* frameworks/dynamic/imessage/ -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Done! ${NC}" - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Moving shared schemas to generate dynamic WebBridge SDK framework using Carthage ... ${NC}" -mv Adtrace.xcodeproj/xcshareddata/xcschemes/AdtraceSdkIm.xcscheme . -mv AdtraceSdkWebBridge.xcscheme Adtrace.xcodeproj/xcshareddata/xcschemes -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Done! ${NC}" - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Bulding dynamic WebBridge target with Carthage ... ${NC}" -#carthage build --no-skip-current -./scripts/carthage_xcode12.sh build --no-skip-current -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Done! ${NC}" - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Move Carthage generated dynamic WebBridge SDK framework to destination folder ... ${NC}" -mv Carthage/Build/iOS/* frameworks/dynamic/webbridge/ -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Done! ${NC}" - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Moving shared schemas back ... ${NC}" -mv *.xcscheme Adtrace.xcodeproj/xcshareddata/xcschemes -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Done! ${NC}" - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Bulding static test library framework and copying it to destination folder ... ${NC}" -cd ${ROOT_DIR}/AdtraceTests/AdtraceTestLibrary -xcodebuild -target AdtraceTestLibraryStatic -configuration Debug clean build -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Done! ${NC}" - -# ======================================== # - -echo -e "${CYAN}[ADTRACE][BUILD]:${GREEN} Script completed! ${NC}" diff --git a/scripts/carthage_xcode12.sh b/scripts/carthage_xcode12.sh deleted file mode 100755 index c398997..0000000 --- a/scripts/carthage_xcode12.sh +++ /dev/null @@ -1,20 +0,0 @@ -# carthage.sh -# Usage example: ./carthage.sh build --platform iOS - -set -euo pipefail - -xcconfig=$(mktemp /tmp/static.xcconfig.XXXXXX) -trap 'rm -f "$xcconfig"' INT TERM HUP EXIT - -# For Xcode 12 make sure EXCLUDED_ARCHS is set to arm architectures otherwise -# the build will fail on lipo due to duplicate architectures. - -CURRENT_XCODE_VERSION=$(xcodebuild -version | grep "Build version" | cut -d' ' -f3) -echo "EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64__XCODE_1200__BUILD_$CURRENT_XCODE_VERSION = arm64 arm64e armv7 armv7s armv6 armv8" >> $xcconfig - -echo 'EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64__XCODE_1200 = $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64__XCODE_1200__BUILD_$(XCODE_PRODUCT_BUILD_VERSION))' >> $xcconfig -echo 'EXCLUDED_ARCHS = $(inherited) $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT)__XCODE_$(XCODE_VERSION_MAJOR))' >> $xcconfig - -export XCODE_XCCONFIG_FILE="$xcconfig" -carthage "$@" -