lib/cocoapods-binaryhqp/rome/build_framework.rb in cocoapods-binaryhqp-0.4.9 vs lib/cocoapods-binaryhqp/rome/build_framework.rb in cocoapods-binaryhqp-0.5.0
- old
+ new
@@ -30,9 +30,11 @@
# bitcode enabled
other_options += ['BITCODE_GENERATION_MODE=bitcode'] if bitcode_enabled
# make less arch to iphone simulator for faster build
custom_build_options_simulator += ['ARCHS=x86_64', 'ONLY_ACTIVE_ARCH=NO'] if simulator == 'iphonesimulator'
+ custom_build_options += ['ARCHS=arm64']
+
is_succeed, _ = xcodebuild(sandbox, target_label, device, deployment_target, other_options + custom_build_options)
exit 1 unless is_succeed
is_succeed, _ = xcodebuild(sandbox, target_label, simulator, deployment_target, other_options + custom_build_options_simulator)
exit 1 unless is_succeed