Skip to content

Commit 10415b4

Browse files
committed
Update build_framework.rb
1 parent 31f65ef commit 10415b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/cocoapods-binary/rome/build_framework.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ def build_for_iosish_platform(sandbox,
3232
end
3333

3434
is_succeed, _ = xcodebuild(sandbox, target_label, device, deployment_target, other_options + custom_build_options)
35-
is_succeed2, _ = xcodebuild(sandbox, target_label, simulator, deployment_target, other_options + ['ARCHS=x86_64', 'ONLY_ACTIVE_ARCH=NO'] + custom_build_options_simulator)
36-
exit 1 unless is_succeed && is_succeed2
35+
exit 1 unless is_succeed
36+
is_succeed, _ = xcodebuild(sandbox, target_label, simulator, deployment_target, other_options + ['ARCHS=x86_64', 'ONLY_ACTIVE_ARCH=NO'] + custom_build_options_simulator)
37+
exit 1 unless is_succeed
3738

3839
# paths
3940
root_name = target.pod_name

0 commit comments

Comments
 (0)