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

Could not find module 'SplunkOtel' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator #67

Open
jafarkhan7 opened this issue Mar 7, 2022 · 4 comments

Comments

@jafarkhan7
Copy link

jafarkhan7 commented Mar 7, 2022

I am using cocoapod and added Splunk through SPM in my project target. But after importing the framework in Appdelegate or anywhere it throws this error -> Could not find module 'SplunkOtel' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator.

I am using M1 chip Mac book
My deployment target is 11.0

Could you please suggest a way to accomplish this? Or is it not supported?

@celinahiyasjavier
Copy link

Hi we also encountered this issue. Any updates on this?

@dvernon-splunk
Copy link
Contributor

Hello, is this still a problem you're encountering? If so, can you tell us more details about your setup so that we can better diagnose the problem? And if not, can you let us know what you did to solve the problem so we can help other users who may also run into this? Thanks!

@celinahiyasjavier
Copy link

Current workaround we did is to not run splunk related codes in simulator

#if !targetEnvironment(simulator)
// Splunk related codes
#endif

@dvernon-splunk
Copy link
Contributor

I'm glad you found a workaround. I could not reproduce this on my M1 machine. If you have additional details for reproduction we can re-open and see if we can come up with a solution that doesn't require a workaround. In particular, can you tell me the settings you have under the Architectures section in Build Settings, as well as what you have set for "Always Embed Swift Standard Libraries"? Feel free to include any other settings you may think relevant as well.

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

No branches or pull requests

3 participants