-
Notifications
You must be signed in to change notification settings - Fork 569
[2.1.0] target contains mixed language source files; feature not supported #133
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
Comments
Thanks for the report. I don't see a problem locally with
|
Hi! The error is not occurring while building, but while SPM is resolving the dependencies. Seems related to this: https://stackoverflow.com/questions/51540665/swift-package-manager-mixed-language-source-files |
Thank you! I have a working (temporary) version in the following branch: https://github.com/calimarkus/JDStatusBarNotification/commits/fix_spm_mixed_language But I still need to test/fix a few things before I'll publish a new version. Some notes:
|
|
How so? Could you share some more details? |
Also this breaks where "dismissAfterDelay" isn't available anymore.
I get an undeclared error where Xcode doesn't recognize this anymore. |
|
Nevermind. I had to import |
@haarj glad to hear that, but that shouldn't be needed. You're using spm and you're importing in an obj file, correct? I'd like to reproduce that. |
Yes I am using SPM and was importing the original and using objc code before the update.Sent from my iPhoneOn Nov 5, 2023, at 10:51 AM, M Emrich ***@***.***> wrote:
@haarj glad to hear that, but that shouldn't be needed. You're using spm and you're importing in an obj file, correct? I'd like to reproduce that.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Ah I see it's module vs header imports.
// edit: I couldn't find a way to avoid that. |
This is now resolved and merged to |
FYI @haarj the latest 2.2.0 version will require the regular module import again in ObjC:
The For Swift nothing changes. |
ok great! Thanks for letting me know!
…On Sun, Dec 10, 2023 at 2:28 PM M Emrich ***@***.***> wrote:
FYI @haarj <https://github.com/haarj> the latest 2.2.0 version will
require the regular module import again in ObjC:
- @import JDStatusBarNotification; - just as before.
The JDStatusBarNotificationObjC module no longer exists.
For Swift nothing changes.
—
Reply to this email directly, view it on GitHub
<#133 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACEBZGWIHFYRT6TMAFM2O3DYIYEMNAVCNFSM6AAAAAA623E6FWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBZGA2TQNRZGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Xcode 15.0.1 doesn't want to build latest version 2.1.0 of the library, with the following error:
The text was updated successfully, but these errors were encountered: