Skip to content

Commit

Permalink
Release prep v1.0.0 (#46)
Browse files Browse the repository at this point in the history
* Release prep v1.0.0

* Code cleanup
  • Loading branch information
swarna04 authored May 27, 2022
1 parent 7864ffe commit 7fccab8
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ jobs:
shasum -a $i -c --ignore-missing <(curl -s "https://raw.githubusercontent.com/codecov/codecov-bash/${VERSION}/SHA${i}SUM") ||
shasum -a $i -c <(curl -s "https://raw.githubusercontent.com/codecov/codecov-bash/${VERSION}/SHA${i}SUM" | grep -w "codecov")
done
bash ./codecov -v -X s3 -c -D "./build/out" -J "AEPOptimize" -t ${CODECOV_TOKEN}
bash ./codecov -v -X s3 -c -D "./build/out" -J "AEPOptimize"
# verify XCFramework archive builds
- run:
name: Build XCFramework
command: |
if [ "${CIRCLE_BRANCH}" == "main" ]; then
if [ "${CIRCLE_BRANCH}" == "main" || "${CIRCLE_BRANCH}" == "staging" ]; then
make archive
fi
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ on:
default: 'yes'

release_AEPOptimize:
description: 'release AEPOptimize Pod? ("no" to skip)'
description: 'release AEPOptimize to CocoaPods? ("no" to skip)'
required: true
default: 'yes'

jobs:
release_optimize:
release_AEPOptimize:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion AEPOptimize.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pod::Spec.new do |s|
s.version = "1.0.0"
s.summary = "Experience Platform Optimize extension for Adobe Experience Platform Mobile SDK. Written and maintained by Adobe."
s.description = <<-DESC
The Experience Platform Optimize extension provides APIs to enable real-time personalization workflows in Adobe Experience Platform SDKs using the Edge decisioning services.
The Experience Platform Optimize extension provides APIs to enable real-time personalization workflows in the Adobe Experience Platform SDKs using Adobe Target or Adobe Journey Optimizer Offer Decisioning.
DESC
s.homepage = "https://github.com/adobe/aepsdk-optimize-ios"
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
Expand Down
2 changes: 2 additions & 0 deletions AEPOptimize.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1357,6 +1357,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MARKETING_VERSION = 1.0.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -1415,6 +1416,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MARKETING_VERSION = 1.0.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
Expand Down
6 changes: 6 additions & 0 deletions Documentation/PUBLIC_APIs.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,9 +423,15 @@ public class Offer: NSObject, Codable {
/// Offer revision detail at the time of the request
@objc public let etag: String

/// Offer priority score
@objc public let score: Int

/// Offer schema string
@objc public let schema: String

/// Offer metadata
@objc public let meta: [String: Any]?

/// Offer type as represented in enum `OfferType`
@objc public let type: OfferType

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ TARGET_NAME_XCFRAMEWORK = $(EXTENSION_NAME).xcframework
SCHEME_NAME_XCFRAMEWORK = AEPOptimize

CURR_DIR := ${CURDIR}
SIMULATOR_ARCHIVE_PATH = ./build/ios_simulator.xcarchive/Products/Library/Frameworks/
SIMULATOR_ARCHIVE_PATH = $(CURR_DIR)/build/ios_simulator.xcarchive/Products/Library/Frameworks/
SIMULATOR_ARCHIVE_DSYM_PATH = $(CURR_DIR)/build/ios_simulator.xcarchive/dSYMs/
IOS_ARCHIVE_PATH = ./build/ios.xcarchive/Products/Library/Frameworks/
IOS_ARCHIVE_PATH = $(CURR_DIR)/build/ios.xcarchive/Products/Library/Frameworks/
IOS_ARCHIVE_DSYM_PATH = $(CURR_DIR)/build/ios.xcarchive/dSYMs/

lint-autocorrect:
Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# Adobe Experience Platform Optimize Mobile SDK (Beta)

## Beta version acknowledgment

By using the AEPOptimize SDK (“Beta”), you hereby acknowledge that the Beta is provided “as is” without warranty of any kind. Adobe shall have no obligation to maintain, correct, update, change, modify or otherwise support the Beta. You are advised to use caution and not to rely in any way on the correct functioning or performance of such Beta and/or accompanying materials.
# Adobe Experience Platform Optimize Mobile SDK

## About this project

The AEP Mobile Optimize SDK Extension provides APIs to enable real-time personalization workflows in Adobe Experience Platform SDKs using the Edge decisioning services. It depends on AEPCore and requires AEPEdge Extension to send personalization query Events to the Experience Edge network.
The AEPOptimize mobile SDK extension provides APIs to enable real-time personalization workflows in the Adobe Experience Platform SDKs using Adobe Target or Adobe Journey Optimizer Offer Decisioning. It depends on AEPCore and requires AEPEdge Extension to send personalization query events to the Experience Edge network.

## Requirements

Expand Down
4 changes: 0 additions & 4 deletions TestApps/AEPOptimizeDemoSwiftUI/SettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import AEPOptimize
import SwiftUI

struct SettingsView: View {
@State private var appId = ""
@State private var assuranceSessionURL = ""

@EnvironmentObject var odeSettings: OdeSettings
Expand All @@ -29,9 +28,6 @@ struct SettingsView: View {
VStack {
HeaderView(text: "Settings")
Form {
Section(header: Text("Launch Environment File ID")) {
TextField("Enter your appId", text: $appId)
}
Section(header: Text("AEP Assurance Start URL")) {
TextField("Enter Assurance start URL", text: $assuranceSessionURL)
.onChange(of: assuranceSessionURL) {
Expand Down
1 change: 0 additions & 1 deletion Tests/AEPOptimizeTests/UnitTests/OfferTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ class OfferTests: XCTestCase {
}
"""

// PDCL-4528 & PDCL-4703
private let TARGET_OFFER =
"""
{\
Expand Down

0 comments on commit 7fccab8

Please sign in to comment.