-
Notifications
You must be signed in to change notification settings - Fork 89
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
defined(__OBJC__) returning false #368
Comments
Have you tried the Objc Example here? https://github.com/segmentio/analytics-swift/tree/main/Examples/apps/ObjCExample It builds and seems to work fine. Seems likely something maybe in your project setup? Lemme know if this works for you. |
Thank you for the response. I figured the issue is most likely a project setup issue. However I am having trouble nailing it down. Do you have any suggestion about what to look for potentially. |
My apologies @SweatSzemis, I missed your response. You've likely solved it by now, if so I'm curious what the issue was. I didn't really have any guesses on my end. |
If you're still having issues, feel free to reopen this ticket. |
I've found that the project will compile on a test device. So this has unblocked our progress. |
Describe the bug
I'm attempting to use the latest Segment Swift Packing in my Objective C project,
I've added it my project using Swift package Manager.
In the Segment-Swift.h file going straight to the unsupported Swift architecture error.
Any guidance would be appreciated.
Expected behavior
Able to import Segment successfully
@import Segment;
*Screenshots
*
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: