From 03a5f974cebdc32891b6c7a7a8a81b1265cb4b69 Mon Sep 17 00:00:00 2001 From: Alan Charles Date: Tue, 23 Jan 2024 14:34:16 -0700 Subject: [PATCH 1/3] fix eu endpoint --- Example/BasicExample/BasicExample.xcodeproj/project.pbxproj | 2 ++ Sources/SegmentMixpanel/MixpanelDestination.swift | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Example/BasicExample/BasicExample.xcodeproj/project.pbxproj b/Example/BasicExample/BasicExample.xcodeproj/project.pbxproj index 05d75b4..e2338de 100644 --- a/Example/BasicExample/BasicExample.xcodeproj/project.pbxproj +++ b/Example/BasicExample/BasicExample.xcodeproj/project.pbxproj @@ -442,6 +442,7 @@ CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_ASSET_PATHS = "\"BasicExample/Preview Content\""; + DEVELOPMENT_TEAM = VPZ4UMT2G9; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; @@ -470,6 +471,7 @@ CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_ASSET_PATHS = "\"BasicExample/Preview Content\""; + DEVELOPMENT_TEAM = VPZ4UMT2G9; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; diff --git a/Sources/SegmentMixpanel/MixpanelDestination.swift b/Sources/SegmentMixpanel/MixpanelDestination.swift index af8a1f5..0fa3c91 100644 --- a/Sources/SegmentMixpanel/MixpanelDestination.swift +++ b/Sources/SegmentMixpanel/MixpanelDestination.swift @@ -79,7 +79,7 @@ public class MixpanelDestination: DestinationPlugin, RemoteNotifications { // Change the endpoint if euro one is set if let euEndpointEnabled = mixpanelSettings?.enableEuropeanUnionEndpoint, euEndpointEnabled { - mixpanel?.serverURL = "api-eu.mixpanel.com" + mixpanel?.serverURL = "https://api-eu.mixpanel.com" } } From 641ae646a6d6dd04e8f9ab6cdaff56ba1ef121b6 Mon Sep 17 00:00:00 2001 From: Alan Charles Date: Tue, 23 Jan 2024 14:35:02 -0700 Subject: [PATCH 2/3] update analytics swift --- .../xcshareddata/swiftpm/Package.resolved | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Example/BasicExample/BasicExample.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Example/BasicExample/BasicExample.xcworkspace/xcshareddata/swiftpm/Package.resolved index 76e6d2d..2f9c7fb 100644 --- a/Example/BasicExample/BasicExample.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Example/BasicExample/BasicExample.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -6,8 +6,17 @@ "repositoryURL": "https://github.com/segmentio/analytics-swift", "state": { "branch": null, - "revision": "efc111b5fccaebd1063ef0db6d206c252da387ec", - "version": "1.4.8" + "revision": "51f56b972de8daee251f18fd2c91fa3a33c8d77e", + "version": "1.5.2" + } + }, + { + "package": "JSONSafeEncoder", + "repositoryURL": "https://github.com/segmentio/jsonsafeencoder-swift.git", + "state": { + "branch": null, + "revision": "8b70dc8c01b7b041912e30e29d2b488a43f782ac", + "version": "1.0.1" } }, { From 9e20e66c724495d5415b977cd4b4cd0ce0067f12 Mon Sep 17 00:00:00 2001 From: Alan Charles Date: Tue, 23 Jan 2024 14:36:02 -0700 Subject: [PATCH 3/3] remove deployment team --- Example/BasicExample/BasicExample.xcodeproj/project.pbxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Example/BasicExample/BasicExample.xcodeproj/project.pbxproj b/Example/BasicExample/BasicExample.xcodeproj/project.pbxproj index e2338de..c62a4ba 100644 --- a/Example/BasicExample/BasicExample.xcodeproj/project.pbxproj +++ b/Example/BasicExample/BasicExample.xcodeproj/project.pbxproj @@ -442,7 +442,7 @@ CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_ASSET_PATHS = "\"BasicExample/Preview Content\""; - DEVELOPMENT_TEAM = VPZ4UMT2G9; + DEVELOPMENT_TEAM = ""; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; @@ -471,7 +471,7 @@ CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_ASSET_PATHS = "\"BasicExample/Preview Content\""; - DEVELOPMENT_TEAM = VPZ4UMT2G9; + DEVELOPMENT_TEAM = ""; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;