Skip to content
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions AEPEdgeIdentity.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ Pod::Spec.new do |s|
s.author = "Adobe Experience Platform SDK Team"
s.source = { :git => "https://github.com/adobe/aepsdk-identityedge-ios.git", :tag => s.version.to_s }

s.ios.deployment_target = '12.0'
s.tvos.deployment_target = '12.0'
s.ios.deployment_target = '15.0'
s.tvos.deployment_target = '15.0'

s.swift_version = '5.1'
s.swift_version = '5.10'

s.pod_target_xcconfig = { 'BUILD_LIBRARY_FOR_DISTRIBUTION' => 'YES' }
s.dependency 'AEPCore', '>= 5.13.0', '< 6.0.0'
Expand Down
48 changes: 34 additions & 14 deletions AEPEdgeIdentity.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1177,6 +1177,7 @@
DEVELOPMENT_TEAM = FKGEE875K4;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = SampleApps/TestApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1187,7 +1188,7 @@
SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 13.0;
TVOS_DEPLOYMENT_TARGET = 15.0;
};
name = Debug;
};
Expand All @@ -1202,6 +1203,7 @@
DEVELOPMENT_TEAM = FKGEE875K4;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = SampleApps/TestApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1213,7 +1215,7 @@
SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 13.0;
TVOS_DEPLOYMENT_TARGET = 15.0;
};
name = Release;
};
Expand All @@ -1226,14 +1228,16 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = FKGEE875K4;
INFOPLIST_FILE = SampleApps/TestAppObjC/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.adobe.TestAppObjC;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TVOS_DEPLOYMENT_TARGET = 15.0;
};
name = Debug;
};
Expand All @@ -1246,14 +1250,16 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = FKGEE875K4;
INFOPLIST_FILE = SampleApps/TestAppObjC/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.adobe.TestAppObjC;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TVOS_DEPLOYMENT_TARGET = 15.0;
};
name = Release;
};
Expand Down Expand Up @@ -1310,7 +1316,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand All @@ -1319,7 +1325,7 @@
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TARGETED_DEVICE_FAMILY = "1,2,3";
TVOS_DEPLOYMENT_TARGET = 12.0;
TVOS_DEPLOYMENT_TARGET = 15.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand Down Expand Up @@ -1372,15 +1378,15 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos appletvsimulator appletvos";
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
TARGETED_DEVICE_FAMILY = "1,2,3";
TVOS_DEPLOYMENT_TARGET = 12.0;
TVOS_DEPLOYMENT_TARGET = 15.0;
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
Expand All @@ -1401,7 +1407,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = Sources/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P2] Apply the new deployment floor to both source distribution manifests

This raises the framework artifact's minimum iOS version to 15, but Package.swift still declares iOS/tvOS 12 and AEPEdgeIdentity.podspec still declares both deployment targets as 12. The Podfile post_install change only affects this repository's workspace; it does not run for customers installing the pod or Swift package. Consequently the same SDK release continues to be advertised/resolved for iOS/tvOS 12-14 through source distribution while its Xcode/XCFramework artifact requires 15. Update both public manifests with the deployment-floor change so supported platforms are consistent across installation methods.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 1a49cb6: Package.swift now declares platforms: [.iOS(.v15), .tvOS(.v15)] and AEPEdgeIdentity.podspec sets both deployment_targets to 15.0, matching the Xcode project (including the project-level configs, which were still 12.0) and the Podfile. The test scripts (Script/test-podspec.sh, Script/test-SPM.sh) also use 15.0 now.

LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1416,7 +1422,7 @@
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2,3";
TVOS_DEPLOYMENT_TARGET = 12.0;
TVOS_DEPLOYMENT_TARGET = 15.0;
};
name = Debug;
};
Expand All @@ -1434,7 +1440,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = Sources/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1448,7 +1454,7 @@
SUPPORTS_MACCATALYST = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2,3";
TVOS_DEPLOYMENT_TARGET = 12.0;
TVOS_DEPLOYMENT_TARGET = 15.0;
};
name = Release;
};
Expand All @@ -1459,6 +1465,7 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = FKGEE875K4;
INFOPLIST_FILE = Tests/UnitTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1468,6 +1475,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2,3";
TVOS_DEPLOYMENT_TARGET = 15.0;
};
name = Debug;
};
Expand All @@ -1478,6 +1486,7 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = FKGEE875K4;
INFOPLIST_FILE = Tests/UnitTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1487,6 +1496,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2,3";
TVOS_DEPLOYMENT_TARGET = 15.0;
};
name = Release;
};
Expand All @@ -1497,6 +1507,7 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = FKGEE875K4;
INFOPLIST_FILE = Tests/FunctionalTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1506,6 +1517,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2,3";
TVOS_DEPLOYMENT_TARGET = 15.0;
};
name = Debug;
};
Expand All @@ -1516,6 +1528,7 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = FKGEE875K4;
INFOPLIST_FILE = Tests/FunctionalTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1525,6 +1538,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2,3";
TVOS_DEPLOYMENT_TARGET = 15.0;
};
name = Release;
};
Expand All @@ -1539,7 +1553,7 @@
DEVELOPMENT_TEAM = FKGEE875K4;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = SampleApps/TestApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1549,6 +1563,7 @@
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TVOS_DEPLOYMENT_TARGET = 15.0;
};
name = Debug;
};
Expand All @@ -1563,7 +1578,7 @@
DEVELOPMENT_TEAM = FKGEE875K4;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = SampleApps/TestApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1574,22 +1589,27 @@
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TVOS_DEPLOYMENT_TARGET = 15.0;
};
name = Release;
};
D45D74A525FB1BCD00D6FFDE /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
PRODUCT_NAME = "$(TARGET_NAME)";
TVOS_DEPLOYMENT_TARGET = 15.0;
};
name = Debug;
};
D45D74A625FB1BCD00D6FFDE /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
PRODUCT_NAME = "$(TARGET_NAME)";
TVOS_DEPLOYMENT_TARGET = 15.0;
};
name = Release;
};
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.3
// swift-tools-version:5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.

/*
Expand All @@ -17,7 +17,7 @@ import PackageDescription

let package = Package(
name: "AEPEdgeIdentity",
platforms: [.iOS(.v12), .tvOS(.v12)],
platforms: [.iOS(.v15), .tvOS(.v15)],
products: [
.library(name: "AEPEdgeIdentity", targets: ["AEPEdgeIdentity"])
],
Expand Down
5 changes: 3 additions & 2 deletions Podfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
platform :ios, '12.0'
platform :ios, '15.0'

# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
Expand Down Expand Up @@ -56,7 +56,8 @@ end
post_install do |pi|
pi.pods_project.targets.each do |t|
t.build_configurations.each do |bc|
bc.build_settings['TVOS_DEPLOYMENT_TARGET'] = '12.0'
bc.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
bc.build_settings['TVOS_DEPLOYMENT_TARGET'] = '15.0'
bc.build_settings['SUPPORTED_PLATFORMS'] = 'iphoneos iphonesimulator appletvos appletvsimulator'
bc.build_settings['TARGETED_DEVICE_FAMILY'] = "1,2,3"
end
Expand Down
8 changes: 4 additions & 4 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PODS:
- AEPEdgeConsent (5.0.2):
- AEPCore (< 6.0.0, >= 5.0.0)
- AEPEdge (< 6.0.0, >= 5.0.0)
- AEPEdgeIdentity (5.1.0):
- AEPEdgeIdentity (5.2.0):
- AEPCore (< 6.0.0, >= 5.13.0)
- AEPIdentity (5.13.0):
- AEPCore (< 6.0.0, >= 5.13.0)
Expand Down Expand Up @@ -61,13 +61,13 @@ SPEC CHECKSUMS:
AEPCore: 13541c6cd72488506a3fda85a5e1288759f09336
AEPEdge: 105afc7958acd7c016d57f7ac1d6f632bf05e6ee
AEPEdgeConsent: b5a54985b79ee0222b1f1fc4b0859f8b8afed07a
AEPEdgeIdentity: 17bfdf602f1b2f68519cf93fe5fd2a8eef73d37f
AEPEdgeIdentity: 81399eeac81bcee8798cb1890b2169293bd23190
AEPIdentity: 3f085ab6e1ce01cf47846708e76a02114c4c059b
AEPRulesEngine: fe5800653a4bee07b1e41e61b4d5551f0dba557b
AEPServices: 5533aaa108ffb0e75adcbfdfdd08bd4cbe9b02fd
AEPTestUtils: 2bbed995c8974f6f6d92058db88d6cd2e4a7f869
SwiftLint: 13280e21cdda6786ad908dc6e416afe5acd1fcb7

PODFILE CHECKSUM: 13e3cea43cd887fa67303511ac927c047580f5fd
PODFILE CHECKSUM: cb5c59017785be52f80372135c7246c64f1fb111

COCOAPODS: 1.16.2
COCOAPODS: 1.17.0
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
The AEP Edge Identity mobile extension enables handling of user identity data from a mobile application when using the [Adobe Experience Platform SDK](https://developer.adobe.com/client-sdks) and the Edge Network extension.

## Requirements
- Xcode 15 (or newer)
- Swift 5.1 (or newer)
- Xcode 15.3 (or newer)
- Swift 5.10 (or newer)
- iOS 15.0 (or newer) and tvOS 15.0 (or newer)

## Installation

Expand Down
2 changes: 1 addition & 1 deletion SampleApps/TestApp/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import UIKit
import AEPAssurance
#endif

@UIApplicationMain
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
// TODO: Set up the preferred Environment File ID from your mobile property configured in Data Collection UI
private let ENVIRONMENT_FILE_ID = ""
Expand Down
Loading
Loading