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

Build error with SpeziContact 1.0.1 and CNMutablePostalAddress #28

Closed
1 task done
vishnuravi opened this issue Aug 14, 2024 · 0 comments · Fixed by #29
Closed
1 task done

Build error with SpeziContact 1.0.1 and CNMutablePostalAddress #28

vishnuravi opened this issue Aug 14, 2024 · 0 comments · Fixed by #29
Labels
bug Something isn't working

Comments

@vishnuravi
Copy link
Member

vishnuravi commented Aug 14, 2024

Description

When attempting to build a project based on the Spezi Template Application after updating to SpeziContact 1.0.1, the following build error is encountered in Contacts/Contacts.swift.

let address = CNMutablePostalAddress()
/Users/runner/work/LifeSpace/LifeSpace/LifeSpace/Contacts/Contacts.swift:27:31: error: cannot find 'CNMutablePostalAddress' in scope`

It appears that CNMutablePostalAddress is no longer being exposed.

Reproduction

Update a Spezi Template Application based project to SpeziContact 1.0.1 and attempt to build.

Expected behavior

The build should not fail.

Additional context

The following change may be responsible: https://github.com/StanfordSpezi/SpeziContact/pull/27/files#diff-08dd209c2f80749cebfada36a9f87935b96bcc8e9030ef7a085eeaf6955f26d2

cc: @PSchmiedmayer

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
@vishnuravi vishnuravi added the bug Something isn't working label Aug 14, 2024
@vishnuravi vishnuravi changed the title Build error with SpeziContact 1.0.1 Build error with SpeziContact 1.0.1 and CNMutablePostalAddress Aug 14, 2024
@Supereg Supereg linked a pull request Aug 14, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant