Skip to content

Commit dff6f0d

Browse files
author
温泉
committed
Release 0.0.2
1 parent e4b5b18 commit dff6f0d

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
[![License](https://img.shields.io/github/license/sensorsdata/sa-sdk-ios-encrypt.svg)](https://github.com/sensorsdata/sa-sdk-ios-encrypt/blob/main/LICENSE)
44
[![GitHub release](https://img.shields.io/github/tag/sensorsdata/sa-sdk-ios-encrypt.svg?label=release)](https://github.com/sensorsdata/sa-sdk-ios-encrypt/releases)
55
[![GitHub release date](https://img.shields.io/github/release-date/sensorsdata/sa-sdk-ios-encrypt.svg)](https://github.com/sensorsdata/sa-sdk-ios-encrypt/releases)
6+
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/SensorsAnalyticsEncrypt.svg)](https://img.shields.io/cocoapods/v/SensorsAnalyticsEncrypt.svg)
7+
[![Platform](https://img.shields.io/cocoapods/p/SensorsAnalyticsEncrypt.svg?style=flat)](http://cocoadocs.org/docsets/SensorsAnalyticsEncrypt)
68

79
## 神策简介
810

SensorsAnalyticsEncrypt.podspec

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,16 @@ Pod::Spec.new do |s|
99
s.platform = :ios, "8.0"
1010
s.source_files = "SensorsAnalyticsEncrypt/**/*.{h,mm,cpp}"
1111
s.public_header_files = "SensorsAnalyticsEncrypt/ECC/SACryptoppECC.h"
12-
# -DCRYPTOPP_DISABLE_ASM=1 为了解决在模拟器上编译报错的问题
13-
# issue:https://github.com/weidai11/cryptopp/issues/933
14-
# CMake:https://www.cryptopp.com/wiki/CMake
15-
s.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_ENABLE_CUSTOM_CRYPTOPP=1', 'OTHER_CPLUSPLUSFLAGS[sdk=iphonesimulator*]' => '$(OTHER_CFLAGS) -DCRYPTOPP_DISABLE_ASM=1', 'GCC_WARN_INHIBIT_ALL_WARNINGS' => 'YES'}
12+
s.libraries = "c++"
13+
s.pod_target_xcconfig = {
14+
"GCC_PREPROCESSOR_DEFINITIONS" => "SENSORS_ANALYTICS_ENABLE_CUSTOM_CRYPTOPP=1",
15+
# -DCRYPTOPP_DISABLE_ASM=1 为了解决在模拟器上编译报错的问题
16+
# issue:https://github.com/weidai11/cryptopp/issues/933
17+
# CMake:https://www.cryptopp.com/wiki/CMake
18+
"OTHER_CPLUSPLUSFLAGS[sdk=iphonesimulator*]" => "$(OTHER_CFLAGS) -DCRYPTOPP_DISABLE_ASM=1",
19+
"CLANG_CXX_LANGUAGE_STANDARD" => "gnu++14",
20+
"CLANG_CXX_LIBRARY" => "libc++",
21+
"GCC_WARN_INHIBIT_ALL_WARNINGS" => "YES"
22+
}
1623

1724
end

SensorsAnalyticsEncrypt.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,7 +1809,7 @@
18091809
buildSettings = {
18101810
CODE_SIGN_STYLE = Automatic;
18111811
DEFINES_MODULE = YES;
1812-
DEVELOPMENT_TEAM = 75FYWDWHL5;
1812+
DEVELOPMENT_TEAM = "";
18131813
DYLIB_COMPATIBILITY_VERSION = 1;
18141814
DYLIB_CURRENT_VERSION = 1;
18151815
DYLIB_INSTALL_NAME_BASE = "@rpath";
@@ -1842,7 +1842,7 @@
18421842
buildSettings = {
18431843
CODE_SIGN_STYLE = Automatic;
18441844
DEFINES_MODULE = YES;
1845-
DEVELOPMENT_TEAM = 75FYWDWHL5;
1845+
DEVELOPMENT_TEAM = "";
18461846
DYLIB_COMPATIBILITY_VERSION = 1;
18471847
DYLIB_CURRENT_VERSION = 1;
18481848
DYLIB_INSTALL_NAME_BASE = "@rpath";

0 commit comments

Comments
 (0)