Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
GMPhobos
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
GMPhobos
Commits
130375bc
Commit
130375bc
authored
Sep 11, 2017
by
翟国钧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
反作弊参数增加:系统版本号,和设备型号
parent
89353463
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
417 additions
and
18 deletions
+417
-18
Podfile.lock
Example/Podfile.lock
+48
-2
GMPhobos.podspec.json
Example/Pods/Local Podspecs/GMPhobos.podspec.json
+5
-2
Manifest.lock
Example/Pods/Manifest.lock
+48
-2
project.pbxproj
Example/Pods/Pods.xcodeproj/project.pbxproj
+0
-0
GMPhobos.xcconfig
Example/Pods/Target Support Files/GMPhobos/GMPhobos.xcconfig
+1
-1
Info.plist
Example/Pods/Target Support Files/GMPhobos/Info.plist
+1
-1
Pods-GMPhobos_Example-acknowledgements.markdown
...s_Example/Pods-GMPhobos_Example-acknowledgements.markdown
+125
-0
Pods-GMPhobos_Example-acknowledgements.plist
...obos_Example/Pods-GMPhobos_Example-acknowledgements.plist
+161
-0
Pods-GMPhobos_Example-frameworks.sh
...Pods-GMPhobos_Example/Pods-GMPhobos_Example-frameworks.sh
+12
-0
Pods-GMPhobos_Example.debug.xcconfig
...ods-GMPhobos_Example/Pods-GMPhobos_Example.debug.xcconfig
+3
-3
Pods-GMPhobos_Example.release.xcconfig
...s-GMPhobos_Example/Pods-GMPhobos_Example.release.xcconfig
+3
-3
Pods-GMPhobos_Tests.debug.xcconfig
...es/Pods-GMPhobos_Tests/Pods-GMPhobos_Tests.debug.xcconfig
+2
-2
Pods-GMPhobos_Tests.release.xcconfig
.../Pods-GMPhobos_Tests/Pods-GMPhobos_Tests.release.xcconfig
+2
-2
GMPhobos.podspec
GMPhobos.podspec
+1
-0
Phobos.m
Pod/Classes/Phobos.m
+5
-0
No files found.
Example/Podfile.lock
View file @
130375bc
PODS:
- Base64nl (1.2)
- GMCache (0.1.1):
- TMCache (~> 2.1.0)
- GMPhobos (0.4.2):
- GMFoundation (0.0.9):
- Base64nl (= 1.2)
- GMKit (0.7.38):
- GMFoundation
- GMKit/Category (= 0.7.38)
- GMKit/FDFullscreenPopGesture (= 0.7.38)
- GMKit/Kit (= 0.7.38)
- GMKit/Protocol (= 0.7.38)
- GMOCConstant
- Masonry (= 1.0.1)
- SDWebImage (= 3.7.6)
- GMKit/Category (0.7.38):
- GMFoundation
- GMOCConstant
- Masonry (= 1.0.1)
- SDWebImage (= 3.7.6)
- GMKit/FDFullscreenPopGesture (0.7.38):
- GMFoundation
- GMOCConstant
- Masonry (= 1.0.1)
- SDWebImage (= 3.7.6)
- GMKit/Kit (0.7.38):
- GMFoundation
- GMKit/Category (= 0.7.38)
- GMKit/Protocol (= 0.7.38)
- GMOCConstant
- Masonry (= 1.0.1)
- SDWebImage (= 3.7.6)
- GMKit/Protocol (0.7.38):
- GMFoundation
- GMOCConstant
- Masonry (= 1.0.1)
- SDWebImage (= 3.7.6)
- GMOCConstant (0.0.4)
- GMPhobos (0.4.3):
- GMCache (~> 0.1.1)
- GMKit (~> 0.7.38)
- Masonry (1.0.1)
- SDWebImage (3.7.6):
- SDWebImage/Core (= 3.7.6)
- SDWebImage/Core (3.7.6)
- TMCache (2.1.0)
DEPENDENCIES:
...
...
@@ -13,8 +53,14 @@ EXTERNAL SOURCES:
:path: "../"
SPEC CHECKSUMS:
Base64nl: a497bdcd1c01ea793d36b399016195a8713c0e95
GMCache: 73855b613b9d7e34f4f37ad425e8b8153b760c04
GMPhobos: 9799825c107481252f084a3a2f91d5d1eae1d7bd
GMFoundation: efe176ec7c3b95a891f41b188507d52212599d13
GMKit: 9d5de297523169a0d061c26402f0d1fb55fcb380
GMOCConstant: 0f60833fc0d46017701a6595ba6764a1b1fe6290
GMPhobos: 0ea014fdc0297723107167cf58799e320a719850
Masonry: a1a931a0d08870ed8ae415a2ea5ea68ebcac77df
SDWebImage: c325cf02c30337336b95beff20a13df489ec0ec9
TMCache: 95ebcc9b3c7e90fb5fd8fc3036cba3aa781c9bed
PODFILE CHECKSUM: 281ed5ce2f0e8e2e49cc13b1e4726e6686ac6095
...
...
Example/Pods/Local Podspecs/GMPhobos.podspec.json
View file @
130375bc
{
"name"
:
"GMPhobos"
,
"version"
:
"0.4.
2
"
,
"version"
:
"0.4.
3
"
,
"summary"
:
"GM statistic data sdk"
,
"description"
:
"GM event track sdk."
,
"homepage"
:
"http://git.gengmei.cc/gengmeiios/GMPhobos"
,
...
...
@@ -10,7 +10,7 @@
},
"source"
:
{
"git"
:
"git@git.gengmei.cc:gengmeiios/GMPhobos.git"
,
"tag"
:
"0.4.
2
"
"tag"
:
"0.4.
3
"
},
"platforms"
:
{
"ios"
:
"8.0"
...
...
@@ -20,6 +20,9 @@
"dependencies"
:
{
"GMCache"
:
[
"~> 0.1.1"
],
"GMKit"
:
[
"~> 0.7.38"
]
},
"libraries"
:
"z"
...
...
Example/Pods/Manifest.lock
View file @
130375bc
PODS:
- Base64nl (1.2)
- GMCache (0.1.1):
- TMCache (~> 2.1.0)
- GMPhobos (0.4.2):
- GMFoundation (0.0.9):
- Base64nl (= 1.2)
- GMKit (0.7.38):
- GMFoundation
- GMKit/Category (= 0.7.38)
- GMKit/FDFullscreenPopGesture (= 0.7.38)
- GMKit/Kit (= 0.7.38)
- GMKit/Protocol (= 0.7.38)
- GMOCConstant
- Masonry (= 1.0.1)
- SDWebImage (= 3.7.6)
- GMKit/Category (0.7.38):
- GMFoundation
- GMOCConstant
- Masonry (= 1.0.1)
- SDWebImage (= 3.7.6)
- GMKit/FDFullscreenPopGesture (0.7.38):
- GMFoundation
- GMOCConstant
- Masonry (= 1.0.1)
- SDWebImage (= 3.7.6)
- GMKit/Kit (0.7.38):
- GMFoundation
- GMKit/Category (= 0.7.38)
- GMKit/Protocol (= 0.7.38)
- GMOCConstant
- Masonry (= 1.0.1)
- SDWebImage (= 3.7.6)
- GMKit/Protocol (0.7.38):
- GMFoundation
- GMOCConstant
- Masonry (= 1.0.1)
- SDWebImage (= 3.7.6)
- GMOCConstant (0.0.4)
- GMPhobos (0.4.3):
- GMCache (~> 0.1.1)
- GMKit (~> 0.7.38)
- Masonry (1.0.1)
- SDWebImage (3.7.6):
- SDWebImage/Core (= 3.7.6)
- SDWebImage/Core (3.7.6)
- TMCache (2.1.0)
DEPENDENCIES:
...
...
@@ -13,8 +53,14 @@ EXTERNAL SOURCES:
:path: "../"
SPEC CHECKSUMS:
Base64nl: a497bdcd1c01ea793d36b399016195a8713c0e95
GMCache: 73855b613b9d7e34f4f37ad425e8b8153b760c04
GMPhobos: 9799825c107481252f084a3a2f91d5d1eae1d7bd
GMFoundation: efe176ec7c3b95a891f41b188507d52212599d13
GMKit: 9d5de297523169a0d061c26402f0d1fb55fcb380
GMOCConstant: 0f60833fc0d46017701a6595ba6764a1b1fe6290
GMPhobos: 0ea014fdc0297723107167cf58799e320a719850
Masonry: a1a931a0d08870ed8ae415a2ea5ea68ebcac77df
SDWebImage: c325cf02c30337336b95beff20a13df489ec0ec9
TMCache: 95ebcc9b3c7e90fb5fd8fc3036cba3aa781c9bed
PODFILE CHECKSUM: 281ed5ce2f0e8e2e49cc13b1e4726e6686ac6095
...
...
Example/Pods/Pods.xcodeproj/project.pbxproj
View file @
130375bc
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Example/Pods/Target Support Files/GMPhobos/GMPhobos.xcconfig
View file @
130375bc
CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/GMPhobos
FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/
GMCach
e" "$PODS_CONFIGURATION_BUILD_DIR/TMCache"
FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/
Base64nl" "$PODS_CONFIGURATION_BUILD_DIR/GMCache" "$PODS_CONFIGURATION_BUILD_DIR/GMFoundation" "$PODS_CONFIGURATION_BUILD_DIR/GMKit" "$PODS_CONFIGURATION_BUILD_DIR/GMOCConstant" "$PODS_CONFIGURATION_BUILD_DIR/Masonry" "$PODS_CONFIGURATION_BUILD_DIR/SDWebImag
e" "$PODS_CONFIGURATION_BUILD_DIR/TMCache"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public"
OTHER_LDFLAGS = -l"z"
...
...
Example/Pods/Target Support Files/GMPhobos/Info.plist
View file @
130375bc
...
...
@@ -15,7 +15,7 @@
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
FMWK
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
0.4.
2
<
/string
>
<
string
>
0.4.
3
<
/string
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
string
>
????
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
...
...
Example/Pods/Target Support Files/Pods-GMPhobos_Example/Pods-GMPhobos_Example-acknowledgements.markdown
View file @
130375bc
# Acknowledgements
This application makes use of the following third party libraries:
## Base64nl
Base64
Version 1.2, Feburary 7th, 2014
Copyright (C) 2012 Charcoal Design
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1.
The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2.
Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3.
This notice may not be removed or altered from any source distribution.
## GMCache
Copyright (c) 2016 wangyang
<wangyang@wanmeizhensuo.com>
...
...
@@ -24,6 +50,59 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
## GMFoundation
Copyright (c) 2016 licong
<1240690490@qq.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
## GMKit
Copyright (c) 2016 北京更美互动信息科技有限公司
仅限北京更美互动信息科技有限公司内部使用
## GMOCConstant
Copyright (c) 2016 licong
<1240690490@qq.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
## GMPhobos
Copyright (c) 2016 licong
<1240690490@qq.com>
...
...
@@ -47,6 +126,52 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
## Masonry
Copyright (c) 2011-2012 Masonry Team - https://github.com/Masonry
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
## SDWebImage
Copyright (c) 2016 Olivier Poitrey rs@dailymotion.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
## TMCache
Apache License
...
...
Example/Pods/Target Support Files/Pods-GMPhobos_Example/Pods-GMPhobos_Example-acknowledgements.plist
View file @
130375bc
...
...
@@ -12,6 +12,38 @@
<
k
e
y
>
Type
<
/k
e
y
>
<
string
>
PSGroupSpecifier
<
/string
>
<
/
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
FooterText
<
/k
e
y
>
<
string
>
Base64
Version
1.2
,
Feburary
7th
,
2014
Copyright
(
C
)
2012
Charcoal
Design
This
software
is
provided
'as-is'
,
without
any
express
or
implied
warranty.
In
no
event
will
the
authors
be
held
liable
for
any
damages
arising
from
the
use
of
this
software.
Permission
is
granted
to
anyone
to
use
this
software
for
any
purpose
,
including
commercial
applications
,
and
to
alter
it
and
redistribute
it
freely
,
subject
to
the
following
restrictions:
1.
The
origin
of
this
software
must
not
be
misrepresented
;
you
must
not
claim
that
you
wrote
the
original
software.
If
you
use
this
software
in
a
product
,
an
acknowledgment
in
the
product
documentation
would
be
appreciated
but
is
not
required.
2.
Altered
source
versions
must
be
plainly
marked
as
such
,
and
must
not
be
misrepresented
as
being
the
original
software.
3.
This
notice
may
not
be
removed
or
altered
from
any
source
distribution.
<
/string
>
<
k
e
y
>
License
<
/k
e
y
>
<
string
>
zlib
<
/string
>
<
k
e
y
>
Title
<
/k
e
y
>
<
string
>
Base64nl
<
/string
>
<
k
e
y
>
Type
<
/k
e
y
>
<
string
>
PSGroupSpecifier
<
/string
>
<
/
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
FooterText
<
/k
e
y
>
<
string
>
Copyright
(
c
)
2016
wangyang
&
lt
;
wangyang
@
wanmeizhensuo.com
&
gt
;
...
...
@@ -55,6 +87,77 @@ furnished to do so, subject to the following conditions:
The
above
copyright
notice
and
this
permission
notice
shall
be
included
in
all
copies
or
substantial
portions
of
the
Software.
THE
SOFTWARE
IS
PROVIDED
"AS IS"
,
WITHOUT
WARRANTY
OF
ANY
KIND
,
EXPRESS
OR
IMPLIED
,
INCLUDING
BUT
NOT
LIMITED
TO
THE
WARRANTIES
OF
MERCHANTABILITY
,
FITNESS
FOR
A
PARTICULAR
PURPOSE
AND
NONINFRINGEMENT.
IN
NO
EVENT
SHALL
THE
AUTHORS
OR
COPYRIGHT
HOLDERS
BE
LIABLE
FOR
ANY
CLAIM
,
DAMAGES
OR
OTHER
LIABILITY
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
TORT
OR
OTHERWISE
,
ARISING
FROM
,
OUT
OF
OR
IN
CONNECTION
WITH
THE
SOFTWARE
OR
THE
USE
OR
OTHER
DEALINGS
IN
THE
SOFTWARE.
<
/string
>
<
k
e
y
>
License
<
/k
e
y
>
<
string
>
MIT
<
/string
>
<
k
e
y
>
Title
<
/k
e
y
>
<
string
>
GMFoundation
<
/string
>
<
k
e
y
>
Type
<
/k
e
y
>
<
string
>
PSGroupSpecifier
<
/string
>
<
/
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
FooterText
<
/k
e
y
>
<
string
>
Copyright
(
c
)
2016
北京更美互动信息科技有限公司
仅限北京更美互动信息科技有限公司内部使用
<
/string
>
<
k
e
y
>
License
<
/k
e
y
>
<
string
>
仅限北京更美互动信息科技有限公司内部使用
<
/string
>
<
k
e
y
>
Title
<
/k
e
y
>
<
string
>
GMKit
<
/string
>
<
k
e
y
>
Type
<
/k
e
y
>
<
string
>
PSGroupSpecifier
<
/string
>
<
/
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
FooterText
<
/k
e
y
>
<
string
>
Copyright
(
c
)
2016
licong
&
lt
;
1240690490
@
qq.com
&
gt
;
Permission
is
hereby
granted
,
free
of
charge
,
to
any
person
obtaining
a
copy
of
this
software
and
associated
documentation
files
(
the
"Software"
)
,
to
deal
in
the
Software
without
restriction
,
including
without
limitation
the
rights
to
use
,
copy
,
modify
,
merge
,
publish
,
distribute
,
sublicense
,
and/or
sell
copies
of
the
Software
,
and
to
permit
persons
to
whom
the
Software
is
furnished
to
do
so
,
subject
to
the
following
conditions:
The
above
copyright
notice
and
this
permission
notice
shall
be
included
in
all
copies
or
substantial
portions
of
the
Software.
THE
SOFTWARE
IS
PROVIDED
"AS IS"
,
WITHOUT
WARRANTY
OF
ANY
KIND
,
EXPRESS
OR
IMPLIED
,
INCLUDING
BUT
NOT
LIMITED
TO
THE
WARRANTIES
OF
MERCHANTABILITY
,
FITNESS
FOR
A
PARTICULAR
PURPOSE
AND
NONINFRINGEMENT.
IN
NO
EVENT
SHALL
THE
AUTHORS
OR
COPYRIGHT
HOLDERS
BE
LIABLE
FOR
ANY
CLAIM
,
DAMAGES
OR
OTHER
LIABILITY
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
TORT
OR
OTHERWISE
,
ARISING
FROM
,
OUT
OF
OR
IN
CONNECTION
WITH
THE
SOFTWARE
OR
THE
USE
OR
OTHER
DEALINGS
IN
THE
SOFTWARE.
<
/string
>
<
k
e
y
>
License
<
/k
e
y
>
<
string
>
MIT
<
/string
>
<
k
e
y
>
Title
<
/k
e
y
>
<
string
>
GMOCConstant
<
/string
>
<
k
e
y
>
Type
<
/k
e
y
>
<
string
>
PSGroupSpecifier
<
/string
>
<
/
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
FooterText
<
/k
e
y
>
<
string
>
Copyright
(
c
)
2016
licong
&
lt
;
1240690490
@
qq.com
&
gt
;
Permission
is
hereby
granted
,
free
of
charge
,
to
any
person
obtaining
a
copy
of
this
software
and
associated
documentation
files
(
the
"Software"
)
,
to
deal
in
the
Software
without
restriction
,
including
without
limitation
the
rights
to
use
,
copy
,
modify
,
merge
,
publish
,
distribute
,
sublicense
,
and/or
sell
copies
of
the
Software
,
and
to
permit
persons
to
whom
the
Software
is
furnished
to
do
so
,
subject
to
the
following
conditions:
The
above
copyright
notice
and
this
permission
notice
shall
be
included
in
all
copies
or
substantial
portions
of
the
Software.
THE
SOFTWARE
IS
PROVIDED
"AS IS"
,
WITHOUT
WARRANTY
OF
ANY
KIND
,
EXPRESS
OR
IMPLIED
,
INCLUDING
BUT
NOT
LIMITED
TO
THE
WARRANTIES
OF
MERCHANTABILITY
,
FITNESS
FOR
A
PARTICULAR
PURPOSE
AND
NONINFRINGEMENT.
IN
NO
EVENT
SHALL
THE
...
...
@@ -70,6 +173,64 @@ THE SOFTWARE.
<
k
e
y
>
Type
<
/k
e
y
>
<
string
>
PSGroupSpecifier
<
/string
>
<
/
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
FooterText
<
/k
e
y
>
<
string
>
Copyright
(
c
)
2011-2012
Masonry
Team
-
https://github.com/Masonry
Permission
is
hereby
granted
,
free
of
charge
,
to
any
person
obtaining
a
copy
of
this
software
and
associated
documentation
files
(
the
"Software"
)
,
to
deal
in
the
Software
without
restriction
,
including
without
limitation
the
rights
to
use
,
copy
,
modify
,
merge
,
publish
,
distribute
,
sublicense
,
and/or
sell
copies
of
the
Software
,
and
to
permit
persons
to
whom
the
Software
is
furnished
to
do
so
,
subject
to
the
following
conditions:
The
above
copyright
notice
and
this
permission
notice
shall
be
included
in
all
copies
or
substantial
portions
of
the
Software.
THE
SOFTWARE
IS
PROVIDED
"AS IS"
,
WITHOUT
WARRANTY
OF
ANY
KIND
,
EXPRESS
OR
IMPLIED
,
INCLUDING
BUT
NOT
LIMITED
TO
THE
WARRANTIES
OF
MERCHANTABILITY
,
FITNESS
FOR
A
PARTICULAR
PURPOSE
AND
NONINFRINGEMENT.
IN
NO
EVENT
SHALL
THE
AUTHORS
OR
COPYRIGHT
HOLDERS
BE
LIABLE
FOR
ANY
CLAIM
,
DAMAGES
OR
OTHER
LIABILITY
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
TORT
OR
OTHERWISE
,
ARISING
FROM
,
OUT
OF
OR
IN
CONNECTION
WITH
THE
SOFTWARE
OR
THE
USE
OR
OTHER
DEALINGS
IN
THE
SOFTWARE.
<
/string
>
<
k
e
y
>
License
<
/k
e
y
>
<
string
>
MIT
<
/string
>
<
k
e
y
>
Title
<
/k
e
y
>
<
string
>
Masonry
<
/string
>
<
k
e
y
>
Type
<
/k
e
y
>
<
string
>
PSGroupSpecifier
<
/string
>
<
/
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
FooterText
<
/k
e
y
>
<
string
>
Copyright
(
c
)
2016
Olivier
Poitrey
rs
@
dailymotion.com
Permission
is
hereby
granted
,
free
of
charge
,
to
any
person
obtaining
a
copy
of
this
software
and
associated
documentation
files
(
the
"Software"
)
,
to
deal
in
the
Software
without
restriction
,
including
without
limitation
the
rights
to
use
,
copy
,
modify
,
merge
,
publish
,
distribute
,
sublicense
,
and/or
sell
copies
of
the
Software
,
and
to
permit
persons
to
whom
the
Software
is
furnished
to
do
so
,
subject
to
the
following
conditions:
The
above
copyright
notice
and
this
permission
notice
shall
be
included
in
all
copies
or
substantial
portions
of
the
Software.
THE
SOFTWARE
IS
PROVIDED
"AS IS"
,
WITHOUT
WARRANTY
OF
ANY
KIND
,
EXPRESS
OR
IMPLIED
,
INCLUDING
BUT
NOT
LIMITED
TO
THE
WARRANTIES
OF
MERCHANTABILITY
,
FITNESS
FOR
A
PARTICULAR
PURPOSE
AND
NONINFRINGEMENT.
IN
NO
EVENT
SHALL
THE
AUTHORS
OR
COPYRIGHT
HOLDERS
BE
LIABLE
FOR
ANY
CLAIM
,
DAMAGES
OR
OTHER
LIABILITY
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
TORT
OR
OTHERWISE
,
ARISING
FROM
,
OUT
OF
OR
IN
CONNECTION
WITH
THE
SOFTWARE
OR
THE
USE
OR
OTHER
DEALINGS
IN
THE
SOFTWARE.
<
/string
>
<
k
e
y
>
License
<
/k
e
y
>
<
string
>
MIT
<
/string
>
<
k
e
y
>
Title
<
/k
e
y
>
<
string
>
SDWebImage
<
/string
>
<
k
e
y
>
Type
<
/k
e
y
>
<
string
>
PSGroupSpecifier
<
/string
>
<
/
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
FooterText
<
/k
e
y
>
<
string
>
Apache
License
...
...
Example/Pods/Target Support Files/Pods-GMPhobos_Example/Pods-GMPhobos_Example-frameworks.sh
View file @
130375bc
...
...
@@ -89,13 +89,25 @@ strip_invalid_archs() {
if
[[
"
$CONFIGURATION
"
==
"Debug"
]]
;
then
install_framework
"
$BUILT_PRODUCTS_DIR
/Base64nl/Base64nl.framework"
install_framework
"
$BUILT_PRODUCTS_DIR
/GMCache/GMCache.framework"
install_framework
"
$BUILT_PRODUCTS_DIR
/GMFoundation/GMFoundation.framework"
install_framework
"
$BUILT_PRODUCTS_DIR
/GMKit/GMKit.framework"
install_framework
"
$BUILT_PRODUCTS_DIR
/GMOCConstant/GMOCConstant.framework"
install_framework
"
$BUILT_PRODUCTS_DIR
/GMPhobos/GMPhobos.framework"
install_framework
"
$BUILT_PRODUCTS_DIR
/Masonry/Masonry.framework"
install_framework
"
$BUILT_PRODUCTS_DIR
/SDWebImage/SDWebImage.framework"
install_framework
"
$BUILT_PRODUCTS_DIR
/TMCache/TMCache.framework"
fi
if
[[
"
$CONFIGURATION
"
==
"Release"
]]
;
then
install_framework
"
$BUILT_PRODUCTS_DIR
/Base64nl/Base64nl.framework"
install_framework
"
$BUILT_PRODUCTS_DIR
/GMCache/GMCache.framework"
install_framework
"
$BUILT_PRODUCTS_DIR
/GMFoundation/GMFoundation.framework"
install_framework
"
$BUILT_PRODUCTS_DIR
/GMKit/GMKit.framework"
install_framework
"
$BUILT_PRODUCTS_DIR
/GMOCConstant/GMOCConstant.framework"
install_framework
"
$BUILT_PRODUCTS_DIR
/GMPhobos/GMPhobos.framework"
install_framework
"
$BUILT_PRODUCTS_DIR
/Masonry/Masonry.framework"
install_framework
"
$BUILT_PRODUCTS_DIR
/SDWebImage/SDWebImage.framework"
install_framework
"
$BUILT_PRODUCTS_DIR
/TMCache/TMCache.framework"
fi
if
[
"
${
COCOAPODS_PARALLEL_CODE_SIGN
}
"
==
"true"
]
;
then
...
...
Example/Pods/Target Support Files/Pods-GMPhobos_Example/Pods-GMPhobos_Example.debug.xcconfig
View file @
130375bc
FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/
GMCache" "$PODS_CONFIGURATION_BUILD_DIR/GMPhobos
" "$PODS_CONFIGURATION_BUILD_DIR/TMCache"
FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/
Base64nl" "$PODS_CONFIGURATION_BUILD_DIR/GMCache" "$PODS_CONFIGURATION_BUILD_DIR/GMFoundation" "$PODS_CONFIGURATION_BUILD_DIR/GMKit" "$PODS_CONFIGURATION_BUILD_DIR/GMOCConstant" "$PODS_CONFIGURATION_BUILD_DIR/GMPhobos" "$PODS_CONFIGURATION_BUILD_DIR/Masonry" "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage
" "$PODS_CONFIGURATION_BUILD_DIR/TMCache"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/
GMCache/GMCache.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMPhobos/GMPhobos
.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/TMCache/TMCache.framework/Headers"
OTHER_LDFLAGS = $(inherited) -framework "
GMCache" -framework "GMPhobos
" -framework "TMCache"
OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/
Base64nl/Base64nl.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMCache/GMCache.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMFoundation/GMFoundation.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMKit/GMKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMOCConstant/GMOCConstant.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMPhobos/GMPhobos.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Masonry/Masonry.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage/SDWebImage
.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/TMCache/TMCache.framework/Headers"
OTHER_LDFLAGS = $(inherited) -framework "
Base64nl" -framework "GMCache" -framework "GMFoundation" -framework "GMKit" -framework "GMOCConstant" -framework "GMPhobos" -framework "Masonry" -framework "SDWebImage
" -framework "TMCache"
PODS_BUILD_DIR = $BUILD_DIR
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
...
...
Example/Pods/Target Support Files/Pods-GMPhobos_Example/Pods-GMPhobos_Example.release.xcconfig
View file @
130375bc
FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/
GMCache" "$PODS_CONFIGURATION_BUILD_DIR/GMPhobos
" "$PODS_CONFIGURATION_BUILD_DIR/TMCache"
FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/
Base64nl" "$PODS_CONFIGURATION_BUILD_DIR/GMCache" "$PODS_CONFIGURATION_BUILD_DIR/GMFoundation" "$PODS_CONFIGURATION_BUILD_DIR/GMKit" "$PODS_CONFIGURATION_BUILD_DIR/GMOCConstant" "$PODS_CONFIGURATION_BUILD_DIR/GMPhobos" "$PODS_CONFIGURATION_BUILD_DIR/Masonry" "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage
" "$PODS_CONFIGURATION_BUILD_DIR/TMCache"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/
GMCache/GMCache.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMPhobos/GMPhobos
.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/TMCache/TMCache.framework/Headers"
OTHER_LDFLAGS = $(inherited) -framework "
GMCache" -framework "GMPhobos
" -framework "TMCache"
OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/
Base64nl/Base64nl.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMCache/GMCache.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMFoundation/GMFoundation.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMKit/GMKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMOCConstant/GMOCConstant.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMPhobos/GMPhobos.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Masonry/Masonry.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage/SDWebImage
.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/TMCache/TMCache.framework/Headers"
OTHER_LDFLAGS = $(inherited) -framework "
Base64nl" -framework "GMCache" -framework "GMFoundation" -framework "GMKit" -framework "GMOCConstant" -framework "GMPhobos" -framework "Masonry" -framework "SDWebImage
" -framework "TMCache"
PODS_BUILD_DIR = $BUILD_DIR
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
...
...
Example/Pods/Target Support Files/Pods-GMPhobos_Tests/Pods-GMPhobos_Tests.debug.xcconfig
View file @
130375bc
FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/
GMCache" "$PODS_CONFIGURATION_BUILD_DIR/GMPhobos
" "$PODS_CONFIGURATION_BUILD_DIR/TMCache"
FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/
Base64nl" "$PODS_CONFIGURATION_BUILD_DIR/GMCache" "$PODS_CONFIGURATION_BUILD_DIR/GMFoundation" "$PODS_CONFIGURATION_BUILD_DIR/GMKit" "$PODS_CONFIGURATION_BUILD_DIR/GMOCConstant" "$PODS_CONFIGURATION_BUILD_DIR/GMPhobos" "$PODS_CONFIGURATION_BUILD_DIR/Masonry" "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage
" "$PODS_CONFIGURATION_BUILD_DIR/TMCache"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/
GMCache/GMCache.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMPhobos/GMPhobos
.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/TMCache/TMCache.framework/Headers"
OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/
Base64nl/Base64nl.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMCache/GMCache.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMFoundation/GMFoundation.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMKit/GMKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMOCConstant/GMOCConstant.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMPhobos/GMPhobos.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Masonry/Masonry.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage/SDWebImage
.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/TMCache/TMCache.framework/Headers"
PODS_BUILD_DIR = $BUILD_DIR
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
...
...
Example/Pods/Target Support Files/Pods-GMPhobos_Tests/Pods-GMPhobos_Tests.release.xcconfig
View file @
130375bc
FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/
GMCache" "$PODS_CONFIGURATION_BUILD_DIR/GMPhobos
" "$PODS_CONFIGURATION_BUILD_DIR/TMCache"
FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/
Base64nl" "$PODS_CONFIGURATION_BUILD_DIR/GMCache" "$PODS_CONFIGURATION_BUILD_DIR/GMFoundation" "$PODS_CONFIGURATION_BUILD_DIR/GMKit" "$PODS_CONFIGURATION_BUILD_DIR/GMOCConstant" "$PODS_CONFIGURATION_BUILD_DIR/GMPhobos" "$PODS_CONFIGURATION_BUILD_DIR/Masonry" "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage
" "$PODS_CONFIGURATION_BUILD_DIR/TMCache"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/
GMCache/GMCache.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMPhobos/GMPhobos
.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/TMCache/TMCache.framework/Headers"
OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/
Base64nl/Base64nl.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMCache/GMCache.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMFoundation/GMFoundation.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMKit/GMKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMOCConstant/GMOCConstant.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/GMPhobos/GMPhobos.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Masonry/Masonry.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage/SDWebImage
.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/TMCache/TMCache.framework/Headers"
PODS_BUILD_DIR = $BUILD_DIR
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
...
...
GMPhobos.podspec
View file @
130375bc
...
...
@@ -29,6 +29,7 @@ Pod::Spec.new do |s|
s
.
source_files
=
'Pod/Classes/**/*'
s
.
dependency
'
GMCache
'
,
'~> 0.1.1'
s
.
dependency
'
GMKit
'
,
'~> 0.7.38'
s
.
library
=
'z'
end
Pod/Classes/Phobos.m
View file @
130375bc
...
...
@@ -14,6 +14,7 @@
#import "UIResponder+PhobosPV.h"
#import "PhobosUtil.h"
#import "PhobosCustomVisibleController.h"
#import "UIDevice+Resolutions.h"
static
Phobos
*
sharedClient
=
nil
;
static
NSString
*
sdkVersion
=
@"110"
;
...
...
@@ -101,6 +102,8 @@ static NSString *sdkVersion = @"110";
@"total_memory"
:
[
PhobosUtil
getTotalMemorySize
],
@"run_time"
:
[
PhobosUtil
deviceRunTime
],
@"uuid"
:
[
PhobosUtil
deviceId
],
@"build_version_release"
:
[[
UIDevice
currentDevice
]
systemVersion
],
@"build_model"
:
[
UIDevice
deviceVersion
],
};
[
Phobos
track
:
@"device_opened"
attributes
:
dict
sendNow
:
YES
];
...
...
@@ -212,6 +215,8 @@ static NSString *sdkVersion = @"110";
@"total_memory"
:
[
PhobosUtil
getTotalMemorySize
],
@"run_time"
:
[
PhobosUtil
deviceRunTime
],
@"uuid"
:
[
PhobosUtil
deviceId
],
@"build_version_release"
:
[[
UIDevice
currentDevice
]
systemVersion
],
@"build_model"
:
[
UIDevice
deviceVersion
],
};
[
Phobos
track
:
@"on_app_session_over"
attributes
:
dict
];
[
cache
removeObjectAtDiskWithkey
:
PhobosBeginTime
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment