Sitelet https://github.com/SwiftyJSON/SwiftyJSON/pull/1134
Skip to content

bump deployment targets for Xcode 14.3 - #1134

Open
lanephillips wants to merge 2 commits into
SwiftyJSON:masterfrom
lanephillips:bump_osx_target
Open

bump deployment targets for Xcode 14.3#1134
lanephillips wants to merge 2 commits into
SwiftyJSON:masterfrom
lanephillips:bump_osx_target

Conversation

@lanephillips

Copy link
Copy Markdown

Xcode 14.3 fails to link applications when a framework has a macOS deployment target earlier than 10.13 or an iOS deployment target earlier than 16.1. (As of April 2023 apps built for earlier than iOS 16.1 cannot be submitted to the app store.) The linker will fail with an error like this:

ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_macosx.a

Simply increasing the deployment target in the Podspec file is sufficient to fix the error.

@macblazer

Copy link
Copy Markdown

According to this https://developer.apple.com/support/xcode/ the minimum deployment target for Xcode 14.3 is iOS 11 not iOS 16.1.

The minimum iOS SDK for the App Store must be the iOS 16.1 SDK, but this should only bump up to iOS 11 for deployment target in order to support Xcode 14.3.

@lanephillips

Copy link
Copy Markdown
Author

@macblazer , fixed now.

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

Successfully merging this pull request may close these issues.

3 participants