From 15f49247340831312ff1839198b73885861722f0 Mon Sep 17 00:00:00 2001 From: dabing1022 Date: Thu, 14 Jan 2021 18:16:46 +0800 Subject: [PATCH] fix: fix lib name build by xcodebuild --- .../lib/cocoapods-imy-bin/helpers/framework_builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocoapods-imy-bin/lib/cocoapods-imy-bin/helpers/framework_builder.rb b/cocoapods-imy-bin/lib/cocoapods-imy-bin/helpers/framework_builder.rb index bdfc494..dca5ecc 100755 --- a/cocoapods-imy-bin/lib/cocoapods-imy-bin/helpers/framework_builder.rb +++ b/cocoapods-imy-bin/lib/cocoapods-imy-bin/helpers/framework_builder.rb @@ -106,7 +106,7 @@ def build_static_library_for_ios(output) # if is_debug_model libs = (ios_architectures + ios_architectures_sim) .map do |arch| - library = "build-#{arch}/lib#{target_name}.a" + library = "build-#{arch}/lib#{@spec.name}.a" library end # else