Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
ACPMobileServices v1.1.0 Cocoapods Release 🚀 (#507)
Browse files Browse the repository at this point in the history
* Release ACPMobileServices v1.1.0 for pod install. 🚀

* Remove old files and update podspec

Co-authored-by: amsdkci <[email protected]>
Co-authored-by: Nick Porter <[email protected]>
  • Loading branch information
3 people authored Dec 18, 2020
1 parent dca2789 commit 81872bf
Show file tree
Hide file tree
Showing 7 changed files with 94 additions and 8 deletions.
16 changes: 9 additions & 7 deletions ACPMobileServices.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "ACPMobileServices"
s.version = "1.0.6"
s.version = "1.1.0"
s.summary = "Mobile Services library for Adobe Experience Platform SDK. Written and maintained by Adobe."
s.description = <<-DESC
The Mobile Services library provides APIs that allow use of the Mobile Services product in the Adobe Experience Platform SDK.
Expand All @@ -14,15 +14,17 @@ Pod::Spec.new do |s|
s.platform = :ios, '10.0'
s.requires_arc = true

s.default_subspec = 'iOS'
s.default_subspec = 'xcframeworks'
s.cocoapods_version = ">= 1.10"
s.static_framework = true

s.dependency "ACPCore", ">= 2.1.1"
s.dependency "ACPAnalytics", ">= 2.0.3"
s.dependency "ACPCore", ">= 2.9.0"
s.dependency "ACPAnalytics", ">= 2.5.0"

s.subspec "iOS" do |ios|
ios.vendored_libraries = "libACPMobileServices_iOS.a"
ios.source_files = "include/*.h", "include/Empty.m"
s.subspec "xcframeworks" do |f|
f.ios.vendored_frameworks = "#{s.name}.xcframework"
f.ios.source_files = "#{s.name}.xcframework/ios-arm64_armv7_armv7s/Headers/*.h", "include/*.m"
f.ios.libraries = "sqlite3.0", "z", "c++"
end

end
47 changes: 47 additions & 0 deletions ACPMobileServices.xcframework/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>HeadersPath</key>
<string>Headers</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7_armv7s</string>
<key>LibraryPath</key>
<string>libACPMobileServices_iOS.a</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>armv7s</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>HeadersPath</key>
<string>Headers</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>libACPMobileServices_iOS.a</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Adobe Experience Platform -- iOS Framework
//
// Copyright 1996-2019. Adobe. All Rights Reserved
// Mobile Services Version: 1.0.5
// Mobile Services Version: 1.1.0


#import <Foundation/Foundation.h>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
//
// ACPMobileServices.h
// Adobe Experience Platform -- iOS Framework
//
// Copyright 1996-2019. Adobe. All Rights Reserved
// Mobile Services Version: 1.1.0


#import <Foundation/Foundation.h>

@interface ACPMobileServices : NSObject {}

/**
* @brief Returns the current version of the ACPMobileServices Extension.
*/
+ (nonnull NSString*) extensionVersion;

/**
* @brief Registers the Mobile Services extension
*
* This method should be called before any other Mobile Services API is called
*/
+ (void) registerExtension;

/**
* @brief Marshalls the provided deeplink and generates an event containing its data.
*
* This method should be called within the application:openURL:options: app delegate method.
*
* If Analytics is configured in the SDK, calling this method with a valid URL will result in an
* Analytics request being sent.
*
* @param deeplink the NSURL that the application is processing
*/
+ (void) trackAdobeDeepLink: (NSURL* _Nonnull) deeplink;

@end
Binary file not shown.
Binary file removed libACPMobileServices_iOS.a
Binary file not shown.

0 comments on commit 81872bf

Please sign in to comment.