Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
d300700a
Commit
d300700a
authored
Jul 09, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// bugly
parent
48bce148
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
10 deletions
+30
-10
Fastfile
galaxy/fastlane/Fastfile
+17
-2
YHMySettingViewController.swift
...lasses/Modules/Mine(我的)/C/YHMySettingViewController.swift
+13
-0
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+0
-8
No files found.
galaxy/fastlane/Fastfile
View file @
d300700a
...
...
@@ -20,8 +20,8 @@ platform :ios do
release_bugly_app_key = "ce23936f-3625-4452-92d9-31551858ae02"
# 上传符号表相对路径
adhoc_symbol_path = "./App/ad-hoc/galaxy.app.dSYM
.zip
"
release_symbol_path = "./App/Release/galaxy.app.dSYM
.zip
"
adhoc_symbol_path = "./App/ad-hoc/galaxy.app.dSYM"
release_symbol_path = "./App/Release/galaxy.app.dSYM"
#可以用来打包的分支
develop_branch = "develop"
...
...
@@ -43,6 +43,10 @@ platform :ios do
# 更新pod第三方库
cocoapods(use_bundle_exec: true)
# 先清空打包路径下的文件
sh "pwd"
sh "rm -rf ../App/ad-hoc/*"
gym(
workspace: 'galaxy.xcworkspace',
# 每次打包之前clean一下
...
...
@@ -75,6 +79,7 @@ platform :ios do
# mac上的通知弹窗,通知打包完毕
notification(app_icon: "", title: "manager", subtitle: "打包成功,已导出安装包", message: "准备发布到蒲公英中……")
#配置上传蒲公英账号 蒲公英的 api_key
pgyer(
...
...
@@ -93,6 +98,9 @@ platform :ios do
adhoc_build_number = get_build_number_from_xcodeproj(scheme: "galaxyForTestArchive", xcodeproj: "./galaxy.xcodeproj")
adhoc_version_key = "#{adhoc_version}.#{adhoc_build_number}"
# 解压.dSYM.zip
sh "unzip -o ../App/ad-hoc/galaxy.app.dSYM.zip -d ../App/ad-hoc"
upload_to_bugly(
appid: adhoc_bugly_app_id,
appkey: adhoc_bugly_app_key,
...
...
@@ -117,6 +125,10 @@ platform :ios do
sh "git rev-parse HEAD"
# 更新pod第三方库
cocoapods(use_bundle_exec: true)
# 先清空打包路径下的文件
sh "pwd"
sh "rm -rf ../App/Release/*"
gym(
workspace: 'galaxy.xcworkspace',
...
...
@@ -164,6 +176,9 @@ platform :ios do
release_build_number = get_build_number_from_xcodeproj(scheme: "galaxy", xcodeproj: "./galaxy.xcodeproj")
release_version_key = "#{release_version}.#{release_build_number}"
# 解压.dSYM.zip
sh "unzip -o ../App/Release/galaxy.app.dSYM.zip -d ../App/Release"
upload_to_bugly(
appid: release_bugly_app_id,
appkey: release_bugly_app_key,
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMySettingViewController.swift
View file @
d300700a
...
...
@@ -270,6 +270,19 @@ extension YHMySettingViewController : UITableViewDelegate, UITableViewDataSource
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
#if DEBUG
YHHUD
.
flash
(
message
:
"DEBUG"
,
duration
:
2.0
)
#elseif TESTENV
YHHUD
.
flash
(
message
:
"TESTNEV"
,
duration
:
2.0
)
#elseif UATENV
YHHUD
.
flash
(
message
:
"UATENV"
,
duration
:
2.0
)
#else
YHHUD
.
flash
(
message
:
"RELEASE"
,
duration
:
2.0
)
#endif
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
items
.
count
{
let
item
=
items
[
indexPath
.
row
]
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
d300700a
...
...
@@ -275,14 +275,6 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
(
indexPath
.
row
>=
items
.
count
)
{
return
}
#if DEBUG
YHHUD
.
flash
(
message
:
"DEBUG"
,
duration
:
2.0
)
#elseif TESTNEV
YHHUD
.
flash
(
message
:
"TESTNEV"
,
duration
:
2.0
)
#else
YHHUD
.
flash
(
message
:
"RELEASE"
,
duration
:
2.0
)
#endif
if
!
checkLogin
()
{
return
...
...
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