0

I have used Bolts-Swift in my library. It was working fine in Xcode 14.2, but I am getting the error below when I build the same code with Xcode 14.3.

Error :- File not found: /Users/<me>/Downloads/Xcodes/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a

Anyone help me here, how to resolve it.

As I was not able to build it so trying to replace it but that huge amount of efforts which is not possible in short time.

Clay Bridges
  • 11,602
  • 10
  • 68
  • 118
  • Yes it is But I am using minimum iOS deployment target as 14.0 for my archive which I can't downgrade. Above mentioned solution shows minimum target as 11.0 – Anjali Sahu Aug 22 '23 at 06:43
  • adding below mentioned code snippet has solved my issue. post_install do |installer| installer.generated_projects.each do |project| project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0' end end end end Thanks @Gereon – Anjali Sahu Aug 22 '23 at 08:20

1 Answers1

-1

adding below mentioned code snippet has solved my issue.

post_install do |installer|
    installer.generated_projects.each do |project|
          project.targets.each do |target|
              target.build_configurations.each do |config|
                  config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
               end
          end
   end
end

Thanks @Gereon