cocoapods-pod-sign 0.0.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +63 -0
- data/README.md +22 -2
- data/example/podSign/Gemfile +8 -0
- data/example/podSign/Gemfile.lock +102 -0
- data/example/podSign/Podfile +20 -0
- data/example/podSign/bundleSign/.gitignore +36 -0
- data/example/podSign/bundleSign/.travis.yml +14 -0
- data/example/podSign/bundleSign/Example/Podfile +6 -0
- data/example/podSign/bundleSign/Example/Pods/Local Podspecs/bundleSign.podspec.json +22 -0
- data/example/podSign/bundleSign/Example/Tests/Tests-Info.plist +22 -0
- data/example/podSign/bundleSign/Example/Tests/Tests-Prefix.pch +7 -0
- data/example/podSign/bundleSign/Example/Tests/Tests.m +35 -0
- data/example/podSign/bundleSign/Example/Tests/en.lproj/InfoPlist.strings +2 -0
- data/example/podSign/bundleSign/Example/bundleSign.xcodeproj/project.pbxproj +395 -0
- data/example/podSign/bundleSign/Example/bundleSign.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/example/podSign/bundleSign/Example/bundleSign.xcodeproj/xcshareddata/xcschemes/bundleSign-Example.xcscheme +101 -0
- data/example/podSign/bundleSign/LICENSE +19 -0
- data/example/podSign/bundleSign/README.md +29 -0
- data/example/podSign/bundleSign/_Pods.xcodeproj +1 -0
- data/example/podSign/bundleSign/bundleSign/Assets/.gitkeep +0 -0
- data/example/podSign/bundleSign/bundleSign/Assets/screenshot-20220817-205345.png +0 -0
- data/example/podSign/bundleSign/bundleSign/Classes/.gitkeep +0 -0
- data/example/podSign/bundleSign/bundleSign/Classes/ReplaceMe.m +0 -0
- data/example/podSign/bundleSign/bundleSign.podspec +42 -0
- data/example/podSign/podSign/AppDelegate.h +14 -0
- data/example/podSign/podSign/AppDelegate.m +40 -0
- data/example/podSign/podSign/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- data/example/podSign/podSign/Assets.xcassets/AppIcon.appiconset/Contents.json +93 -0
- data/example/podSign/podSign/Assets.xcassets/Contents.json +6 -0
- data/example/podSign/podSign/Base.lproj/LaunchScreen.storyboard +25 -0
- data/example/podSign/podSign/Base.lproj/Main.storyboard +24 -0
- data/example/podSign/podSign/Info.plist +25 -0
- data/example/podSign/podSign/SceneDelegate.h +15 -0
- data/example/podSign/podSign/SceneDelegate.m +57 -0
- data/example/podSign/podSign/ViewController.h +14 -0
- data/example/podSign/podSign/ViewController.m +22 -0
- data/example/podSign/podSign/main.m +18 -0
- data/example/podSign/podSign.xcodeproj/project.pbxproj +528 -0
- data/example/podSign/podSign.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/example/podSign/podSign.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- data/example/podSign/podSign.xcodeproj/project.xcworkspace/xcuserdata/liuxiaoliang01.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- data/example/podSign/podSign.xcodeproj/xcuserdata/liuxiaoliang01.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- data/example/podSign/podSign.xcworkspace/contents.xcworkspacedata +10 -0
- data/example/podSign/podSign.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- data/example/podSign/podSign.xcworkspace/xcuserdata/liuxiaoliang01.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- data/lib/cocoapods-pod-sign/gem_version.rb +1 -1
- data/lib/cocoapods-pod-sign/pod_installer.rb +35 -21
- data/lib/cocoapods-pod-sign/podfile_dsl.rb +5 -5
- metadata +45 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87f97e51c175c7afdb25dd252fb52888f96cdb95824289bbaf140c80ae22a8dc
|
4
|
+
data.tar.gz: c0d2b2f4c5e9ece5fd7a773caf16b296052908de731410fcf5fb63f0d2f81916
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86ac85406eb0030b850839495e7fd2ca176a375baa65551b3835af64fc179d90faf0b3a2ff56ec5d89ef1afb2dbee2fe7768dcc2ebc5307b2648fb887dd437e2
|
7
|
+
data.tar.gz: 01c4200dc623bd4bda85672251388be6f6fa5fa9f8bd97a77f63ce3f93897a75b2f6cf729f37df67fb4c2976a4577bfd2879c75f922713e005cd753eff55a9dc
|
data/.gitignore
CHANGED
@@ -9,6 +9,8 @@
|
|
9
9
|
/test/tmp/
|
10
10
|
/test/version_tmp/
|
11
11
|
/tmp/
|
12
|
+
.idea/
|
13
|
+
|
12
14
|
|
13
15
|
# Used by dotenv library to load environment variables.
|
14
16
|
# .env
|
@@ -54,3 +56,64 @@ build-iPhoneSimulator/
|
|
54
56
|
|
55
57
|
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
|
56
58
|
# .rubocop-https?--*
|
59
|
+
|
60
|
+
# Xcode
|
61
|
+
#
|
62
|
+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
|
63
|
+
|
64
|
+
## Build generated
|
65
|
+
build/
|
66
|
+
DerivedData/
|
67
|
+
|
68
|
+
## Various settings
|
69
|
+
*.pbxuser
|
70
|
+
!default.pbxuser
|
71
|
+
*.mode1v3
|
72
|
+
!default.mode1v3
|
73
|
+
*.mode2v3
|
74
|
+
!default.mode2v3
|
75
|
+
*.perspectivev3
|
76
|
+
!default.perspectivev3
|
77
|
+
xcuserdata/
|
78
|
+
|
79
|
+
## Other
|
80
|
+
*.moved-aside
|
81
|
+
*.xcuserstate
|
82
|
+
|
83
|
+
## Obj-C/Swift specific
|
84
|
+
*.hmap
|
85
|
+
*.ipa
|
86
|
+
*.dSYM.zip
|
87
|
+
*.dSYM
|
88
|
+
|
89
|
+
# CocoaPods
|
90
|
+
#
|
91
|
+
# We recommend against adding the Pods directory to your .gitignore. However
|
92
|
+
# you should judge for yourself, the pros and cons are mentioned at:
|
93
|
+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
94
|
+
#
|
95
|
+
Pods/
|
96
|
+
|
97
|
+
# Carthage
|
98
|
+
#
|
99
|
+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
|
100
|
+
# Carthage/Checkouts
|
101
|
+
|
102
|
+
Carthage/Build
|
103
|
+
|
104
|
+
# fastlane
|
105
|
+
#
|
106
|
+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
|
107
|
+
# screenshots whenever they are needed.
|
108
|
+
# For more information about the recommended setup visit:
|
109
|
+
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
|
110
|
+
|
111
|
+
fastlane/report.xml
|
112
|
+
fastlane/screenshots
|
113
|
+
|
114
|
+
#Code Injection
|
115
|
+
#
|
116
|
+
# After new code Injection tools there's a generated folder /iOSInjectionProject
|
117
|
+
# https://github.com/johnno1962/injectionforxcode
|
118
|
+
|
119
|
+
iOSInjectionProject/
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# cocoapods-pod-sign
|
2
2
|
|
3
|
+
## English | [中文](https://www.jianshu.com/p/58d3202411c0)
|
4
|
+
|
3
5
|
cocoapods-pod-sign is a tool to help you set cocopads bundle identifier and team. In order to solve the compilation error of Xcode14.
|
4
6
|
|
5
7
|
## Installation
|
@@ -18,10 +20,28 @@ Just write the following code into the Podfile, it will automatically read the b
|
|
18
20
|
|
19
21
|
### Manually
|
20
22
|
|
21
|
-
You can also manually specify the bundle identifier and team under different configs. For example
|
23
|
+
You can also manually specify the bundle identifier and team under different configs. For example:
|
24
|
+
|
25
|
+
> Debug
|
26
|
+
bundle identifier: com.aaa.bbb
|
27
|
+
team: ABCDEFG
|
28
|
+
|
29
|
+
> Release
|
30
|
+
bundle identifier: com.ccc.ddd
|
31
|
+
team: HIJKLMN
|
32
|
+
|
33
|
+
> Profile
|
34
|
+
bundle identifier: com.xxx.eee
|
35
|
+
team: ASDFGHJ
|
36
|
+
|
37
|
+
|
22
38
|
|
23
39
|
```
|
24
40
|
plugin 'cocoapods-pod-sign'
|
25
|
-
config_pod_bundle_id_and_team_id({
|
41
|
+
config_pod_bundle_id_and_team_id({
|
42
|
+
'Debug' => {:bundle_id => 'com.aaa.bbb', :team_id => 'ABCDEFG'},
|
43
|
+
'Release' => {:bundle_id => 'com.ccc.ddd', :team_id => 'HIJKLMN'},
|
44
|
+
'Profile' => {:bundle_id => 'com.xxx.eee', :team_id => 'ASDFGHJ'}
|
45
|
+
})
|
26
46
|
```
|
27
47
|
|
@@ -0,0 +1,102 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../..
|
3
|
+
specs:
|
4
|
+
cocoapods-pod-sign (1.1.1)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
CFPropertyList (3.0.5)
|
10
|
+
rexml
|
11
|
+
activesupport (5.2.6)
|
12
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
+
i18n (>= 0.7, < 2)
|
14
|
+
minitest (~> 5.1)
|
15
|
+
tzinfo (~> 1.1)
|
16
|
+
addressable (2.8.0)
|
17
|
+
public_suffix (>= 2.0.2, < 5.0)
|
18
|
+
algoliasearch (1.27.5)
|
19
|
+
httpclient (~> 2.8, >= 2.8.3)
|
20
|
+
json (>= 1.5.1)
|
21
|
+
atomos (0.1.3)
|
22
|
+
claide (1.0.3)
|
23
|
+
cocoapods (1.10.2)
|
24
|
+
addressable (~> 2.6)
|
25
|
+
claide (>= 1.0.2, < 2.0)
|
26
|
+
cocoapods-core (= 1.10.2)
|
27
|
+
cocoapods-deintegrate (>= 1.0.3, < 2.0)
|
28
|
+
cocoapods-downloader (>= 1.4.0, < 2.0)
|
29
|
+
cocoapods-plugins (>= 1.0.0, < 2.0)
|
30
|
+
cocoapods-search (>= 1.0.0, < 2.0)
|
31
|
+
cocoapods-trunk (>= 1.4.0, < 2.0)
|
32
|
+
cocoapods-try (>= 1.1.0, < 2.0)
|
33
|
+
colored2 (~> 3.1)
|
34
|
+
escape (~> 0.0.4)
|
35
|
+
fourflusher (>= 2.3.0, < 3.0)
|
36
|
+
gh_inspector (~> 1.0)
|
37
|
+
molinillo (~> 0.6.6)
|
38
|
+
nap (~> 1.0)
|
39
|
+
ruby-macho (~> 1.4)
|
40
|
+
xcodeproj (>= 1.19.0, < 2.0)
|
41
|
+
cocoapods-core (1.10.2)
|
42
|
+
activesupport (> 5.0, < 6)
|
43
|
+
addressable (~> 2.6)
|
44
|
+
algoliasearch (~> 1.0)
|
45
|
+
concurrent-ruby (~> 1.1)
|
46
|
+
fuzzy_match (~> 2.0.4)
|
47
|
+
nap (~> 1.0)
|
48
|
+
netrc (~> 0.11)
|
49
|
+
public_suffix
|
50
|
+
typhoeus (~> 1.0)
|
51
|
+
cocoapods-deintegrate (1.0.5)
|
52
|
+
cocoapods-downloader (1.6.3)
|
53
|
+
cocoapods-plugins (1.0.0)
|
54
|
+
nap
|
55
|
+
cocoapods-search (1.0.1)
|
56
|
+
cocoapods-trunk (1.6.0)
|
57
|
+
nap (>= 0.8, < 2.0)
|
58
|
+
netrc (~> 0.11)
|
59
|
+
cocoapods-try (1.2.0)
|
60
|
+
colored2 (3.1.2)
|
61
|
+
concurrent-ruby (1.1.10)
|
62
|
+
escape (0.0.4)
|
63
|
+
ethon (0.15.0)
|
64
|
+
ffi (>= 1.15.0)
|
65
|
+
ffi (1.15.5)
|
66
|
+
fourflusher (2.3.1)
|
67
|
+
fuzzy_match (2.0.4)
|
68
|
+
gh_inspector (1.1.3)
|
69
|
+
httpclient (2.8.3)
|
70
|
+
i18n (1.12.0)
|
71
|
+
concurrent-ruby (~> 1.0)
|
72
|
+
json (2.6.2)
|
73
|
+
minitest (5.16.2)
|
74
|
+
molinillo (0.6.6)
|
75
|
+
nanaimo (0.3.0)
|
76
|
+
nap (1.1.0)
|
77
|
+
netrc (0.11.0)
|
78
|
+
public_suffix (4.0.7)
|
79
|
+
rexml (3.2.5)
|
80
|
+
ruby-macho (1.4.0)
|
81
|
+
thread_safe (0.3.6)
|
82
|
+
typhoeus (1.4.0)
|
83
|
+
ethon (>= 0.9.0)
|
84
|
+
tzinfo (1.2.9)
|
85
|
+
thread_safe (~> 0.1)
|
86
|
+
xcodeproj (1.22.0)
|
87
|
+
CFPropertyList (>= 2.3.3, < 4.0)
|
88
|
+
atomos (~> 0.1.3)
|
89
|
+
claide (>= 1.0.2, < 2.0)
|
90
|
+
colored2 (~> 3.1)
|
91
|
+
nanaimo (~> 0.3.0)
|
92
|
+
rexml (~> 3.2.4)
|
93
|
+
|
94
|
+
PLATFORMS
|
95
|
+
x86_64-darwin-21
|
96
|
+
|
97
|
+
DEPENDENCIES
|
98
|
+
cocoapods
|
99
|
+
cocoapods-pod-sign!
|
100
|
+
|
101
|
+
BUNDLED WITH
|
102
|
+
2.3.17
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Uncomment the next line to define a global platform for your project
|
2
|
+
# platform :ios, '9.0'
|
3
|
+
|
4
|
+
|
5
|
+
target 'podSign' do
|
6
|
+
# Comment the next line if you don't want to use dynamic frameworks
|
7
|
+
# use_frameworks!
|
8
|
+
|
9
|
+
plugin 'cocoapods-pod-sign'
|
10
|
+
|
11
|
+
# config_pod_bundle_id_and_team_id({
|
12
|
+
# 'Debug' => {:bundle_id => 'com.aaa.bbb', :team_id => 'ABCDEFG'},
|
13
|
+
# 'Release' => {:bundle_id => 'com.ccc.ddd', :team_id => 'HIJKLMN'},
|
14
|
+
# 'Profile' => {:bundle_id => 'com.xxx.eee', :team_id => 'ASDFGHJ'}
|
15
|
+
# })
|
16
|
+
|
17
|
+
# Pods for podSign
|
18
|
+
pod 'bundleSign', :path => './bundleSign'
|
19
|
+
|
20
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# macOS
|
2
|
+
.DS_Store
|
3
|
+
|
4
|
+
# Xcode
|
5
|
+
build/
|
6
|
+
*.pbxuser
|
7
|
+
!default.pbxuser
|
8
|
+
*.mode1v3
|
9
|
+
!default.mode1v3
|
10
|
+
*.mode2v3
|
11
|
+
!default.mode2v3
|
12
|
+
*.perspectivev3
|
13
|
+
!default.perspectivev3
|
14
|
+
xcuserdata/
|
15
|
+
*.xccheckout
|
16
|
+
*.moved-aside
|
17
|
+
DerivedData
|
18
|
+
*.hmap
|
19
|
+
*.ipa
|
20
|
+
|
21
|
+
# Bundler
|
22
|
+
.bundle
|
23
|
+
|
24
|
+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
|
25
|
+
# Carthage/Checkouts
|
26
|
+
|
27
|
+
Carthage/Build
|
28
|
+
|
29
|
+
# We recommend against adding the Pods directory to your .gitignore. However
|
30
|
+
# you should judge for yourself, the pros and cons are mentioned at:
|
31
|
+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
|
32
|
+
#
|
33
|
+
# Note: if you ignore the Pods directory, make sure to uncomment
|
34
|
+
# `pod install` in .travis.yml
|
35
|
+
#
|
36
|
+
# Pods/
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# references:
|
2
|
+
# * https://www.objc.io/issues/6-build-tools/travis-ci/
|
3
|
+
# * https://github.com/supermarin/xcpretty#usage
|
4
|
+
|
5
|
+
osx_image: xcode7.3
|
6
|
+
language: objective-c
|
7
|
+
# cache: cocoapods
|
8
|
+
# podfile: Example/Podfile
|
9
|
+
# before_install:
|
10
|
+
# - gem install cocoapods # Since Travis is not always on latest version
|
11
|
+
# - pod install --project-directory=Example
|
12
|
+
script:
|
13
|
+
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/bundleSign.xcworkspace -scheme bundleSign-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
|
14
|
+
- pod lib lint
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"name": "bundleSign",
|
3
|
+
"version": "0.1.0",
|
4
|
+
"summary": "A short description of bundleSign.",
|
5
|
+
"description": "TODO: Add long description of the pod here.",
|
6
|
+
"homepage": "https://github.com/liuxiaoliang01/bundleSign",
|
7
|
+
"license": {
|
8
|
+
"type": "MIT",
|
9
|
+
"file": "LICENSE"
|
10
|
+
},
|
11
|
+
"authors": {
|
12
|
+
"liuxiaoliang01": "liuxiaoliang.01@bytedance.com"
|
13
|
+
},
|
14
|
+
"source": {
|
15
|
+
"git": "https://github.com/liuxiaoliang01/bundleSign.git",
|
16
|
+
"tag": "0.1.0"
|
17
|
+
},
|
18
|
+
"platforms": {
|
19
|
+
"ios": "10.0"
|
20
|
+
},
|
21
|
+
"source_files": "bundleSign/Classes/**/*"
|
22
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>CFBundleDevelopmentRegion</key>
|
6
|
+
<string>en</string>
|
7
|
+
<key>CFBundleExecutable</key>
|
8
|
+
<string>${EXECUTABLE_NAME}</string>
|
9
|
+
<key>CFBundleIdentifier</key>
|
10
|
+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
11
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
12
|
+
<string>6.0</string>
|
13
|
+
<key>CFBundlePackageType</key>
|
14
|
+
<string>BNDL</string>
|
15
|
+
<key>CFBundleShortVersionString</key>
|
16
|
+
<string>1.0</string>
|
17
|
+
<key>CFBundleSignature</key>
|
18
|
+
<string>????</string>
|
19
|
+
<key>CFBundleVersion</key>
|
20
|
+
<string>1</string>
|
21
|
+
</dict>
|
22
|
+
</plist>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
//
|
2
|
+
// bundleSignTests.m
|
3
|
+
// bundleSignTests
|
4
|
+
//
|
5
|
+
// Created by liuxiaoliang01 on 08/17/2022.
|
6
|
+
// Copyright (c) 2022 liuxiaoliang01. All rights reserved.
|
7
|
+
//
|
8
|
+
|
9
|
+
@import XCTest;
|
10
|
+
|
11
|
+
@interface Tests : XCTestCase
|
12
|
+
|
13
|
+
@end
|
14
|
+
|
15
|
+
@implementation Tests
|
16
|
+
|
17
|
+
- (void)setUp
|
18
|
+
{
|
19
|
+
[super setUp];
|
20
|
+
// Put setup code here. This method is called before the invocation of each test method in the class.
|
21
|
+
}
|
22
|
+
|
23
|
+
- (void)tearDown
|
24
|
+
{
|
25
|
+
// Put teardown code here. This method is called after the invocation of each test method in the class.
|
26
|
+
[super tearDown];
|
27
|
+
}
|
28
|
+
|
29
|
+
- (void)testExample
|
30
|
+
{
|
31
|
+
XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__);
|
32
|
+
}
|
33
|
+
|
34
|
+
@end
|
35
|
+
|