Skip to content
This repository was archived by the owner on Jan 21, 2022. It is now read-only.

Commit a6dec35

Browse files
authored
Merge pull request #82 from CAAPIM/develop
MAS-2.2.00
2 parents 0a1e777 + 7069922 commit a6dec35

3 files changed

Lines changed: 25 additions & 17 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# Version 2.2.00
2+
3+
### Bug fixes
4+
None.
5+
6+
### New features
7+
None.
8+
19
# Version 2.1.00
210

311
### Bug fixes

MASUI.xcodeproj/project.pbxproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@
10091009
);
10101010
runOnlyForDeploymentPostprocessing = 0;
10111011
shellPath = /bin/sh;
1012-
shellScript = "set -e\n\n#---------------\n#Framework Name\n#---------------\n\nFRAMEWORK_NAME=MASUI\n\n\n#---------------\n#SDK Directory\n#---------------\n\nSDK_DIR=../iOS_SDK\n\n\n#-----------------------\n#CleanUp Build Cache\n#-----------------------\n\nxcodebuild -project $PROJECT_NAME.xcodeproj -configuration Debug -alltargets clean\nxcodebuild -project $PROJECT_NAME.xcodeproj -configuration Release -alltargets clean\n\n\n#-----------------------\n#CleanUp Previous Builds\n#-----------------------\n\n# Remove the framework from the Project Folder\nrm -Rf \"${PROJECT_DIR}/${FRAMEWORK_NAME}.framework\"\n\n# Remove Build folder from DerivedData\nrm -Rf \"${BUILD_DIR}\"\n\n\n#-----------------------\n#Creating New Builds\n#-----------------------\n\n# define output folder environment variable\nUNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal\nARCHIVE_OUTPUTFOLDER=${OBJROOT}/ArchiveIntermediates/$PROJECT_NAME/IntermediateBuildFilesPath/UninstalledProducts/iphoneos\n\n# Archive framework for iPhoneOS with BitCode enabled\n#xcodebuild -scheme $PROJECT_NAME -configuration Release archive\n\nxcodebuild OTHER_CFLAGS=\"-fembed-bitcode\" -scheme $PROJECT_NAME -configuration Release archive CODE_SIGN_IDENTITY=\"iPhone Distribution: CA, Inc (RAKRWMN9VH)\" -archivePath \"${BUILD_DIR}\"\n\n# Build framework for iPhoneOS\n#xcodebuild -target ${FRAMEWORK_NAME} ONLY_ACTIVE_ARCH=NO -configuration ${CONFIGURATION} -sdk iphoneos BUILD_DIR=\"${BUILD_DIR}\" BUILD_ROOT=\"${BUILD_ROOT}\" CODE_SIGN_IDENTITY=\"iPhone Distribution: CA, Inc (RAKRWMN9VH)\"\n\n# Build framework for iPhoneSimulator\nxcodebuild -target ${FRAMEWORK_NAME} -configuration ${CONFIGURATION} -sdk iphonesimulator BUILD_DIR=\"${BUILD_DIR}\" BUILD_ROOT=\"${BUILD_ROOT}\" CODE_SIGN_IDENTITY=\"iPhone Distribution: CA, Inc (RAKRWMN9VH)\"\n\n\n#-----------------------\n#Creating Universal Framework\n#-----------------------\n\nmkdir -p \"${UNIVERSAL_OUTPUTFOLDER}\"\n\n\n# Build the universal library\nlipo -create -output \"${UNIVERSAL_OUTPUTFOLDER}/${FRAMEWORK_NAME}\" \"${ARCHIVE_OUTPUTFOLDER}/${FRAMEWORK_NAME}.framework/${FRAMEWORK_NAME}\" \"${BUILD_DIR}/${CONFIGURATION}-iphonesimulator/${FRAMEWORK_NAME}.framework/${FRAMEWORK_NAME}\"\n\n# Copy the .framework folder of iphoneos\ncp -R \"${ARCHIVE_OUTPUTFOLDER}/${FRAMEWORK_NAME}.framework\" \"${UNIVERSAL_OUTPUTFOLDER}/\"\n\n# Delete the library for iphoneos\nrm \"${UNIVERSAL_OUTPUTFOLDER}/${FRAMEWORK_NAME}.framework/${FRAMEWORK_NAME}\"\n\n# Move the Universal Library into our framework\nmv \"${UNIVERSAL_OUTPUTFOLDER}/${FRAMEWORK_NAME}\" \"${UNIVERSAL_OUTPUTFOLDER}/${FRAMEWORK_NAME}.framework/\"\n\n# Remove the _CodeSignature from the UniversalFramework\nrm -Rf \"${UNIVERSAL_OUTPUTFOLDER}/${FRAMEWORK_NAME}.framework/_CodeSignature\"\n\n# Copy the framework\ncp -R \"${UNIVERSAL_OUTPUTFOLDER}/${FRAMEWORK_NAME}.framework\" \"${SDK_DIR}\"\n\n# Move the bundle out of the framework file\n#mv \"${SDK_DIR}/${FRAMEWORK_NAME}.framework/MASUIResources.bundle\" \"${SDK_DIR}\"\n\n\n#-----------------------\n#Deleting Build Folder\n#-----------------------\n\n# Remove build folder from the Project Folder\nrm -Rf \"${PROJECT_DIR}/build\"\n";
1012+
shellScript = "set -e\n\n#---------------\n#Framework Name\n#---------------\n\nFRAMEWORK_NAME=MASUI\n\n\n#---------------\n#SDK Directory\n#---------------\n\nSDK_DIR=../iOS_SDK\n\n\n#-----------------------\n#CleanUp Build Cache\n#-----------------------\n\nxcodebuild -project $PROJECT_NAME.xcodeproj -configuration Debug -alltargets clean\nxcodebuild -project $PROJECT_NAME.xcodeproj -configuration Release -alltargets clean\n\n\n#-----------------------\n#CleanUp Previous Builds\n#-----------------------\n\n# Remove the framework from the Project Folder\nrm -Rf \"${PROJECT_DIR}/${FRAMEWORK_NAME}.framework\"\n\n# Remove Build folder from DerivedData\nrm -Rf \"${BUILD_DIR}\"\n\n\n#-----------------------\n#Creating New Builds\n#-----------------------\n\n# define output folder environment variable\nUNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal\nARCHIVE_OUTPUTFOLDER=${OBJROOT}/ArchiveIntermediates/$PROJECT_NAME/IntermediateBuildFilesPath/UninstalledProducts/iphoneos\n\n# Archive framework for iPhoneOS with BitCode enabled\n#xcodebuild -scheme $PROJECT_NAME -configuration Release archive\n\nxcodebuild OTHER_CFLAGS=\"-fembed-bitcode\" -scheme $PROJECT_NAME -configuration Release archive CODE_SIGN_IDENTITY=\"iPhone Distribution: CA, Inc (RAKRWMN9VH)\" -archivePath \"${BUILD_DIR}\"\n\n# Build framework for iPhoneOS\n#xcodebuild -target ${FRAMEWORK_NAME} ONLY_ACTIVE_ARCH=NO -configuration ${CONFIGURATION} -sdk iphoneos BUILD_DIR=\"${BUILD_DIR}\" BUILD_ROOT=\"${BUILD_ROOT}\" CODE_SIGN_IDENTITY=\"iPhone Distribution: CA, Inc (RAKRWMN9VH)\"\n\n# Build framework for iPhoneSimulator\nxcodebuild -target ${FRAMEWORK_NAME} -configuration ${CONFIGURATION} -sdk iphonesimulator BUILD_DIR=\"${BUILD_DIR}\" BUILD_ROOT=\"${BUILD_ROOT}\" CODE_SIGN_IDENTITY=\"iPhone Distribution: CA, Inc (RAKRWMN9VH)\" EXCLUDED_ARCHS=\"arm64\"\n\n\n#-----------------------\n#Creating Universal Framework\n#-----------------------\n\nmkdir -p \"${UNIVERSAL_OUTPUTFOLDER}\"\n\n\n# Build the universal library\nlipo -create -output \"${UNIVERSAL_OUTPUTFOLDER}/${FRAMEWORK_NAME}\" \"${ARCHIVE_OUTPUTFOLDER}/${FRAMEWORK_NAME}.framework/${FRAMEWORK_NAME}\" \"${BUILD_DIR}/${CONFIGURATION}-iphonesimulator/${FRAMEWORK_NAME}.framework/${FRAMEWORK_NAME}\"\n\n# Copy the .framework folder of iphoneos\ncp -R \"${ARCHIVE_OUTPUTFOLDER}/${FRAMEWORK_NAME}.framework\" \"${UNIVERSAL_OUTPUTFOLDER}/\"\n\n# Delete the library for iphoneos\nrm \"${UNIVERSAL_OUTPUTFOLDER}/${FRAMEWORK_NAME}.framework/${FRAMEWORK_NAME}\"\n\n# Move the Universal Library into our framework\nmv \"${UNIVERSAL_OUTPUTFOLDER}/${FRAMEWORK_NAME}\" \"${UNIVERSAL_OUTPUTFOLDER}/${FRAMEWORK_NAME}.framework/\"\n\n# Remove the _CodeSignature from the UniversalFramework\nrm -Rf \"${UNIVERSAL_OUTPUTFOLDER}/${FRAMEWORK_NAME}.framework/_CodeSignature\"\n\n# Copy the framework\ncp -R \"${UNIVERSAL_OUTPUTFOLDER}/${FRAMEWORK_NAME}.framework\" \"${SDK_DIR}\"\n\n# Move the bundle out of the framework file\n#mv \"${SDK_DIR}/${FRAMEWORK_NAME}.framework/MASUIResources.bundle\" \"${SDK_DIR}\"\n\n\n#-----------------------\n#Deleting Build Folder\n#-----------------------\n\n# Remove build folder from the Project Folder\nrm -Rf \"${PROJECT_DIR}/build\"\n";
10131013
};
10141014
/* End PBXShellScriptBuildPhase section */
10151015

@@ -1147,7 +1147,7 @@
11471147
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
11481148
GCC_WARN_UNUSED_FUNCTION = YES;
11491149
GCC_WARN_UNUSED_VARIABLE = YES;
1150-
IPHONEOS_DEPLOYMENT_TARGET = 9.1;
1150+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
11511151
MTL_ENABLE_DEBUG_INFO = YES;
11521152
ONLY_ACTIVE_ARCH = YES;
11531153
SDKROOT = iphoneos;
@@ -1188,7 +1188,7 @@
11881188
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
11891189
GCC_WARN_UNUSED_FUNCTION = YES;
11901190
GCC_WARN_UNUSED_VARIABLE = YES;
1191-
IPHONEOS_DEPLOYMENT_TARGET = 9.1;
1191+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
11921192
MTL_ENABLE_DEBUG_INFO = NO;
11931193
SDKROOT = iphoneos;
11941194
TARGETED_DEVICE_FAMILY = "1,2";
@@ -1203,7 +1203,7 @@
12031203
buildSettings = {
12041204
CLANG_ENABLE_MODULES = YES;
12051205
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
1206-
CURRENT_PROJECT_VERSION = 2.1.00;
1206+
CURRENT_PROJECT_VERSION = 2.2.00;
12071207
DEFINES_MODULE = YES;
12081208
DYLIB_COMPATIBILITY_VERSION = 1;
12091209
DYLIB_CURRENT_VERSION = 1;
@@ -1217,10 +1217,10 @@
12171217
GCC_PREFIX_HEADER = MASUI/MASUI_PrefixHeader.pch;
12181218
INFOPLIST_FILE = MASUI/Info.plist;
12191219
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1220-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1220+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
12211221
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
12221222
MACH_O_TYPE = mh_dylib;
1223-
MARKETING_VERSION = 2.1.00;
1223+
MARKETING_VERSION = 2.2.00;
12241224
ONLY_ACTIVE_ARCH = NO;
12251225
PRODUCT_BUNDLE_IDENTIFIER = com.ca.MASUI;
12261226
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1235,7 +1235,7 @@
12351235
buildSettings = {
12361236
CLANG_ENABLE_MODULES = YES;
12371237
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
1238-
CURRENT_PROJECT_VERSION = 2.1.00;
1238+
CURRENT_PROJECT_VERSION = 2.2.00;
12391239
DEFINES_MODULE = YES;
12401240
DYLIB_COMPATIBILITY_VERSION = 1;
12411241
DYLIB_CURRENT_VERSION = 1;
@@ -1249,10 +1249,10 @@
12491249
GCC_PREFIX_HEADER = MASUI/MASUI_PrefixHeader.pch;
12501250
INFOPLIST_FILE = MASUI/Info.plist;
12511251
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1252-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1252+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
12531253
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
12541254
MACH_O_TYPE = mh_dylib;
1255-
MARKETING_VERSION = 2.1.00;
1255+
MARKETING_VERSION = 2.2.00;
12561256
ONLY_ACTIVE_ARCH = NO;
12571257
PRODUCT_BUNDLE_IDENTIFIER = com.ca.MASUI;
12581258
PRODUCT_NAME = "$(TARGET_NAME)";

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To integrate MASUI into your Xcode project using CocoaPods, specify it in your *
3939

4040
```
4141
source 'https://github.com/CocoaPods/Specs.git'
42-
platform :ios, '9.0'
42+
platform :ios, '14.0'
4343
4444
pod 'MASUI'
4545
```
@@ -76,7 +76,7 @@ The MASUI library contains graphic and xib files to speed up development time. T
7676

7777
### User Login Dialog
7878

79-
<p style="text-align:center"><img src="http://mas.ca.com/docs/ios/2.0.00/guides/images/SocialLogin.png" width="300"></p>
79+
<p style="text-align:center"><img src="https://techdocs.broadcom.com/content/dam/broadcom/techdocs/us/en/dita/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-api-gateway/ios/2-2-00/topics-guides/Simulator_Screen_noSalesforce.png" width="300"></p>
8080

8181
To use the user login dialog, drag and drop `MASUI.framework` and `MASUIResources.bundle` into your project. After the MASUI library is added to the project, MASFoundation automatically detects the presence of the MASUI library and processes the user login as needed.
8282

@@ -237,8 +237,8 @@ The social login feature is included in the user login dialog (described in the
237237

238238
### Session Lock Screen
239239

240-
<p style="text-align:center"><img src="http://mas.ca.com/docs/ios/2.0.00/guides/images/SessionLock.png" width="300"></p>
241-
<p style="text-align:center"><img src="http://mas.ca.com/docs/ios/2.0.00/guides/images/SessionLock-default.png" width="300"></p>
240+
<p style="text-align:center"><img src="https://techdocs.broadcom.com/content/dam/broadcom/techdocs/us/en/dita/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-api-gateway/ios/2-2-00/topics-guides/SessionLock.png" width="300"></p>
241+
<p style="text-align:center"><img src="https://techdocs.broadcom.com/content/dam/broadcom/techdocs/us/en/dita/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-api-gateway/ios/2-2-00/topics-guides/SessionLock-default.png" width="300"></p>
242242

243243
Session lock screen is provided by simply dropping the MASUI.framework and MASUIResource.bundle into your project. MASFoundation detects the presence of the MASUI library and presents the session lock screen upon the API call.
244244

@@ -272,7 +272,7 @@ To use the One Time Password dialogs, drag and drop the MASUI.framework and MASU
272272

273273
#### OTP Delivery Channel Dialog
274274

275-
<p style="text-align:center"><img src="http://mas.ca.com/docs/ios/2.0.00/guides/images/DeliveryChannel.png" width="300"></p>
275+
<p style="text-align:center"><img src="https://techdocs.broadcom.com/content/dam/broadcom/techdocs/us/en/dita/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-api-gateway/ios/2-2-00/topics-guides/DeliveryChannel.png" width="300"></p>
276276

277277

278278
MASUI provides the following method to enable or disable the OTP Delivery Channel dialog.
@@ -291,7 +291,7 @@ If MASUI is disabled to handle the OTP authentication, MASOTPChannelSelectionBlo
291291

292292
#### One Time Password Dialog
293293

294-
<p style="text-align:center"><img src="http://mas.ca.com/docs/ios/2.0.00/guides/images/OTP.png" width="300"></p>
294+
<p style="text-align:center"><img src="https://techdocs.broadcom.com/content/dam/broadcom/techdocs/us/en/dita/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-api-gateway/ios/2-2-00/topics-guides/OTP.png" width="300"></p>
295295

296296
MASUI provides the following method to enable or disable the One Time Password dialog.
297297

@@ -315,8 +315,8 @@ This software may be modified and distributed under the terms
315315
of the MIT license. See the [LICENSE][license-link] file for details.
316316

317317
[mag]: https://docops.ca.com/mag
318-
[get-started]: http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-mobile-api-gateway/2-0.html
319-
[docs]: http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-mobile-api-gateway/2-0.html
318+
[get-started]: http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-mobile-api-gateway/2-2.html
319+
[docs]: http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-mobile-api-gateway/2-2.html
320320
[StackOverflow]: http://stackoverflow.com/questions/tagged/massdk
321321
[download]: https://github.com/CAAPIM/iOS-MAS-UI/archive/master.zip
322322
[contributing]: https://github.com/CAAPIM/iOS-MAS-UI/blob/develop/CONTRIBUTING.md

0 commit comments

Comments
 (0)