lib/cocoapods-packagerthk/builder.rb in cocoapods-packagerthk-1.0.0 vs lib/cocoapods-packagerthk/builder.rb in cocoapods-packagerthk-1.0.1
- old
+ new
@@ -303,10 +303,10 @@
"ARCHS=\'#{ios_architectures.join(' ')}\' OTHER_CFLAGS=\'-fembed-bitcode -Qunused-arguments\'"
end
def ios_architectures
# archs = %w(x86_64 i386 arm64 armv7 armv7s) 暂时只编译x86_64 arm64
- archs = %w(x86_64 arm64)
+ archs = %w(x86_64 arm64 armv7 armv7s)
puts "archs support: #{archs}"
vendored_libraries.each do |library|
archs = `lipo -info #{library}`.split & archs
end
archs