Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated helika sdk to v0.2.1 #99

Merged
merged 1 commit into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 9 additions & 9 deletions Assets/Helika/Packages/Kochava.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions Assets/Helika/Packages/Kochava/Editor.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Assets/Helika/Packages/Kochava/Editor/KochavaPostBuild.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// KochavaTracker (Unity)
// KochavaMeasurement (Unity)
//
// Copyright (c) 2020 - 2023 Kochava, Inc. All rights reserved.
//
Expand All @@ -24,8 +24,8 @@ public static void OnPostprocessBuild(BuildTarget buildTarget, string path)
#if UNITY_IOS
case BuildTarget.iOS:
// Add the iOS Frameworks contained by the XCFramework.
AddIosFramework(path, "KochavaCore");
AddIosFramework(path, "KochavaTracker");
AddIosFramework("Kochava", path, "KochavaNetworking");
AddIosFramework("Kochava", path, "KochavaMeasurement");
// Enable Module support.
EnableIosModules(path);
break;
Expand Down Expand Up @@ -62,10 +62,10 @@ private static void EnableIosModules(string path)

// Add an iOS Framework from an XCFramework to the Xcode Project.
// See https://forum.unity.com/threads/how-do-i-add-xcframwork-from-code.840163/#post-6904331
private static void AddIosFramework(string path, string frameworkName)
public static void AddIosFramework(string module, string path, string frameworkName)
{
// Build paths.
var xcFrameworkPath = Path.Combine("Assets", "Helika", "Packages", "Kochava", "Plugins", "iOS", frameworkName + ".xcframework");
var xcFrameworkPath = Path.Combine("Assets", module, "Plugins", "iOS", frameworkName + ".xcframework");
var deviceFrameworkPath = Path.Combine(xcFrameworkPath, "ios-arm64", frameworkName + ".framework");
var simulatorFrameworkPath = Path.Combine(xcFrameworkPath, "ios-arm64_x86_64-simulator", frameworkName + ".framework");
var destFrameworkPath = Path.Combine("Frameworks", "Kochava", frameworkName + ".framework");
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions Assets/Helika/Packages/Kochava/Plugins.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions Assets/Helika/Packages/Kochava/Plugins/Android.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
64 changes: 32 additions & 32 deletions Assets/Helika/Packages/Kochava/Plugins/Android/KochavaCore.aar.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Loading