cocoapods-app_group 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Example/Example.xcodeproj/project.pbxproj +1 -1
- data/Example/Podfile.lock +2 -2
- data/Example/Pods/CocoaPodsAppGroup/AppGroup.h +1 -0
- data/Example/Pods/CocoaPodsAppGroup/AppGroup.m +5 -0
- data/Example/Pods/CocoaPodsAppGroup/AppGroup.podspec.json +1 -4
- data/Example/Pods/Headers/Private/AppGroup/AppGroup.h +1 -0
- data/Example/Pods/Local Podspecs/AppGroup.podspec.json +1 -4
- data/Example/Pods/Manifest.lock +2 -2
- data/Example/Pods/Pods.xcodeproj/project.pbxproj +118 -118
- data/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AppGroup.xcscheme +10 -12
- data/Example/Pods/Target Support Files/AppGroup/AppGroup.xcconfig +5 -1
- data/Example/Pods/Target Support Files/Pods/Pods-frameworks.sh +45 -13
- data/Example/Pods/Target Support Files/Pods/Pods-resources.sh +1 -1
- data/lib/cocoapods/app_group/hook.rb +5 -0
- data/lib/cocoapods/app_group/setup_xcconfig.rb +29 -0
- data/lib/cocoapods/app_group/version.rb +1 -1
- data/lib/cocoapods/app_group.rb +1 -0
- data/templates/AppGroup.podspec.json +0 -3
- metadata +3 -3
- data/Example/Pods/Target Support Files/AppGroup/AppGroup-Private.xcconfig +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6592a92766d2fe0b1cb77d63540ffb0126590191
|
4
|
+
data.tar.gz: a7f2398d23fa323d0366371c13f1431c75956c45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad131c5d14e60154f7e0909c8d3f6eb81e9f7ce3cc97b88b7dfa93d734bcf757c66a662b9324cb71728eff2179bba5778a6d9ed9b90136715f1a11096b6ff2ae
|
7
|
+
data.tar.gz: 1bae00f44af6a30da2ba1f7dbeacb790dac933738331ecbae2978546e8792819d291611fd7c4f7fd577f5bc551082e06eee35ef9f075842819abf29013087d27
|
@@ -17,7 +17,7 @@
|
|
17
17
|
13B0AC041BB0070000891E04 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 13B0AC021BB0070000891E04 /* Main.storyboard */; };
|
18
18
|
13B0AC061BB0070000891E04 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B0AC051BB0070000891E04 /* Assets.xcassets */; };
|
19
19
|
13B0AC091BB0070000891E04 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 13B0AC071BB0070000891E04 /* LaunchScreen.storyboard */; };
|
20
|
-
937CD733906146B1DC831873 /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FD6BD77BA502B60328353F51 /* Pods.framework */;
|
20
|
+
937CD733906146B1DC831873 /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FD6BD77BA502B60328353F51 /* Pods.framework */; };
|
21
21
|
/* End PBXBuildFile section */
|
22
22
|
|
23
23
|
/* Begin PBXFileReference section */
|
data/Example/Podfile.lock
CHANGED
@@ -9,6 +9,6 @@ EXTERNAL SOURCES:
|
|
9
9
|
:path: "/Users/mzp/git/cocoapods-app_group/Example/Pods/CocoaPodsAppGroup/"
|
10
10
|
|
11
11
|
SPEC CHECKSUMS:
|
12
|
-
AppGroup:
|
12
|
+
AppGroup: 4b6211685d3b66af33e0a6717ec23ec1183fa824
|
13
13
|
|
14
|
-
COCOAPODS: 0.
|
14
|
+
COCOAPODS: 0.39.0
|
@@ -15,6 +15,11 @@ static NSString * const kAppIdentifier = @"jp.mzp.app_group.example";
|
|
15
15
|
return [containerPath stringByAppendingPathComponent:subpath];
|
16
16
|
}
|
17
17
|
|
18
|
+
+ (NSURL *)urlForResource:(NSString *)subpath {
|
19
|
+
NSURL *container = [[NSFileManager defaultManager] containerURLForSecurityApplicationGroupIdentifier:[self appGroupID]];
|
20
|
+
return [container URLByAppendingPathComponent:subpath];
|
21
|
+
}
|
22
|
+
|
18
23
|
+ (NSUserDefaults*)userDefaults
|
19
24
|
{
|
20
25
|
return [[NSUserDefaults alloc] initWithSuiteName: [self appGroupID]];
|
@@ -13,10 +13,7 @@
|
|
13
13
|
},
|
14
14
|
"source": {
|
15
15
|
"git": "https://github.com/mzp/cocoapods-app_group.git",
|
16
|
-
"tag": "0.
|
17
|
-
},
|
18
|
-
"user_target_xcconfig": {
|
19
|
-
"APP_IDENTIFIER": "jp.mzp.app_group.example"
|
16
|
+
"tag": "0.2.0"
|
20
17
|
},
|
21
18
|
"source_files": "*.{h,m,swift}",
|
22
19
|
"frameworks": "Foundation",
|
@@ -13,10 +13,7 @@
|
|
13
13
|
},
|
14
14
|
"source": {
|
15
15
|
"git": "https://github.com/mzp/cocoapods-app_group.git",
|
16
|
-
"tag": "0.
|
17
|
-
},
|
18
|
-
"user_target_xcconfig": {
|
19
|
-
"APP_IDENTIFIER": "jp.mzp.app_group.example"
|
16
|
+
"tag": "0.2.0"
|
20
17
|
},
|
21
18
|
"source_files": "*.{h,m,swift}",
|
22
19
|
"frameworks": "Foundation",
|
data/Example/Pods/Manifest.lock
CHANGED
@@ -9,6 +9,6 @@ EXTERNAL SOURCES:
|
|
9
9
|
:path: "/Users/mzp/git/cocoapods-app_group/Example/Pods/CocoaPodsAppGroup/"
|
10
10
|
|
11
11
|
SPEC CHECKSUMS:
|
12
|
-
AppGroup:
|
12
|
+
AppGroup: 4b6211685d3b66af33e0a6717ec23ec1183fa824
|
13
13
|
|
14
|
-
COCOAPODS: 0.
|
14
|
+
COCOAPODS: 0.39.0
|
@@ -7,86 +7,91 @@
|
|
7
7
|
objects = {
|
8
8
|
|
9
9
|
/* Begin PBXBuildFile section */
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
10
|
+
3C61FC7B1056239DAEEDB60836CF750C /* AppGroup-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 46CB9220593ED136392B50F9B2449208 /* AppGroup-dummy.m */; };
|
11
|
+
522A0C6A4591B9D180C5958AE0DA3405 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */; };
|
12
|
+
7F82CC0D7C200DB73C1871BD8C6595C2 /* AppGroup-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6F6E52E53EAEDE05DBCA4A9F0F52274E /* AppGroup-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
13
|
+
8909900473626FB796A4D6BCA4EC9BD3 /* Pods-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 894E5DA93A9F359521A89826BE6DA777 /* Pods-dummy.m */; };
|
14
|
+
B105655FFD190ED5C40F511FDEC62C19 /* Pods-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 2BCC458FDD5F692BBB2BFC64BB5701FC /* Pods-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
15
|
+
C0F50769506A3F933FA6F8A45A4E6849 /* AppGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 67C409E8FA5504684F61DF7EDB32D110 /* AppGroup.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
|
16
|
+
F26FDDF3E9324D54B51082201B80EE56 /* AppGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 86B6DF29370D4A3912633BD46246D669 /* AppGroup.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
17
|
+
F9AD5A66449BC1E35D7BC94C1143D7FE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */; };
|
18
18
|
/* End PBXBuildFile section */
|
19
19
|
|
20
20
|
/* Begin PBXContainerItemProxy section */
|
21
|
-
|
21
|
+
92A2475E0DC4F6E1BB876D21F2B878B1 /* PBXContainerItemProxy */ = {
|
22
22
|
isa = PBXContainerItemProxy;
|
23
23
|
containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
|
24
24
|
proxyType = 1;
|
25
|
-
remoteGlobalIDString =
|
25
|
+
remoteGlobalIDString = 99B3867CDCDCFEB99944E54EF6DD76F9;
|
26
26
|
remoteInfo = AppGroup;
|
27
27
|
};
|
28
28
|
/* End PBXContainerItemProxy section */
|
29
29
|
|
30
30
|
/* Begin PBXFileReference section */
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
6CC5AC22726F33FE9B33CA509B77E762 /* AppGroup-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AppGroup-prefix.pch"; sourceTree = "<group>"; };
|
31
|
+
209007F5BAA4CBB4A28E8CF194BAEA49 /* AppGroup.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = AppGroup.modulemap; sourceTree = "<group>"; };
|
32
|
+
2BCC458FDD5F692BBB2BFC64BB5701FC /* Pods-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-umbrella.h"; sourceTree = "<group>"; };
|
33
|
+
3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
|
34
|
+
415D4474FF7899FDD6D3BB5CC13B5CCF /* AppGroup.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AppGroup.xcconfig; sourceTree = "<group>"; };
|
35
|
+
46CB9220593ED136392B50F9B2449208 /* AppGroup-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "AppGroup-dummy.m"; sourceTree = "<group>"; };
|
36
|
+
5B8847B84F99A40FDFFA1B2E90A5ACC6 /* AppGroup-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AppGroup-prefix.pch"; sourceTree = "<group>"; };
|
37
|
+
67C409E8FA5504684F61DF7EDB32D110 /* AppGroup.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = AppGroup.m; sourceTree = "<group>"; };
|
38
|
+
6F6E52E53EAEDE05DBCA4A9F0F52274E /* AppGroup-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AppGroup-umbrella.h"; sourceTree = "<group>"; };
|
40
39
|
79A9DEDC89FE8336BF5FEDAAF75BF7FC /* Pods.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Pods.modulemap; sourceTree = "<group>"; };
|
40
|
+
86B6DF29370D4A3912633BD46246D669 /* AppGroup.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = AppGroup.h; sourceTree = "<group>"; };
|
41
41
|
87B213035BAC5F75386F62D3C75D2342 /* Pods-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-acknowledgements.plist"; sourceTree = "<group>"; };
|
42
|
-
|
42
|
+
894E5DA93A9F359521A89826BE6DA777 /* Pods-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-dummy.m"; sourceTree = "<group>"; };
|
43
|
+
8B1898B81CCD5511B07395424941A3BE /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
44
|
+
8FC33B80C48D9C75D478DCAA802A4186 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
45
|
+
977577C045EDA9D9D1F46E2598D19FC7 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.debug.xcconfig; sourceTree = "<group>"; };
|
43
46
|
BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
|
44
|
-
BAEAA14FA87579D3A715AD3E7C7198B1 /* AppGroup.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = AppGroup.modulemap; sourceTree = "<group>"; };
|
45
47
|
CBC0F7C552B739C909B650A0F42F7F38 /* Pods-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-resources.sh"; sourceTree = "<group>"; };
|
46
48
|
D0405803033A2A777B8E4DFA0C1800ED /* Pods-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-acknowledgements.markdown"; sourceTree = "<group>"; };
|
47
|
-
|
48
|
-
|
49
|
+
DA312349A49333542E6F4B36B329960E /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.release.xcconfig; sourceTree = "<group>"; };
|
50
|
+
E7A6ADAFF1D44F709BF7E801FECB7DBA /* AppGroup.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AppGroup.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
49
51
|
E7F21354943D9F42A70697D5A5EF72E9 /* Pods-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-frameworks.sh"; sourceTree = "<group>"; };
|
50
52
|
E8446514FBAD26C0E18F24A5715AEF67 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
51
|
-
EC8387C335282CB9C7C5E91903765167 /* AppGroup-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AppGroup-umbrella.h"; sourceTree = "<group>"; };
|
52
|
-
F712AD28BC3FC276FE986479609DB9D7 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.release.xcconfig; sourceTree = "<group>"; };
|
53
|
-
FA759AB25C34C75D30420684C7977ED4 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
54
53
|
/* End PBXFileReference section */
|
55
54
|
|
56
55
|
/* Begin PBXFrameworksBuildPhase section */
|
57
|
-
|
56
|
+
4519AB8D0B46C4D8CAE2D26DA8CF9DE6 /* Frameworks */ = {
|
58
57
|
isa = PBXFrameworksBuildPhase;
|
59
58
|
buildActionMask = 2147483647;
|
60
59
|
files = (
|
61
|
-
|
60
|
+
F9AD5A66449BC1E35D7BC94C1143D7FE /* Foundation.framework in Frameworks */,
|
62
61
|
);
|
63
62
|
runOnlyForDeploymentPostprocessing = 0;
|
64
63
|
};
|
65
|
-
|
64
|
+
F62CEA57AF5EFABA84F52BE4A3242FEE /* Frameworks */ = {
|
66
65
|
isa = PBXFrameworksBuildPhase;
|
67
66
|
buildActionMask = 2147483647;
|
68
67
|
files = (
|
69
|
-
|
68
|
+
522A0C6A4591B9D180C5958AE0DA3405 /* Foundation.framework in Frameworks */,
|
70
69
|
);
|
71
70
|
runOnlyForDeploymentPostprocessing = 0;
|
72
71
|
};
|
73
72
|
/* End PBXFrameworksBuildPhase section */
|
74
73
|
|
75
74
|
/* Begin PBXGroup section */
|
76
|
-
|
75
|
+
1FBE542F8758A37A2C65EC791BC5D32C /* Support Files */ = {
|
77
76
|
isa = PBXGroup;
|
78
77
|
children = (
|
79
|
-
|
78
|
+
209007F5BAA4CBB4A28E8CF194BAEA49 /* AppGroup.modulemap */,
|
79
|
+
415D4474FF7899FDD6D3BB5CC13B5CCF /* AppGroup.xcconfig */,
|
80
|
+
46CB9220593ED136392B50F9B2449208 /* AppGroup-dummy.m */,
|
81
|
+
5B8847B84F99A40FDFFA1B2E90A5ACC6 /* AppGroup-prefix.pch */,
|
82
|
+
6F6E52E53EAEDE05DBCA4A9F0F52274E /* AppGroup-umbrella.h */,
|
83
|
+
8FC33B80C48D9C75D478DCAA802A4186 /* Info.plist */,
|
80
84
|
);
|
81
|
-
name = "
|
85
|
+
name = "Support Files";
|
86
|
+
path = "../Target Support Files/AppGroup";
|
82
87
|
sourceTree = "<group>";
|
83
88
|
};
|
84
|
-
|
89
|
+
28801B4CF2DD6E024676F1CF8C309D2F /* Development Pods */ = {
|
85
90
|
isa = PBXGroup;
|
86
91
|
children = (
|
87
|
-
|
92
|
+
E2DCFE4CB5200D4D60532F3893AC7067 /* AppGroup */,
|
88
93
|
);
|
89
|
-
name =
|
94
|
+
name = "Development Pods";
|
90
95
|
sourceTree = "<group>";
|
91
96
|
};
|
92
97
|
75D98FF52E597A11900E131B6C4E1ADA /* Pods */ = {
|
@@ -96,12 +101,12 @@
|
|
96
101
|
79A9DEDC89FE8336BF5FEDAAF75BF7FC /* Pods.modulemap */,
|
97
102
|
D0405803033A2A777B8E4DFA0C1800ED /* Pods-acknowledgements.markdown */,
|
98
103
|
87B213035BAC5F75386F62D3C75D2342 /* Pods-acknowledgements.plist */,
|
99
|
-
|
104
|
+
894E5DA93A9F359521A89826BE6DA777 /* Pods-dummy.m */,
|
100
105
|
E7F21354943D9F42A70697D5A5EF72E9 /* Pods-frameworks.sh */,
|
101
106
|
CBC0F7C552B739C909B650A0F42F7F38 /* Pods-resources.sh */,
|
102
|
-
|
103
|
-
|
104
|
-
|
107
|
+
2BCC458FDD5F692BBB2BFC64BB5701FC /* Pods-umbrella.h */,
|
108
|
+
977577C045EDA9D9D1F46E2598D19FC7 /* Pods.debug.xcconfig */,
|
109
|
+
DA312349A49333542E6F4B36B329960E /* Pods.release.xcconfig */,
|
105
110
|
);
|
106
111
|
name = Pods;
|
107
112
|
path = "Target Support Files/Pods";
|
@@ -113,22 +118,11 @@
|
|
113
118
|
BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */,
|
114
119
|
28801B4CF2DD6E024676F1CF8C309D2F /* Development Pods */,
|
115
120
|
BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */,
|
116
|
-
|
121
|
+
DC929004F4E05867820AA9A5F5AC395A /* Products */,
|
117
122
|
B7B80995527643776607AFFA75B91E24 /* Targets Support Files */,
|
118
123
|
);
|
119
124
|
sourceTree = "<group>";
|
120
125
|
};
|
121
|
-
994A85FB2EA7E914981B8FB027F4468E /* AppGroup */ = {
|
122
|
-
isa = PBXGroup;
|
123
|
-
children = (
|
124
|
-
297536146539FEA76D2716FCBD3F6AF7 /* AppGroup.h */,
|
125
|
-
D7EAFF466E1ED5B48385171665A70EDB /* AppGroup.m */,
|
126
|
-
F0EB86B71341C192C7C499BA24067942 /* Support Files */,
|
127
|
-
);
|
128
|
-
name = AppGroup;
|
129
|
-
path = "/Users/mzp/git/cocoapods-app_group/Example/Pods/CocoaPodsAppGroup";
|
130
|
-
sourceTree = "<absolute>";
|
131
|
-
};
|
132
126
|
B7B80995527643776607AFFA75B91E24 /* Targets Support Files */ = {
|
133
127
|
isa = PBXGroup;
|
134
128
|
children = (
|
@@ -140,83 +134,87 @@
|
|
140
134
|
BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = {
|
141
135
|
isa = PBXGroup;
|
142
136
|
children = (
|
143
|
-
|
137
|
+
BF6342C8B29F4CEEA088EFF7AB4DE362 /* iOS */,
|
144
138
|
);
|
145
139
|
name = Frameworks;
|
146
140
|
sourceTree = "<group>";
|
147
141
|
};
|
148
|
-
|
142
|
+
BF6342C8B29F4CEEA088EFF7AB4DE362 /* iOS */ = {
|
149
143
|
isa = PBXGroup;
|
150
144
|
children = (
|
151
|
-
|
152
|
-
3301FCE4A72CF0604B2D68D49E30128B /* Pods.framework */,
|
145
|
+
3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */,
|
153
146
|
);
|
154
|
-
name =
|
147
|
+
name = iOS;
|
155
148
|
sourceTree = "<group>";
|
156
149
|
};
|
157
|
-
|
150
|
+
DC929004F4E05867820AA9A5F5AC395A /* Products */ = {
|
158
151
|
isa = PBXGroup;
|
159
152
|
children = (
|
160
|
-
|
161
|
-
|
162
|
-
43EF211F5B1C631DC302C47E9B52E6F4 /* AppGroup-Private.xcconfig */,
|
163
|
-
DD6E4503E182D0FFC00CABC337C7D2CE /* AppGroup-dummy.m */,
|
164
|
-
6CC5AC22726F33FE9B33CA509B77E762 /* AppGroup-prefix.pch */,
|
165
|
-
EC8387C335282CB9C7C5E91903765167 /* AppGroup-umbrella.h */,
|
166
|
-
FA759AB25C34C75D30420684C7977ED4 /* Info.plist */,
|
153
|
+
E7A6ADAFF1D44F709BF7E801FECB7DBA /* AppGroup.framework */,
|
154
|
+
8B1898B81CCD5511B07395424941A3BE /* Pods.framework */,
|
167
155
|
);
|
168
|
-
name =
|
169
|
-
path = "../Target Support Files/AppGroup";
|
156
|
+
name = Products;
|
170
157
|
sourceTree = "<group>";
|
171
158
|
};
|
159
|
+
E2DCFE4CB5200D4D60532F3893AC7067 /* AppGroup */ = {
|
160
|
+
isa = PBXGroup;
|
161
|
+
children = (
|
162
|
+
86B6DF29370D4A3912633BD46246D669 /* AppGroup.h */,
|
163
|
+
67C409E8FA5504684F61DF7EDB32D110 /* AppGroup.m */,
|
164
|
+
1FBE542F8758A37A2C65EC791BC5D32C /* Support Files */,
|
165
|
+
);
|
166
|
+
name = AppGroup;
|
167
|
+
path = "/Users/mzp/git/cocoapods-app_group/Example/Pods/CocoaPodsAppGroup";
|
168
|
+
sourceTree = "<absolute>";
|
169
|
+
};
|
172
170
|
/* End PBXGroup section */
|
173
171
|
|
174
172
|
/* Begin PBXHeadersBuildPhase section */
|
175
|
-
|
173
|
+
53C1FA977BE17E8E1448A6B6A21D4F77 /* Headers */ = {
|
176
174
|
isa = PBXHeadersBuildPhase;
|
177
175
|
buildActionMask = 2147483647;
|
178
176
|
files = (
|
179
|
-
|
180
|
-
3E65DBB6B773345AFF43EF898C23EC8C /* AppGroup.h in Headers */,
|
177
|
+
B105655FFD190ED5C40F511FDEC62C19 /* Pods-umbrella.h in Headers */,
|
181
178
|
);
|
182
179
|
runOnlyForDeploymentPostprocessing = 0;
|
183
180
|
};
|
184
|
-
|
181
|
+
60C96AE8066D3003117F9693DEBCFA0F /* Headers */ = {
|
185
182
|
isa = PBXHeadersBuildPhase;
|
186
183
|
buildActionMask = 2147483647;
|
187
184
|
files = (
|
188
|
-
|
185
|
+
7F82CC0D7C200DB73C1871BD8C6595C2 /* AppGroup-umbrella.h in Headers */,
|
186
|
+
F26FDDF3E9324D54B51082201B80EE56 /* AppGroup.h in Headers */,
|
189
187
|
);
|
190
188
|
runOnlyForDeploymentPostprocessing = 0;
|
191
189
|
};
|
192
190
|
/* End PBXHeadersBuildPhase section */
|
193
191
|
|
194
192
|
/* Begin PBXNativeTarget section */
|
195
|
-
|
193
|
+
74625B57E7EE67108E6EA54AE0CE6930 /* Pods */ = {
|
196
194
|
isa = PBXNativeTarget;
|
197
|
-
buildConfigurationList =
|
195
|
+
buildConfigurationList = A50878E456D706C20FE098258E5130D1 /* Build configuration list for PBXNativeTarget "Pods" */;
|
198
196
|
buildPhases = (
|
199
|
-
|
200
|
-
|
201
|
-
|
197
|
+
46A26E4E281E983E60302713FE3EA428 /* Sources */,
|
198
|
+
4519AB8D0B46C4D8CAE2D26DA8CF9DE6 /* Frameworks */,
|
199
|
+
53C1FA977BE17E8E1448A6B6A21D4F77 /* Headers */,
|
202
200
|
);
|
203
201
|
buildRules = (
|
204
202
|
);
|
205
203
|
dependencies = (
|
206
|
-
|
204
|
+
EFAB7F1BF35F6E1AD634F816777460BD /* PBXTargetDependency */,
|
207
205
|
);
|
208
206
|
name = Pods;
|
209
207
|
productName = Pods;
|
210
|
-
productReference =
|
208
|
+
productReference = 8B1898B81CCD5511B07395424941A3BE /* Pods.framework */;
|
211
209
|
productType = "com.apple.product-type.framework";
|
212
210
|
};
|
213
|
-
|
211
|
+
99B3867CDCDCFEB99944E54EF6DD76F9 /* AppGroup */ = {
|
214
212
|
isa = PBXNativeTarget;
|
215
|
-
buildConfigurationList =
|
213
|
+
buildConfigurationList = 76B25CCD363ABC6A55531F9743CE2D68 /* Build configuration list for PBXNativeTarget "AppGroup" */;
|
216
214
|
buildPhases = (
|
217
|
-
|
218
|
-
|
219
|
-
|
215
|
+
EE4E6794F4C8BF4D200EEF96BD52E775 /* Sources */,
|
216
|
+
F62CEA57AF5EFABA84F52BE4A3242FEE /* Frameworks */,
|
217
|
+
60C96AE8066D3003117F9693DEBCFA0F /* Headers */,
|
220
218
|
);
|
221
219
|
buildRules = (
|
222
220
|
);
|
@@ -224,7 +222,7 @@
|
|
224
222
|
);
|
225
223
|
name = AppGroup;
|
226
224
|
productName = AppGroup;
|
227
|
-
productReference =
|
225
|
+
productReference = E7A6ADAFF1D44F709BF7E801FECB7DBA /* AppGroup.framework */;
|
228
226
|
productType = "com.apple.product-type.framework";
|
229
227
|
};
|
230
228
|
/* End PBXNativeTarget section */
|
@@ -244,49 +242,49 @@
|
|
244
242
|
en,
|
245
243
|
);
|
246
244
|
mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
|
247
|
-
productRefGroup =
|
245
|
+
productRefGroup = DC929004F4E05867820AA9A5F5AC395A /* Products */;
|
248
246
|
projectDirPath = "";
|
249
247
|
projectRoot = "";
|
250
248
|
targets = (
|
251
|
-
|
252
|
-
|
249
|
+
99B3867CDCDCFEB99944E54EF6DD76F9 /* AppGroup */,
|
250
|
+
74625B57E7EE67108E6EA54AE0CE6930 /* Pods */,
|
253
251
|
);
|
254
252
|
};
|
255
253
|
/* End PBXProject section */
|
256
254
|
|
257
255
|
/* Begin PBXSourcesBuildPhase section */
|
258
|
-
|
256
|
+
46A26E4E281E983E60302713FE3EA428 /* Sources */ = {
|
259
257
|
isa = PBXSourcesBuildPhase;
|
260
258
|
buildActionMask = 2147483647;
|
261
259
|
files = (
|
262
|
-
|
260
|
+
8909900473626FB796A4D6BCA4EC9BD3 /* Pods-dummy.m in Sources */,
|
263
261
|
);
|
264
262
|
runOnlyForDeploymentPostprocessing = 0;
|
265
263
|
};
|
266
|
-
|
264
|
+
EE4E6794F4C8BF4D200EEF96BD52E775 /* Sources */ = {
|
267
265
|
isa = PBXSourcesBuildPhase;
|
268
266
|
buildActionMask = 2147483647;
|
269
267
|
files = (
|
270
|
-
|
271
|
-
|
268
|
+
3C61FC7B1056239DAEEDB60836CF750C /* AppGroup-dummy.m in Sources */,
|
269
|
+
C0F50769506A3F933FA6F8A45A4E6849 /* AppGroup.m in Sources */,
|
272
270
|
);
|
273
271
|
runOnlyForDeploymentPostprocessing = 0;
|
274
272
|
};
|
275
273
|
/* End PBXSourcesBuildPhase section */
|
276
274
|
|
277
275
|
/* Begin PBXTargetDependency section */
|
278
|
-
|
276
|
+
EFAB7F1BF35F6E1AD634F816777460BD /* PBXTargetDependency */ = {
|
279
277
|
isa = PBXTargetDependency;
|
280
278
|
name = AppGroup;
|
281
|
-
target =
|
282
|
-
targetProxy =
|
279
|
+
target = 99B3867CDCDCFEB99944E54EF6DD76F9 /* AppGroup */;
|
280
|
+
targetProxy = 92A2475E0DC4F6E1BB876D21F2B878B1 /* PBXContainerItemProxy */;
|
283
281
|
};
|
284
282
|
/* End PBXTargetDependency section */
|
285
283
|
|
286
284
|
/* Begin XCBuildConfiguration section */
|
287
|
-
|
285
|
+
44E004C7705F0F1216F3BECE718FBBBD /* Debug */ = {
|
288
286
|
isa = XCBuildConfiguration;
|
289
|
-
baseConfigurationReference =
|
287
|
+
baseConfigurationReference = 977577C045EDA9D9D1F46E2598D19FC7 /* Pods.debug.xcconfig */;
|
290
288
|
buildSettings = {
|
291
289
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
292
290
|
CURRENT_PROJECT_VERSION = 1;
|
@@ -299,6 +297,7 @@
|
|
299
297
|
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
300
298
|
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
301
299
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
300
|
+
MACH_O_TYPE = staticlib;
|
302
301
|
MODULEMAP_FILE = "Target Support Files/Pods/Pods.modulemap";
|
303
302
|
MTL_ENABLE_DEBUG_INFO = YES;
|
304
303
|
OTHER_LDFLAGS = "";
|
@@ -313,15 +312,15 @@
|
|
313
312
|
};
|
314
313
|
name = Debug;
|
315
314
|
};
|
316
|
-
|
315
|
+
713F8B0BB1E204A0E50C3B5F840E965E /* Release */ = {
|
317
316
|
isa = XCBuildConfiguration;
|
318
|
-
baseConfigurationReference =
|
317
|
+
baseConfigurationReference = 415D4474FF7899FDD6D3BB5CC13B5CCF /* AppGroup.xcconfig */;
|
319
318
|
buildSettings = {
|
320
319
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
321
|
-
CURRENT_PROJECT_VERSION = 1
|
320
|
+
CURRENT_PROJECT_VERSION = 1;
|
322
321
|
DEFINES_MODULE = YES;
|
323
322
|
DYLIB_COMPATIBILITY_VERSION = 1;
|
324
|
-
DYLIB_CURRENT_VERSION =
|
323
|
+
DYLIB_CURRENT_VERSION = 1;
|
325
324
|
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
326
325
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
327
326
|
GCC_PREFIX_HEADER = "Target Support Files/AppGroup/AppGroup-prefix.pch";
|
@@ -330,7 +329,7 @@
|
|
330
329
|
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
331
330
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
332
331
|
MODULEMAP_FILE = "Target Support Files/AppGroup/AppGroup.modulemap";
|
333
|
-
MTL_ENABLE_DEBUG_INFO =
|
332
|
+
MTL_ENABLE_DEBUG_INFO = NO;
|
334
333
|
PRODUCT_NAME = AppGroup;
|
335
334
|
SDKROOT = iphoneos;
|
336
335
|
SKIP_INSTALL = YES;
|
@@ -338,7 +337,7 @@
|
|
338
337
|
VERSIONING_SYSTEM = "apple-generic";
|
339
338
|
VERSION_INFO_PREFIX = "";
|
340
339
|
};
|
341
|
-
name =
|
340
|
+
name = Release;
|
342
341
|
};
|
343
342
|
A70CDAD61F90AC503C7D04CC22DA2923 /* Debug */ = {
|
344
343
|
isa = XCBuildConfiguration;
|
@@ -379,15 +378,15 @@
|
|
379
378
|
};
|
380
379
|
name = Debug;
|
381
380
|
};
|
382
|
-
|
381
|
+
D93529267EF77C85958283F7243104C2 /* Debug */ = {
|
383
382
|
isa = XCBuildConfiguration;
|
384
|
-
baseConfigurationReference =
|
383
|
+
baseConfigurationReference = 415D4474FF7899FDD6D3BB5CC13B5CCF /* AppGroup.xcconfig */;
|
385
384
|
buildSettings = {
|
386
385
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
387
|
-
CURRENT_PROJECT_VERSION = 1
|
386
|
+
CURRENT_PROJECT_VERSION = 1;
|
388
387
|
DEFINES_MODULE = YES;
|
389
388
|
DYLIB_COMPATIBILITY_VERSION = 1;
|
390
|
-
DYLIB_CURRENT_VERSION =
|
389
|
+
DYLIB_CURRENT_VERSION = 1;
|
391
390
|
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
392
391
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
393
392
|
GCC_PREFIX_HEADER = "Target Support Files/AppGroup/AppGroup-prefix.pch";
|
@@ -396,7 +395,7 @@
|
|
396
395
|
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
397
396
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
398
397
|
MODULEMAP_FILE = "Target Support Files/AppGroup/AppGroup.modulemap";
|
399
|
-
MTL_ENABLE_DEBUG_INFO =
|
398
|
+
MTL_ENABLE_DEBUG_INFO = YES;
|
400
399
|
PRODUCT_NAME = AppGroup;
|
401
400
|
SDKROOT = iphoneos;
|
402
401
|
SKIP_INSTALL = YES;
|
@@ -404,11 +403,11 @@
|
|
404
403
|
VERSIONING_SYSTEM = "apple-generic";
|
405
404
|
VERSION_INFO_PREFIX = "";
|
406
405
|
};
|
407
|
-
name =
|
406
|
+
name = Debug;
|
408
407
|
};
|
409
|
-
|
408
|
+
DBD4935419EDFAFF4D659AAF4994A163 /* Release */ = {
|
410
409
|
isa = XCBuildConfiguration;
|
411
|
-
baseConfigurationReference =
|
410
|
+
baseConfigurationReference = DA312349A49333542E6F4B36B329960E /* Pods.release.xcconfig */;
|
412
411
|
buildSettings = {
|
413
412
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
414
413
|
CURRENT_PROJECT_VERSION = 1;
|
@@ -421,6 +420,7 @@
|
|
421
420
|
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
422
421
|
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
423
422
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
423
|
+
MACH_O_TYPE = staticlib;
|
424
424
|
MODULEMAP_FILE = "Target Support Files/Pods/Pods.modulemap";
|
425
425
|
MTL_ENABLE_DEBUG_INFO = NO;
|
426
426
|
OTHER_LDFLAGS = "";
|
@@ -481,20 +481,20 @@
|
|
481
481
|
defaultConfigurationIsVisible = 0;
|
482
482
|
defaultConfigurationName = Release;
|
483
483
|
};
|
484
|
-
|
484
|
+
76B25CCD363ABC6A55531F9743CE2D68 /* Build configuration list for PBXNativeTarget "AppGroup" */ = {
|
485
485
|
isa = XCConfigurationList;
|
486
486
|
buildConfigurations = (
|
487
|
-
|
488
|
-
|
487
|
+
D93529267EF77C85958283F7243104C2 /* Debug */,
|
488
|
+
713F8B0BB1E204A0E50C3B5F840E965E /* Release */,
|
489
489
|
);
|
490
490
|
defaultConfigurationIsVisible = 0;
|
491
491
|
defaultConfigurationName = Release;
|
492
492
|
};
|
493
|
-
|
493
|
+
A50878E456D706C20FE098258E5130D1 /* Build configuration list for PBXNativeTarget "Pods" */ = {
|
494
494
|
isa = XCConfigurationList;
|
495
495
|
buildConfigurations = (
|
496
|
-
|
497
|
-
|
496
|
+
44E004C7705F0F1216F3BECE718FBBBD /* Debug */,
|
497
|
+
DBD4935419EDFAFF4D659AAF4994A163 /* Release */,
|
498
498
|
);
|
499
499
|
defaultConfigurationIsVisible = 0;
|
500
500
|
defaultConfigurationName = Release;
|
@@ -7,17 +7,17 @@
|
|
7
7
|
buildImplicitDependencies = "YES">
|
8
8
|
<BuildActionEntries>
|
9
9
|
<BuildActionEntry
|
10
|
+
buildForAnalyzing = "YES"
|
10
11
|
buildForTesting = "YES"
|
11
12
|
buildForRunning = "YES"
|
12
13
|
buildForProfiling = "YES"
|
13
|
-
buildForArchiving = "YES"
|
14
|
-
buildForAnalyzing = "YES">
|
14
|
+
buildForArchiving = "YES">
|
15
15
|
<BuildableReference
|
16
|
-
BuildableIdentifier =
|
17
|
-
BlueprintIdentifier =
|
18
|
-
|
19
|
-
|
20
|
-
|
16
|
+
BuildableIdentifier = 'primary'
|
17
|
+
BlueprintIdentifier = 'AE0A5B9ECA1300A41074C226'
|
18
|
+
BlueprintName = 'AppGroup'
|
19
|
+
ReferencedContainer = 'container:Pods.xcodeproj'
|
20
|
+
BuildableName = 'AppGroup.framework'>
|
21
21
|
</BuildableReference>
|
22
22
|
</BuildActionEntry>
|
23
23
|
</BuildActionEntries>
|
@@ -29,28 +29,26 @@
|
|
29
29
|
buildConfiguration = "Debug">
|
30
30
|
<AdditionalOptions>
|
31
31
|
</AdditionalOptions>
|
32
|
-
<Testables>
|
33
|
-
</Testables>
|
34
32
|
</TestAction>
|
35
33
|
<LaunchAction
|
36
34
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
37
35
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
38
36
|
launchStyle = "0"
|
39
37
|
useCustomWorkingDirectory = "NO"
|
40
|
-
buildConfiguration = "Debug"
|
41
38
|
ignoresPersistentStateOnLaunch = "NO"
|
42
39
|
debugDocumentVersioning = "YES"
|
43
40
|
debugServiceExtension = "internal"
|
41
|
+
buildConfiguration = "Debug"
|
44
42
|
allowLocationSimulation = "YES">
|
45
43
|
<AdditionalOptions>
|
46
44
|
</AdditionalOptions>
|
47
45
|
</LaunchAction>
|
48
46
|
<ProfileAction
|
49
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
50
47
|
savedToolIdentifier = ""
|
51
48
|
useCustomWorkingDirectory = "NO"
|
49
|
+
debugDocumentVersioning = "YES"
|
52
50
|
buildConfiguration = "Release"
|
53
|
-
|
51
|
+
shouldUseLaunchSchemeArgsEnv = "YES">
|
54
52
|
</ProfileAction>
|
55
53
|
<AnalyzeAction
|
56
54
|
buildConfiguration = "Debug">
|
@@ -1 +1,5 @@
|
|
1
|
-
|
1
|
+
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
2
|
+
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AppGroup" "${PODS_ROOT}/Headers/Public"
|
3
|
+
OTHER_LDFLAGS = -framework "Foundation"
|
4
|
+
PODS_ROOT = ${SRCROOT}
|
5
|
+
SKIP_INSTALL = YES
|
@@ -10,8 +10,10 @@ install_framework()
|
|
10
10
|
{
|
11
11
|
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
|
12
12
|
local source="${BUILT_PRODUCTS_DIR}/$1"
|
13
|
-
|
13
|
+
elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
|
14
14
|
local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
|
15
|
+
elif [ -r "$1" ]; then
|
16
|
+
local source="$1"
|
15
17
|
fi
|
16
18
|
|
17
19
|
local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
@@ -25,19 +27,31 @@ install_framework()
|
|
25
27
|
echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
|
26
28
|
rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
|
27
29
|
|
30
|
+
local basename
|
31
|
+
basename="$(basename -s .framework "$1")"
|
32
|
+
binary="${destination}/${basename}.framework/${basename}"
|
33
|
+
if ! [ -r "$binary" ]; then
|
34
|
+
binary="${destination}/${basename}"
|
35
|
+
fi
|
36
|
+
|
37
|
+
# Strip invalid architectures so "fat" simulator / device frameworks work on device
|
38
|
+
if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
|
39
|
+
strip_invalid_archs "$binary"
|
40
|
+
fi
|
41
|
+
|
28
42
|
# Resign the code if required by the build settings to avoid unstable apps
|
29
43
|
code_sign_if_enabled "${destination}/$(basename "$1")"
|
30
44
|
|
31
|
-
# Embed linked Swift runtime libraries
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
45
|
+
# Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
|
46
|
+
if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
|
47
|
+
local swift_runtime_libs
|
48
|
+
swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]})
|
49
|
+
for lib in $swift_runtime_libs; do
|
50
|
+
echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
|
51
|
+
rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
|
52
|
+
code_sign_if_enabled "${destination}/${lib}"
|
53
|
+
done
|
54
|
+
fi
|
41
55
|
}
|
42
56
|
|
43
57
|
# Signs a framework with the provided identity
|
@@ -50,10 +64,28 @@ code_sign_if_enabled() {
|
|
50
64
|
fi
|
51
65
|
}
|
52
66
|
|
67
|
+
# Strip invalid architectures
|
68
|
+
strip_invalid_archs() {
|
69
|
+
binary="$1"
|
70
|
+
# Get architectures for current file
|
71
|
+
archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)"
|
72
|
+
stripped=""
|
73
|
+
for arch in $archs; do
|
74
|
+
if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then
|
75
|
+
# Strip non-valid architectures in-place
|
76
|
+
lipo -remove "$arch" -output "$binary" "$binary" || exit 1
|
77
|
+
stripped="$stripped $arch"
|
78
|
+
fi
|
79
|
+
done
|
80
|
+
if [[ "$stripped" ]]; then
|
81
|
+
echo "Stripped $binary of architectures:$stripped"
|
82
|
+
fi
|
83
|
+
}
|
84
|
+
|
53
85
|
|
54
86
|
if [[ "$CONFIGURATION" == "Debug" ]]; then
|
55
|
-
install_framework
|
87
|
+
install_framework "Pods/AppGroup.framework"
|
56
88
|
fi
|
57
89
|
if [[ "$CONFIGURATION" == "Release" ]]; then
|
58
|
-
install_framework
|
90
|
+
install_framework "Pods/AppGroup.framework"
|
59
91
|
fi
|
@@ -60,7 +60,7 @@ install_resource()
|
|
60
60
|
|
61
61
|
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
62
62
|
rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
63
|
-
if [[ "${ACTION}" == "install" ]]; then
|
63
|
+
if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
|
64
64
|
mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
65
65
|
rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
66
66
|
fi
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module CocoaPods
|
2
|
+
module AppGroup
|
3
|
+
class SetupXcconfig
|
4
|
+
def initialize(installer)
|
5
|
+
@installer = installer
|
6
|
+
end
|
7
|
+
|
8
|
+
def call
|
9
|
+
pod_targets.each do |target|
|
10
|
+
if target.name == 'AppGroup'
|
11
|
+
target.spec_consumers.first.spec.attributes_hash['user_target_xcconfig'] = {"APP_IDENTIFIER"=> store.read(:app_group)}
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
private
|
17
|
+
|
18
|
+
attr_reader :installer
|
19
|
+
|
20
|
+
def pod_targets
|
21
|
+
installer.pod_targets
|
22
|
+
end
|
23
|
+
|
24
|
+
def store
|
25
|
+
@store ||= Store.new
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
data/lib/cocoapods/app_group.rb
CHANGED
@@ -15,9 +15,6 @@
|
|
15
15
|
"git": "https://github.com/mzp/cocoapods-app_group.git",
|
16
16
|
"tag": "<%= Cocoapods::AppGroup::VERSION %>"
|
17
17
|
},
|
18
|
-
"user_target_xcconfig": {
|
19
|
-
"APP_IDENTIFIER": "<%= store.read :app_group %>"
|
20
|
-
},
|
21
18
|
"source_files": "*.{h,m,swift}",
|
22
19
|
"frameworks": "Foundation",
|
23
20
|
"requires_arc": true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-app_group
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mzp
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -88,7 +88,6 @@ files:
|
|
88
88
|
- Example/Pods/Manifest.lock
|
89
89
|
- Example/Pods/Pods.xcodeproj/project.pbxproj
|
90
90
|
- Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AppGroup.xcscheme
|
91
|
-
- Example/Pods/Target Support Files/AppGroup/AppGroup-Private.xcconfig
|
92
91
|
- Example/Pods/Target Support Files/AppGroup/AppGroup-dummy.m
|
93
92
|
- Example/Pods/Target Support Files/AppGroup/AppGroup-prefix.pch
|
94
93
|
- Example/Pods/Target Support Files/AppGroup/AppGroup-umbrella.h
|
@@ -123,6 +122,7 @@ files:
|
|
123
122
|
- lib/cocoapods/app_group.rb
|
124
123
|
- lib/cocoapods/app_group/hook.rb
|
125
124
|
- lib/cocoapods/app_group/setup.rb
|
125
|
+
- lib/cocoapods/app_group/setup_xcconfig.rb
|
126
126
|
- lib/cocoapods/app_group/store.rb
|
127
127
|
- lib/cocoapods/app_group/template.rb
|
128
128
|
- lib/cocoapods/app_group/version.rb
|
@@ -1,6 +0,0 @@
|
|
1
|
-
#include "AppGroup.xcconfig"
|
2
|
-
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
3
|
-
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AppGroup" "${PODS_ROOT}/Headers/Public"
|
4
|
-
OTHER_LDFLAGS = ${APPGROUP_OTHER_LDFLAGS}
|
5
|
-
PODS_ROOT = ${SRCROOT}
|
6
|
-
SKIP_INSTALL = YES
|