Merge branch 'feature/fastlane_launch_app_build_customization' into 'develop'
expose mvm core configuration to the workspace settings. clean up ENABLE_HARD_CODED_RESPONSE. ### Summary SRE + App Clip build customization efforts. See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core/-/merge_requests/267
This commit is contained in:
commit
30a8f48f4d
@ -198,6 +198,8 @@
|
|||||||
1DAD0FFD26AAB3FF00216E83 /* ActionRunJavaScriptModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ActionRunJavaScriptModel.swift; sourceTree = "<group>"; };
|
1DAD0FFD26AAB3FF00216E83 /* ActionRunJavaScriptModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ActionRunJavaScriptModel.swift; sourceTree = "<group>"; };
|
||||||
2723337A28BD534D004EAEE0 /* MVMCoreEvent.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MVMCoreEvent.swift; sourceTree = "<group>"; };
|
2723337A28BD534D004EAEE0 /* MVMCoreEvent.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MVMCoreEvent.swift; sourceTree = "<group>"; };
|
||||||
2723337C28BD53C2004EAEE0 /* Date+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Date+Extension.swift"; sourceTree = "<group>"; };
|
2723337C28BD53C2004EAEE0 /* Date+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Date+Extension.swift"; sourceTree = "<group>"; };
|
||||||
|
581FABEE2A71D0E6003A8508 /* mvmcore_dev.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = mvmcore_dev.xcconfig; sourceTree = "<group>"; };
|
||||||
|
5836B8E22A4338DF002553D9 /* mvmcore.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = mvmcore.xcconfig; sourceTree = "<group>"; };
|
||||||
60CBD0532A02397A00056CB0 /* MVMCoreSessionTimeHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MVMCoreSessionTimeHandler.swift; sourceTree = "<group>"; };
|
60CBD0532A02397A00056CB0 /* MVMCoreSessionTimeHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MVMCoreSessionTimeHandler.swift; sourceTree = "<group>"; };
|
||||||
881D268F1FCC9D180079C521 /* MVMCoreErrorObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MVMCoreErrorObject.m; sourceTree = "<group>"; };
|
881D268F1FCC9D180079C521 /* MVMCoreErrorObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MVMCoreErrorObject.m; sourceTree = "<group>"; };
|
||||||
881D26901FCC9D180079C521 /* MVMCoreOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MVMCoreOperation.m; sourceTree = "<group>"; };
|
881D26901FCC9D180079C521 /* MVMCoreOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MVMCoreOperation.m; sourceTree = "<group>"; };
|
||||||
@ -397,6 +399,8 @@
|
|||||||
AF26DDAB1FCE5CF2004E8F65 /* Strings */,
|
AF26DDAB1FCE5CF2004E8F65 /* Strings */,
|
||||||
8876D5CC1FB50A9E00EB2E3D /* MVMCore.h */,
|
8876D5CC1FB50A9E00EB2E3D /* MVMCore.h */,
|
||||||
8876D5CD1FB50A9E00EB2E3D /* Info.plist */,
|
8876D5CD1FB50A9E00EB2E3D /* Info.plist */,
|
||||||
|
5836B8E22A4338DF002553D9 /* mvmcore.xcconfig */,
|
||||||
|
581FABEE2A71D0E6003A8508 /* mvmcore_dev.xcconfig */,
|
||||||
);
|
);
|
||||||
path = MVMCore;
|
path = MVMCore;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@ -998,6 +1002,7 @@
|
|||||||
/* Begin XCBuildConfiguration section */
|
/* Begin XCBuildConfiguration section */
|
||||||
8876D5CF1FB50A9E00EB2E3D /* Debug */ = {
|
8876D5CF1FB50A9E00EB2E3D /* Debug */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
|
baseConfigurationReference = 581FABEE2A71D0E6003A8508 /* mvmcore_dev.xcconfig */;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
|
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
|
||||||
@ -1054,6 +1059,7 @@
|
|||||||
MTL_ENABLE_DEBUG_INFO = YES;
|
MTL_ENABLE_DEBUG_INFO = YES;
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
SDKROOT = iphoneos;
|
SDKROOT = iphoneos;
|
||||||
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
|
||||||
VERSIONING_SYSTEM = "apple-generic";
|
VERSIONING_SYSTEM = "apple-generic";
|
||||||
VERSION_INFO_PREFIX = "";
|
VERSION_INFO_PREFIX = "";
|
||||||
};
|
};
|
||||||
@ -1061,6 +1067,7 @@
|
|||||||
};
|
};
|
||||||
8876D5D01FB50A9E00EB2E3D /* Release */ = {
|
8876D5D01FB50A9E00EB2E3D /* Release */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
|
baseConfigurationReference = 5836B8E22A4338DF002553D9 /* mvmcore.xcconfig */;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
|
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
|
||||||
|
|||||||
@ -235,7 +235,7 @@
|
|||||||
|
|
||||||
NSError *jsonError = nil;
|
NSError *jsonError = nil;
|
||||||
NSData *data = nil;
|
NSData *data = nil;
|
||||||
#if DEBUG
|
#if LOGGING
|
||||||
// Pretty print for logging the request parameters.
|
// Pretty print for logging the request parameters.
|
||||||
data = [NSJSONSerialization dataWithJSONObject:parameters options:NSJSONWritingPrettyPrinted error:&jsonError];
|
data = [NSJSONSerialization dataWithJSONObject:parameters options:NSJSONWritingPrettyPrinted error:&jsonError];
|
||||||
if (!data) {
|
if (!data) {
|
||||||
|
|||||||
@ -50,7 +50,7 @@
|
|||||||
#pragma mark - logging delegate
|
#pragma mark - logging delegate
|
||||||
|
|
||||||
- (void)handleDebugMessage:(nullable NSString *)message {
|
- (void)handleDebugMessage:(nullable NSString *)message {
|
||||||
#ifdef DEBUG
|
#ifdef LOGGING
|
||||||
[self printWith:message];
|
[self printWith:message];
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,8 +9,6 @@
|
|||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#import "MVMCoreRequestParameters.h"
|
#import "MVMCoreRequestParameters.h"
|
||||||
|
|
||||||
#define ENABLE_HARD_CODED_RESPONSE 0 && DEBUG
|
|
||||||
|
|
||||||
#if ENABLE_HARD_CODED_RESPONSE
|
#if ENABLE_HARD_CODED_RESPONSE
|
||||||
|
|
||||||
@interface MFHardCodedServerResponse : NSObject
|
@interface MFHardCodedServerResponse : NSObject
|
||||||
|
|||||||
20
MVMCore/MVMCore/mvmcore.xcconfig
Normal file
20
MVMCore/MVMCore/mvmcore.xcconfig
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
//
|
||||||
|
// mvmcore.xcconfig
|
||||||
|
// MVMCore
|
||||||
|
//
|
||||||
|
// Preprocessor definitions include:
|
||||||
|
// 1. LOGGING - For enabling logging to the device logs.
|
||||||
|
// 2. ENABLE_HARD_CODED_RESPONSE - For enabling hard coded responses.
|
||||||
|
//
|
||||||
|
// Created by Kyle Hedden on 6/21/23.
|
||||||
|
// Copyright © 2023 myverizon. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
// Configuration settings file format documentation can be found at:
|
||||||
|
// https://help.apple.com/xcode/#/dev745c5c974
|
||||||
|
|
||||||
|
// Refer back to the workspace settings if they exist.
|
||||||
|
#include? "../../../workspaceSettings.xcconfig"
|
||||||
|
|
||||||
|
// For enabling hardcoded JSON payloads.
|
||||||
|
//GCC_PREPROCESSOR_DEFINITIONS = $(inherited) ENABLE_HARD_CODED_RESPONSE=1
|
||||||
23
MVMCore/MVMCore/mvmcore_dev.xcconfig
Normal file
23
MVMCore/MVMCore/mvmcore_dev.xcconfig
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
//
|
||||||
|
// mvmcore_dev.xcconfig
|
||||||
|
// MVMCore
|
||||||
|
//
|
||||||
|
// Preprocessor definitions include:
|
||||||
|
// 1. LOGGING - For enabling logging to the device logs.
|
||||||
|
// 2. ENABLE_HARD_CODED_RESPONSE - For enabling hard coded responses.
|
||||||
|
//
|
||||||
|
// Created by Kyle Hedden on 7/26/23.
|
||||||
|
// Copyright © 2023 myverizon. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
// Configuration settings file format documentation can be found at:
|
||||||
|
// https://help.apple.com/xcode/#/dev745c5c974
|
||||||
|
|
||||||
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited) LOGGING
|
||||||
|
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) LOGGING=1
|
||||||
|
|
||||||
|
// Refer back to the workspace settings if they exist.
|
||||||
|
#include? "../../../workspaceSettings.xcconfig"
|
||||||
|
|
||||||
|
// For enabling hardcoded JSON payloads.
|
||||||
|
//GCC_PREPROCESSOR_DEFINITIONS = $(inherited) ENABLE_HARD_CODED_RESPONSE=1
|
||||||
Loading…
Reference in New Issue
Block a user