Skip to content

Commit

Permalink
Update how to build and update fabric
Browse files Browse the repository at this point in the history
  • Loading branch information
typcn committed Jan 22, 2016
1 parent 34614c1 commit 92679b2
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 7 deletions.
Binary file modified Fabric.framework/Versions/A/Fabric
Binary file not shown.
14 changes: 13 additions & 1 deletion Fabric.framework/Versions/A/Headers/FABAttributes.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,19 @@
// FABAttributes.h
// Fabric
//
// Copyright (c) 2015 Twitter. All rights reserved.
// Copyright (C) 2015 Twitter, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

#pragma once
Expand Down
15 changes: 14 additions & 1 deletion Fabric.framework/Versions/A/Headers/Fabric.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
//
// Fabric.h
// Fabric
//
// Copyright (c) 2015 Twitter. All rights reserved.
// Copyright (C) 2015 Twitter, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

#import <Foundation/Foundation.h>
Expand Down
4 changes: 2 additions & 2 deletions Fabric.framework/Versions/A/Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.6.1</string>
<string>1.6.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>37</string>
<string>42</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down
4 changes: 2 additions & 2 deletions Fabric.framework/run
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
DIR="\"${DIR}"

PATH_SEP="/"
VALIDATE_COMMAND="uploadDSYM\" $@ validate"
UPLOAD_COMMAND="uploadDSYM\" $@"
VALIDATE_COMMAND="uploadDSYM\" $@ validate run-script"
UPLOAD_COMMAND="uploadDSYM\" $@ run-script"

# Ensure params are as expected, run in sync mode to validate
eval $DIR$PATH_SEP$VALIDATE_COMMAND
Expand Down
Binary file modified Fabric.framework/uploadDSYM
Binary file not shown.
5 changes: 5 additions & 0 deletions HOW_TO_BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ Then open bilibili.xcodeproj to edit or build.

( If you don't have code signing , please set signing to "None" )

# Add Crashlytics Key
Project Navigator -> Bilibili -> Build Phases -> Run Script( Fabric )

Get project key from fabric , or delete this build script

# About libraries

If you can't download libraries from git-lfs, please run following commands.
Expand Down
2 changes: 1 addition & 1 deletion bilibili/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1639</string>
<string>1648</string>
<key>Fabric</key>
<dict>
<key>APIKey</key>
Expand Down

0 comments on commit 92679b2

Please sign in to comment.