Skip to content

Commit

Permalink
Releases/v4.7.0 (#116)
Browse files Browse the repository at this point in the history
Improvements:
* Add support for monitoring media on `visionOS`. We recommend testing your `visionOS` SDK integration on both the simulator and a physical device prior to deploying to the App Store.

Fixes:
* Compute correct Video Startup Time if `AdPlayingEvent` occurs a significant time after the view has started
* Ensure seeks are excluded from Video Startup Time in all cases

Known Issues:
* Installation using Cocoapods on `visionOS` is not currently supported. Installation on `iOS` and `tvOS` using Cocoapods is not affected.
  • Loading branch information
andrewjl-mux authored Jan 17, 2024
1 parent 982feb9 commit 50d131b
Show file tree
Hide file tree
Showing 133 changed files with 3,724 additions and 23 deletions.
3 changes: 2 additions & 1 deletion MUXCore.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"4.5.0": "https://github.com/muxinc/stats-sdk-objc/releases/download/v4.5.0/MUXCore.xcframework.zip",
"4.5.1": "https://github.com/muxinc/stats-sdk-objc/releases/download/v4.5.1/MUXCore.xcframework.zip",
"4.5.2": "https://github.com/muxinc/stats-sdk-objc/releases/download/v4.5.2/MUXCore.xcframework.zip",
"4.6.0": "https://github.com/muxinc/stats-sdk-objc/releases/download/v4.6.0/MUXCore.xcframework.zip"
"4.6.0": "https://github.com/muxinc/stats-sdk-objc/releases/download/v4.6.0/MUXCore.xcframework.zip",
"4.7.0": "https://github.com/muxinc/stats-sdk-objc/releases/download/v4.6.0/MUXCore.xcframework.zip"
}


2 changes: 1 addition & 1 deletion Mux-Stats-Core.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = 'Mux-Stats-Core'

s.version = '4.6.0'
s.version = '4.7.0'

s.source = { :git => 'https://github.com/muxinc/stats-sdk-objc.git',
:tag => "v#{s.version}" }
Expand Down
5 changes: 3 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
// swift-tools-version:5.3
// swift-tools-version:5.9

import PackageDescription

let package = Package(
name: "MuxCore",
platforms: [
.iOS(.v11),
.tvOS(.v11)
.tvOS(.v11),
.visionOS(.v1)
],
products: [
.library(name: "MuxCore", targets: ["MuxCore"])
Expand Down
51 changes: 46 additions & 5 deletions XCFramework/MuxCore.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,24 @@
<key>AvailableLibraries</key>
<array>
<dict>
<key>BinaryPath</key>
<string>MuxCore.framework/MuxCore</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>tvos-arm64</string>
<key>LibraryPath</key>
<string>MuxCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<string>tvos</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>MuxCore.framework/MuxCore</string>
<key>LibraryIdentifier</key>
<string>tvos-arm64_x86_64-simulator</string>
<string>xros-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>MuxCore.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -27,11 +31,41 @@
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>tvos</string>
<string>xros</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>MuxCore.framework/MuxCore</string>
<key>LibraryIdentifier</key>
<string>xros-arm64</string>
<key>LibraryPath</key>
<string>MuxCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>xros</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>MuxCore.framework/MuxCore</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>MuxCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>MuxCore.framework/MuxCore</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
Expand All @@ -47,6 +81,8 @@
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>MuxCore.framework/Versions/A/MuxCore</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
Expand All @@ -62,16 +98,21 @@
<string>maccatalyst</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>MuxCore.framework/MuxCore</string>
<key>LibraryIdentifier</key>
<string>tvos-arm64</string>
<string>tvos-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>MuxCore.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>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
framework module MuxCore {
umbrella header "MuxCore.h"

export *

module * { export * }
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
framework module MuxCore {
umbrella header "MuxCore.h"

export *

module * { export * }
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>23A344</string>
<string>23B81</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand All @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.6.0</string>
<string>4.7.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
Expand All @@ -31,15 +31,15 @@
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>13.3</string>
<string>14.2</string>
<key>DTSDKBuild</key>
<string>22E245</string>
<string>23C53</string>
<key>DTSDKName</key>
<string>macosx13.3</string>
<string>macosx14.2</string>
<key>DTXcode</key>
<string>1431</string>
<string>1520</string>
<key>DTXcodeBuild</key>
<string>14E300c</string>
<string>15C500b</string>
<key>LSMinimumSystemVersion</key>
<string>10.15</string>
<key>UIDeviceFamily</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
framework module MuxCore {
umbrella header "MuxCore.h"

export *

module * { export * }
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,11 @@
</data>
<key>Info.plist</key>
<data>
a+xqlxT93QMfeXPseAi8urAzfqg=
Mu6b9vK3vkq7PmX6+r2h+J1oees=
</data>
<key>Modules/module.modulemap</key>
<data>
8dQNPv79RnOMTeYuDS3zf91Bdh0=
VN4UPYcRAMIeq857JiGsChkxa6U=
</data>
</dict>
<key>files2</key>
Expand Down Expand Up @@ -602,7 +602,7 @@
<dict>
<key>hash2</key>
<data>
KkOggp7Cd9rhlNCj+pTDs9aAJRxLxJN3q4m34LV5eLw=
p0pQfmlFLaDJqrO5iah9GeedvE3K3JzipfCItkizhg8=
</data>
</dict>
</dict>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
</data>
<key>Info.plist</key>
<data>
V7+Qgn3CGv0ymmSCltPpaIFJkow=
KUJY2q3LeUtQ0h0wJw6MDCjqpHo=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#ifndef MUXSDKAdBreakEndEvent_h
#define MUXSDKAdBreakEndEvent_h

#import "MUXSDKAdEvent.h"
#import <Foundation/Foundation.h>

extern NSString * _Nonnull const MUXSDKPlaybackEventAdBreakEndEventType;

@interface MUXSDKAdBreakEndEvent : MUXSDKAdEvent
@end

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#ifndef MUXSDKAdBreakStartEvent_h
#define MUXSDKAdBreakStartEvent_h

#import "MUXSDKAdEvent.h"
#import <Foundation/Foundation.h>

extern NSString * _Nonnull const MUXSDKPlaybackEventAdBreakStartEventType;

@interface MUXSDKAdBreakStartEvent : MUXSDKAdEvent
@end

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
//
// MUXSDKAdData.h
// MuxCore
//
// Created by Emily Dixon on 1/30/23.
// Copyright © 2023 Mux. All rights reserved.
//

#ifndef MUXSDKAdData_h
#define MUXSDKAdData_h

#import "MUXSDKQueryData.h"
#import "MUXSDKViewDeviceOrientationData.h"
#import <Foundation/Foundation.h>
#import "MUXSDKViewDeviceOrientationData.h"
#import "MUXSDKUpsertable.h"

@interface MUXSDKAdData : MUXSDKQueryData<MUXSDKUpsertable>

@property (nullable) NSString *adAssetUrl;
@property (nullable) NSString *adCreativeId;
@property (nullable) NSString *adId;
@property (nullable) NSString *adTagUrl;
@property (nullable) NSString *adUniversalId;

+ (NSSet *_Nonnull)requiredKeys;

@end

#endif /* MUXSDKAdData_h */
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#ifndef MUXSDKAdEndedEvent_h
#define MUXSDKAdEndedEvent_h

#import "MUXSDKAdEvent.h"
#import <Foundation/Foundation.h>

extern NSString * _Nonnull const MUXSDKPlaybackEventAdEndedEventType;

@interface MUXSDKAdEndedEvent : MUXSDKAdEvent
@end

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#ifndef MUXSDKAdErrorEvent_h
#define MUXSDKAdErrorEvent_h

#import "MUXSDKAdEvent.h"
#import <Foundation/Foundation.h>

extern NSString * _Nonnull const MUXSDKPlaybackEventAdErrorEventType;

@interface MUXSDKAdErrorEvent : MUXSDKAdEvent
@end

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//
// MUXSDKAdEvent.h
// MuxCore
//
// Created by Emily Dixon on 1/30/23.
// Copyright © 2023 Mux. All rights reserved.
//

#ifndef MUXSDKAdEvent_h
#define MUXSDKAdEvent_h

#import "MUXSDKAdData.h"
#import "MUXSDKEventTyping.h"
#import "MUXSDKPlaybackEvent.h"

@interface MUXSDKAdEvent : MUXSDKPlaybackEvent<MUXSDKEventTyping>
@property (nonatomic, retain, nullable) MUXSDKAdData *adData;
@end

#endif /* MUXSDKAdEvent_h */
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#ifndef MUXSDKAdFirstQuartileEvent_h
#define MUXSDKAdFirstQuartileEvent_h

#import "MUXSDKAdEvent.h"
#import <Foundation/Foundation.h>

extern NSString * _Nonnull const MUXSDKPlaybackEventAdFirstQuartileEventType;

@interface MUXSDKAdFirstQuartileEvent : MUXSDKAdEvent
@end

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#ifndef MUXSDKAdMidpointEvent_h
#define MUXSDKAdMidpointEvent_h

#import "MUXSDKAdEvent.h"
#import <Foundation/Foundation.h>

extern NSString * _Nonnull const MUXSDKPlaybackEventAdMidpointEventType;

@interface MUXSDKAdMidpointEvent : MUXSDKAdEvent
@end

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#ifndef MUXSDKAdPauseEvent_h
#define MUXSDKAdPauseEvent_h

#import "MUXSDKAdEvent.h"
#import <Foundation/Foundation.h>

extern NSString * _Nonnull const MUXSDKPlaybackEventAdPauseEventType;

@interface MUXSDKAdPauseEvent : MUXSDKAdEvent
@end

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#ifndef MUXSDKAdPlayEvent_h
#define MUXSDKAdPlayEvent_h

#import "MUXSDKAdEvent.h"
#import <Foundation/Foundation.h>

extern NSString * _Nonnull const MUXSDKPlaybackEventAdPlayEventType;

@interface MUXSDKAdPlayEvent : MUXSDKAdEvent
@end

#endif
Loading

0 comments on commit 50d131b

Please sign in to comment.