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

[SR-8636] Objective C dependencies are failing to build under the most recent 4.2 snapshot #3641

Closed
swift-ci opened this issue Aug 24, 2018 · 2 comments

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-8636
Radar None
Original Reporter twof (JIRA User)
Type Bug
Status Resolved
Resolution Invalid
Environment

XCode Version Version 9.4.1 (9F2000)
Toolchain: Swift 4.2 Snapshot 2018-08-23 (a)

Additional Detail from JIRA
Votes 0
Component/s Foundation, Standard Library
Labels Bug
Assignee None
Priority Medium

md5: 9597cd58c8ae6d626f6641bf8f63d525

Issue Description:

I've got a larger iOS project that includes many dependencies. The following are failing, all with the same error:

PromiseKit
XMSegmentedControl
SwiftMessages
AlamofireImage
CodableAlamofire
RealmSwift

The errors:
/Library/Developer/Toolchains/swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-23-a.xctoolchain/usr/lib/swift/shims/NSKeyedArchiverShims.h:26:31: No known class method for selector 'unarchivedObjectOfClass:fromData:error:'

@belkadan
Copy link

It looks like that missing API was newly exposed in iOS 12 (despite being available back to iOS 11). You'll have to update to Xcode 10 to use 4.2 snapshots.

@swift-ci
Copy link
Contributor Author

Comment by Alex Reilly (JIRA)

Ahhh alright. Thanks!

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants