File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
LeanplumSDK/LeanplumSDK/Classes/Internal Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 3838#define IS_NOOP (IS_JAILBROKEN || [LPConstantsState sharedState ].isTestMode || [LPConstantsState sharedState ].isInPermanentFailureState)
3939#define RETURN_IF_NOOP if (IS_NOOP) return
4040
41- #define LEANPLUM_SDK_VERSION @" 6.0.0 "
41+ #define LEANPLUM_SDK_VERSION @" 6.0.1 "
4242#define LEANPLUM_CLIENT @" ios"
4343#define LEANPLUM_SUPPORTED_ENCODING @" gzip"
4444
Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ let package = Package(
1111 . library( name: " LeanplumLocation " , targets: [ " LeanplumLocation " ] )
1212 ] ,
1313 dependencies: [
14- . package ( url: " https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download/6.0.0/Leanplum.xcframework.zip " ,
14+ . package ( url: " https://github.com/CleverTap/clevertap-ios-sdk " , from : " 4.1.4 " )
1515 ] ,
1616 targets: [
1717 . binaryTarget(
1818 name: " Leanplum " ,
19- url: " https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download/5 .0.0 /Leanplum.xcframework.zip " ,
20- checksum: " 79cbaef9fa35ae12e35a9ecb4417f06079edf166005ed1a582cb903e0d15c135 "
19+ url: " https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download/6 .0.1 /Leanplum.xcframework.zip " ,
20+ checksum: " 8bd35c71da15bdb14facbcc3b09d7757695d0a9639336bf7b9097849c614d058 "
2121 ) ,
2222 . target(
2323 name: " LeanplumLocation " ,
Original file line number Diff line number Diff line change @@ -281,8 +281,10 @@ update_spm_info(){
281281 version=` cat sdk-version.txt`
282282 lp_framework=" Leanplum.xcframework.zip"
283283 github_url=" https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download"
284+ github_url_escaped=" https:\/\/github.com\/Leanplum\/Leanplum-iOS-SDK\/releases\/download"
284285 url=" $github_url /$version /$lp_framework "
285- awk -v value=" \" $url \" ," ' !x{x=sub(/url: .*/, "url: "value)}1' $package_file > $package_tmp_file \
286+ sub=" !x{x=sub(/url: \\\" ${github_url_escaped} .*/, \" url: \" value)}1"
287+ awk -v value=" \" $url \" ," " $sub " $package_file > $package_tmp_file \
286288 && mv $package_tmp_file $package_file
287289}
288290
Original file line number Diff line number Diff line change 1- 6.0.0
1+ 6.0.1
You can’t perform that action at this time.
0 commit comments