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: 0e3ad1bd6a7105cc2a0e2c0f1db38c1cc639840ba861d5923cec9cf37b1cc34e
4
- data.tar.gz: 9ee82a967bfb21475f678cc23c2fb197320a98a45f28ca0d94f55ae5db65541a
3
+ metadata.gz: 15c7ad70c00f67dc2b89ea8d7788ef6f013ec5e5ee42409c6a19b3f3c2aa83cc
4
+ data.tar.gz: 63307c0b792a2a2ec3276719fd7d438ef0f0d58c35c1ea2e1ab3c7eded65c540
5
5
  SHA512:
6
- metadata.gz: d228d3cfab9989bc33633cbf7a4db59a9776d7adf4177aa1c5eb7e7e6428c12fdd05619f217fdc3bb241887930fa46644b8f88d84645a476a217ac504724cc8a
7
- data.tar.gz: c2174078e14ac7bab87e341a9a6dbe7afe832608f2c86665a8dcfd17adc6ba306498aad7765a15a3b5e93ae94bb4e453e23e46892adfc099b86a350f954343e6
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
- FileUtils.rm_rf(File.join(dir,basename))
160
- `ln -s #{target_path} #{dir}/#{basename}`
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)
@@ -1,3 +1,3 @@
1
1
  module CocoapodsXpBinaryDebug
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-xp-binary-debug
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - 林俊炳