Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issue: XCode 14.3 - File not found libarclite_iphonesimulator.a #319

Open
ville-nettia opened this issue Apr 17, 2023 · 5 comments
Open

Comments

@ville-nettia
Copy link

Adding DropDown Pod and building on XCode 14.3 gives the following build error when trying to run it on a simulator:

ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@mahmoudOmara
Copy link

same here. I think the issue is that DroDown supports starting from iOS 8 which is not supported anymore.

@aldybuanaa
Copy link

  1. Download files from Libarclite-Files
  2. Add them to /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/

@gogochang
Copy link

gogochang commented Jun 5, 2023

try it on your Podfile:

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

example :

target 'ProjectName' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for ProjectName

end

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

@gregorosaurus
Copy link

Same issue in Carthage. Looks like upping the min iOS version allows the project to build.
Might have to move off Carthage and just include the repo as a sub module if the repo isn't maintained anymore.

@thingineeer
Copy link

Adding DropDown Pod and building on XCode 14.3 gives the following build error when trying to run it on a simulator:

ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It may be an issue with the iOS distribution version.

refer to this link
https://thingjin.tistory.com/entry/iOS-SDK-does-not-contain-libarclite-at-the-path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants