-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from razorpay/r/v2.0.6
iOS Release 2.0.6
- Loading branch information
Showing
25 changed files
with
128 additions
and
3 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// Debug.xcconfig | ||
// RazorpayIOS | ||
// | ||
// Created by N.A Shashank on 24/04/18. | ||
// Copyright © 2018 Razorpay. All rights reserved. | ||
// | ||
|
||
// OTHER_SWIFT_FLAGS is not inherited due to some reason so if you have a value for other swift flags you have to manually set the configuration file for that target | ||
IS_BITCODE_ENABLED = YES | ||
BUILD_ACTIVE_ARCHITECTURE = YES | ||
OTHER_SWIFT_FLAGS = |
Binary file not shown.
14 changes: 14 additions & 0 deletions
14
example/ios/Razorpay.framework/LegacySwiftRelease.xcconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// LegacySwift.xcconfig | ||
// RazorpayIOS | ||
// | ||
// Created by N.A Shashank on 24/04/18. | ||
// Copyright © 2018 Razorpay. All rights reserved. | ||
// | ||
|
||
// OTHER_SWIFT_FLAGS is not inherited due to some reason so if you have a value for other swift flags you have to manually set the configuration file for that target | ||
IS_BITCODE_ENABLED = YES | ||
BUILD_ACTIVE_ARCHITECTURE = NO | ||
// the following variable is initialize with nothing (empty) | ||
OTHER_SWIFT_FLAGS = | ||
|
Binary file modified
BIN
+3.5 KB
(100%)
example/ios/Razorpay.framework/Modules/Razorpay.swiftmodule/arm.swiftmodule
Binary file not shown.
Binary file modified
BIN
+3.5 KB
(100%)
example/ios/Razorpay.framework/Modules/Razorpay.swiftmodule/arm64.swiftmodule
Binary file not shown.
Binary file modified
BIN
+3.5 KB
(100%)
example/ios/Razorpay.framework/Modules/Razorpay.swiftmodule/i386.swiftmodule
Binary file not shown.
Binary file modified
BIN
+3.5 KB
(100%)
example/ios/Razorpay.framework/Modules/Razorpay.swiftmodule/x86_64.swiftmodule
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// Release.xcconfig | ||
// RazorpayIOS | ||
// | ||
// Created by N.A Shashank on 24/04/18. | ||
// Copyright © 2018 Razorpay. All rights reserved. | ||
// | ||
|
||
// OTHER_SWIFT_FLAGS is not inherited due to some reason so if you have a value for other swift flags you have to manually set the configuration file for that target | ||
IS_BITCODE_ENABLED = YES | ||
BUILD_ACTIVE_ARCHITECTURE = NO | ||
OTHER_SWIFT_FLAGS = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// Test.xcconfig | ||
// RazorpayIOS | ||
// | ||
// Created by N.A Shashank on 24/04/18. | ||
// Copyright © 2018 Razorpay. All rights reserved. | ||
// | ||
|
||
// OTHER_SWIFT_FLAGS is not inherited due to some reason so if you have a value for other swift flags you have to manually set the configuration file for that target | ||
IS_BITCODE_ENABLED = YES | ||
BUILD_ACTIVE_ARCHITECTURE = YES | ||
OTHER_SWIFT_FLAGS = -D 'TestEnvironment' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// Debug.xcconfig | ||
// RazorpayIOS | ||
// | ||
// Created by N.A Shashank on 24/04/18. | ||
// Copyright © 2018 Razorpay. All rights reserved. | ||
// | ||
|
||
// OTHER_SWIFT_FLAGS is not inherited due to some reason so if you have a value for other swift flags you have to manually set the configuration file for that target | ||
IS_BITCODE_ENABLED = YES | ||
BUILD_ACTIVE_ARCHITECTURE = YES | ||
OTHER_SWIFT_FLAGS = |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// LegacySwift.xcconfig | ||
// RazorpayIOS | ||
// | ||
// Created by N.A Shashank on 24/04/18. | ||
// Copyright © 2018 Razorpay. All rights reserved. | ||
// | ||
|
||
// OTHER_SWIFT_FLAGS is not inherited due to some reason so if you have a value for other swift flags you have to manually set the configuration file for that target | ||
IS_BITCODE_ENABLED = YES | ||
BUILD_ACTIVE_ARCHITECTURE = NO | ||
// the following variable is initialize with nothing (empty) | ||
OTHER_SWIFT_FLAGS = | ||
|
Binary file modified
BIN
+3.5 KB
(100%)
ios/Razorpay.framework/Modules/Razorpay.swiftmodule/arm.swiftmodule
Binary file not shown.
Binary file modified
BIN
+3.5 KB
(100%)
ios/Razorpay.framework/Modules/Razorpay.swiftmodule/arm64.swiftmodule
Binary file not shown.
Binary file modified
BIN
+3.5 KB
(100%)
ios/Razorpay.framework/Modules/Razorpay.swiftmodule/i386.swiftmodule
Binary file not shown.
Binary file modified
BIN
+3.5 KB
(100%)
ios/Razorpay.framework/Modules/Razorpay.swiftmodule/x86_64.swiftmodule
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// Release.xcconfig | ||
// RazorpayIOS | ||
// | ||
// Created by N.A Shashank on 24/04/18. | ||
// Copyright © 2018 Razorpay. All rights reserved. | ||
// | ||
|
||
// OTHER_SWIFT_FLAGS is not inherited due to some reason so if you have a value for other swift flags you have to manually set the configuration file for that target | ||
IS_BITCODE_ENABLED = YES | ||
BUILD_ACTIVE_ARCHITECTURE = NO | ||
OTHER_SWIFT_FLAGS = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// Test.xcconfig | ||
// RazorpayIOS | ||
// | ||
// Created by N.A Shashank on 24/04/18. | ||
// Copyright © 2018 Razorpay. All rights reserved. | ||
// | ||
|
||
// OTHER_SWIFT_FLAGS is not inherited due to some reason so if you have a value for other swift flags you have to manually set the configuration file for that target | ||
IS_BITCODE_ENABLED = YES | ||
BUILD_ACTIVE_ARCHITECTURE = YES | ||
OTHER_SWIFT_FLAGS = -D 'TestEnvironment' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# to make sure that any command that fails in turn return a non zero status and does not continue further | ||
|
||
set -e | ||
|
||
# get framework path from command line or use the current working directory as the path | ||
|
||
if [ $# -eq 0 ] ; then | ||
FRAMEWORK_PATH=$(pwd)/Razorpay.framework/ | ||
echo "Using the current working directory as the framework path which is $FRAMEWORK_PATH" | ||
else | ||
FRAMEWORK_PATH=$1 | ||
fi | ||
|
||
#navigate to the module map | ||
|
||
cd "$FRAMEWORK_PATH/Modules/" | ||
|
||
#find xcode path and replace it with the default | ||
|
||
DEFAULT_XCODE_PATH="$(xcode-select -p)" | ||
IFS='/' | ||
read -ra ARRAY <<< "$DEFAULT_XCODE_PATH" | ||
XCODE_COMPONENT=${ARRAY[2]} | ||
STRING_TO_BE_REPLACED="Xcode.app" | ||
sed -i '' "s/$STRING_TO_BE_REPLACED/$XCODE_COMPONENT/g" module.modulemap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters