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

I'm very interested in this project! #8

Closed
MatthewMerritt opened this issue May 1, 2022 · 4 comments
Closed

I'm very interested in this project! #8

MatthewMerritt opened this issue May 1, 2022 · 4 comments

Comments

@MatthewMerritt
Copy link

I'm having trouble getting a demo app to compile and run. Would you be willing to create a very simple example app to get a new users for your package up and running?

@pauljohanneskraft
Copy link
Owner

Could you please provide some more information about this?

  • Which Xcode version are you running?
  • Which error(s) are visible in Xcode when trying to build?
  • What is the platform you are trying to compile your example app for?
  • How did you link this library using Swift Package Manager? This project is currently not available on Cocoapods and if you have not previously used Swift Package Manager, this might also be the issue here.

@pauljohanneskraft
Copy link
Owner

pauljohanneskraft commented May 1, 2022

For an example, you can have a look at this project of mine that works on macOS and iOS. It uses this library for the VisualizationPage view.

@MatthewMerritt
Copy link
Author

At first I was not importing MapKit, which obviously wasn't finding any of the associated types. So when I tried to import MapKit it would give the compiler a segmentation fault. I'm using the latest Xcode (Version 13.3.1 (13E500a)), with an empty created Project for iOS. Then adding Map with SPM. I loaded your test project ( thank you by the way for sharing ), with the same result. I quit and restarted Xcode and everything is working as expected. My first project worked as expected after the restart. I'm sorry I bothered you with such a trivial task, I should have tried that first... threw me though since I had other projects open that were still able to compile and if I commented out the Map(...) in my original project it compiled.

@pauljohanneskraft
Copy link
Owner

no worries - glad it worked now 😊

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