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-11422] Generated .swiftinterface got an error when imported #53823

Open
swift-ci opened this issue Sep 5, 2019 · 7 comments
Open

[SR-11422] Generated .swiftinterface got an error when imported #53823

swift-ci opened this issue Sep 5, 2019 · 7 comments

Comments

@swift-ci
Copy link
Collaborator

@swift-ci swift-ci commented Sep 5, 2019

Previous ID SR-11422
Radar rdar://problem/55094784
Original Reporter leavez (JIRA User)
Type Bug

Attachment: Download

Environment

xcode 11.4

Additional Detail from JIRA
Votes 1
Component/s Compiler
Labels Bug, ParseableInterfaces
Assignee None
Priority Medium

md5: 3db03845a6bf1f1df17ce7d683f5bee2

Issue Description:

detail descriped here https://forums.swift.org/t/generated-swiftinterface-has-wrong-content/28543

The generated frameworks with .swiftinterface is attached.

@harlanhaskins
Copy link
Collaborator

@harlanhaskins harlanhaskins commented Sep 6, 2019

@swift-ci create

@harlanhaskins
Copy link
Collaborator

@harlanhaskins harlanhaskins commented Sep 6, 2019

I have a fix for the SwiftyJSON issue, which I've confirmed works locally. #27065

@swift-ci
Copy link
Collaborator Author

@swift-ci swift-ci commented Apr 10, 2020

Comment by leavez (JIRA)

Any update?

@harlanhaskins
Copy link
Collaborator

@harlanhaskins harlanhaskins commented Apr 10, 2020

Yes, this should have been fixed in 5.2 with the underscored `@_hasMissingDesignatedInitializers` attribute.

@swift-ci
Copy link
Collaborator Author

@swift-ci swift-ci commented Apr 10, 2020

Comment by leavez (JIRA)

@harlanhaskins Still got errors on Xcode 11.4.

I tested with RxSwift. Just build a framework with `BUILD_LIBRARY_FOR_DISTRIBUTION = YES`, and delete the *.swiftmodule files in the generated framework. Then import the framework to a new blank project, build and result in errors.

@swift-ci
Copy link
Collaborator Author

@swift-ci swift-ci commented Apr 10, 2020

Comment by leavez (JIRA)

This bug stop us from delivering pre-built frameworks for different Xcode versions. The module stability feature never works from this point of view.

@harlanhaskins
Copy link
Collaborator

@harlanhaskins harlanhaskins commented Apr 10, 2020

Drat. Looks like we missed a few cases. @nkcsgexi is the owner for module interfaces. Xi, can you take a look?

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
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