Skip to content

Commit c484c57

Browse files
committed
update podspec for CI with cocoapods
1 parent cff2da6 commit c484c57

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Parse.podspec

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ Pod::Spec.new do |s|
8888
s.pod_target_xcconfig = {
8989
'GENERATE_INFOPLIST_FILE' => 'YES'
9090
}
91+
# s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'x86_64 armv7 arm64' }
92+
# s.pod_target_xcconfig = { 'ONLY_ACTIVE_ARCH' => 'YES' }
9193
end
9294

9395
s.subspec 'FacebookUtils' do |s|
@@ -112,13 +114,17 @@ Pod::Spec.new do |s|
112114
s.dependency 'Bolts/Tasks', '1.9.1'
113115
s.dependency 'FBSDKCoreKit', '= 15.1.0'
114116
s.dependency 'FBSDKLoginKit', '= 15.1.0'
117+
s.dependency 'FBSDKCoreKit_Basics', '= 15.1.0'
115118
s.user_target_xcconfig = {
116119
'GENERATE_INFOPLIST_FILE' => 'YES'
117120
}
118121

119122
s.pod_target_xcconfig = {
120123
'GENERATE_INFOPLIST_FILE' => 'YES'
121124
}
125+
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'x86_64 armv7 arm64' }
126+
# s.pod_target_xcconfig = { 'ONLY_ACTIVE_ARCH' => 'YES' }
127+
# s.ios.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'iOS-arm64' }
122128
end
123129

124130
s.subspec 'FacebookUtils-iOS' do |s|
@@ -145,13 +151,17 @@ Pod::Spec.new do |s|
145151
s.dependency 'Bolts/Tasks', '1.9.1'
146152
s.dependency 'FBSDKCoreKit', '= 15.1.0'
147153
s.dependency 'FBSDKLoginKit', '= 15.1.0'
154+
s.dependency 'FBSDKCoreKit_Basics', '= 15.1.0'
148155
s.user_target_xcconfig = {
149156
'GENERATE_INFOPLIST_FILE' => 'YES'
150157
}
151158

152159
s.pod_target_xcconfig = {
153160
'GENERATE_INFOPLIST_FILE' => 'YES'
154161
}
162+
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'x86_64 armv7 arm64' }
163+
# s.pod_target_xcconfig = { 'ONLY_ACTIVE_ARCH' => 'YES' }
164+
# s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
155165
end
156166

157167
s.subspec 'FacebookUtils-tvOS' do |s|
@@ -176,13 +186,17 @@ Pod::Spec.new do |s|
176186
s.dependency 'Bolts/Tasks', '1.9.1'
177187
s.dependency 'FBSDKTVOSKit', '= 15.1.0'
178188
s.dependency 'FBSDKShareKit', '= 15.1.0'
189+
s.dependency 'FBSDKCoreKit_Basics', '= 15.1.0'
179190
s.user_target_xcconfig = {
180191
'GENERATE_INFOPLIST_FILE' => 'YES'
181192
}
182193

183194
s.pod_target_xcconfig = {
184195
'GENERATE_INFOPLIST_FILE' => 'YES'
185196
}
197+
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'x86_64 armv7 arm64' }
198+
# s.pod_target_xcconfig = { 'ONLY_ACTIVE_ARCH' => 'YES' }
199+
# s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
186200
end
187201

188202
s.subspec 'TwitterUtils' do |s|
@@ -211,6 +225,8 @@ Pod::Spec.new do |s|
211225
s.pod_target_xcconfig = {
212226
'GENERATE_INFOPLIST_FILE' => 'YES'
213227
}
228+
229+
s.pod_target_xcconfig = { 'ONLY_ACTIVE_ARCH' => 'YES' }
214230
end
215231

216232
s.subspec 'UI' do |s|
@@ -235,6 +251,8 @@ Pod::Spec.new do |s|
235251
s.pod_target_xcconfig = {
236252
'GENERATE_INFOPLIST_FILE' => 'YES'
237253
}
254+
255+
# s.pod_target_xcconfig = { 'ONLY_ACTIVE_ARCH' => 'YES' }
238256
end
239257

240258
# prepare command for parseUI

0 commit comments

Comments
 (0)