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

The Contentful framework fails to build in XCode Version 14.3.1 #386

Open
asaadjaber opened this issue Jun 2, 2023 · 2 comments
Open

The Contentful framework fails to build in XCode Version 14.3.1 #386

asaadjaber opened this issue Jun 2, 2023 · 2 comments

Comments

@asaadjaber
Copy link

I experienced an issue building the Contentful framework in XCode Version 14.3.1 on MacOS 13.4.

When I built the Contentful.xcodeproj project in XCode with the platform destination set to iPhone 14 Pro, I got a build error. The error was in relation to the libarclite library in the XCode Toolchain. A file from the library was not found.

@jshier
Copy link

jshier commented Jun 13, 2023

This is due to the podspec having an iOS deployment target of iOS 8, which is no longer supported by Xcode 14.3 due to libarclite being removed. The podspec should be updated to reflect a more modern deployment target, but in the meantime you can just remove the deployment targets from the pods so they end up using the integrated target's deployment instead.

post_install do | installer |
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
      config.build_settings.delete 'WATCHOS_DEPLOYMENT_TARGET'
    end
  end
end

@jshier
Copy link

jshier commented Jun 13, 2023

This is also #331.

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

2 participants