codelab-friendlychat-ios
codelab-friendlychat-ios copied to clipboard
Build Failures
I'm trying to follow this code lab and have encountered the following build errors:
- File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
- Linker command failed with exit code 1 (use -v to see invocation)
I tried loading my iPhone 14 Pro simulator prior to building the project and it still failed to build.
I'm using an M1 Pro Mac with Xcode 14.3.
Thanks for reporting. In the meantime, you can work around this by updating the codelab app's deployment target to iOS 13.
After updating the Podfile to use iOS 13 for the deployment target, deintegrating and reinstalling the pods, I'm still seeing the same errors.
I added the following to the end of my Podfile:
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
I received exactly the same build errors.
I'll take a look.