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 'MapboxDirections' for target 'arm64-apple-ios-simulator' #816

Open
noway opened this issue Feb 15, 2024 · 1 comment

Comments

@noway
Copy link

noway commented Feb 15, 2024

Can't compile for iOS Simulator on Apple Silicone Mac:

Could not find module 'MapboxDirections' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, at: /Users/user/Library/Developer/Xcode/DerivedData/project-aslfqkpxdckiatdadbaaceazrmrq/Index.noindex/Build/Products/Debug-iphonesimulator/MapboxDirections/MapboxDirections.framework/Modules/MapboxDirections.swiftmodule

  • I'm installing via CocoaPods
  • MapboxDirections (2.11.1)
  • I don't have EXCLUDED_ARCHS in my .pbxproj

Compiles fine to a physical iPhone.

Could this be because you're not publishing MapboxDirections as a .xcframework?

Is there a workaround for .framework?

@shanmugam105
Copy link

shanmugam105 commented Aug 12, 2024

Same for me. Any update? @noway

Fixed: I have run through Rosetta Working Fine

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

2 participants