cocoapods-xp-binary-debug 0.0.1 → 0.0.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15c7ad70c00f67dc2b89ea8d7788ef6f013ec5e5ee42409c6a19b3f3c2aa83cc
|
4
|
+
data.tar.gz: 63307c0b792a2a2ec3276719fd7d438ef0f0d58c35c1ea2e1ab3c7eded65c540
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d1e83ca29ee029c56e42b668e3395cc479e579c2abb34294179e64cddda8fcf01e4328afc76e769991fc74c0e3b439399712447361398c592224cacdcc8f9cc
|
7
|
+
data.tar.gz: c92645ee5b54622eb947e7690bced30641545d07e7b06ed01b11797f4d7ec33e914f11bf85946ae259b76f67b486d566c5a67962568dbed55f56a86fb3d35ff7
|
@@ -152,13 +152,13 @@ module Pod
|
|
152
152
|
end
|
153
153
|
end
|
154
154
|
|
155
|
-
if Pathname.new(lib_file).extname == ".a"
|
155
|
+
# if Pathname.new(lib_file).extname == ".a"
|
156
156
|
FileUtils.rm_rf(File.join(dir,basename))
|
157
157
|
`ln -s #{target_path} #{dir}`
|
158
|
-
else
|
159
|
-
|
160
|
-
|
161
|
-
end
|
158
|
+
# else
|
159
|
+
# FileUtils.rm_rf(File.join(dir,basename))
|
160
|
+
# `ln -s #{target_path} #{dir}/#{basename}`
|
161
|
+
# end
|
162
162
|
|
163
163
|
check(lib_file,dir,basename)
|
164
164
|
end
|
@@ -174,8 +174,12 @@ module Pod
|
|
174
174
|
|
175
175
|
def get_lib_path(name)
|
176
176
|
dir = Pathname.new(File.join(Pathname.pwd,"Pods",name))
|
177
|
-
lib_name = "lib#{name}.a"
|
178
|
-
lib_path = File.join(dir,lib_name)
|
177
|
+
# lib_name = "lib#{name}.a"
|
178
|
+
#lib_path = File.join(dir,lib_name)
|
179
|
+
|
180
|
+
# framework 路径
|
181
|
+
lib_name = name
|
182
|
+
lib_path = File.join(`#{dir}.framework`, lib_name)
|
179
183
|
|
180
184
|
unless File.exist?(lib_path)
|
181
185
|
lib_path = File.join(dir.children.first,lib_name)
|