tripleCC / cocoapods-bin

CocoaPods 组件二进制化辅助插件(双私有源)
MIT License
304 stars 54 forks source link

archive 下lipo -info的路径有点小问题 #22

Closed su350380433 closed 4 years ago

su350380433 commented 4 years ago
podspec 这样引用本地的
    s.vendored_frameworks = 'Libraries/**/*.framework'
  def ios_architectures
        archs = %w[x86_64 arm64 armv7 armv7s i386]
        @vendored_libraries.each do |library|
          archs = `lipo -info #{library}`.split & archs
        end
        archs
      end

#{library} 的路径只到了 xxx.framework 这层,正常应该是包含xxx.framework/xxx 吗?

会导致pod bin archive 报错

su350380433 commented 4 years ago

大佬,能加个微信或者QQ吗?比较方便交流,感谢, 微信 :su1231235 qq:350380433