braze-inc / braze-swift-sdk

Braze SDK for the Apple ecosystem, including: iOS, macOS, iPadOS, visionOS, tvOS
https://www.braze.com
Other
52 stars 19 forks source link

[Bug]: Can't build for simulator using Apple Silicon #11

Closed MichalTKwiecien closed 2 years ago

MichalTKwiecien commented 2 years ago

Platform

iOS

Platform Version

iOS 14

Braze SDK Version

5.3.0

Xcode Version

Xcode 13.4

Computer Processor

Apple (M1)

Repro Rate

100%

Steps To Reproduce

Example:

  1. Integrate SDK using SPM
  2. Build for simulator

Expected Behavior

App builds with success

Actual Incorrect Behavior

App fails in ContentCardsView: image

Verbose Logs

No response

Additional Information

Everything works fine while archiving or building for real device. This issue was "fixed" on my fork by removing ContentCardsView: https://github.com/MichalTKwiecien/braze-swift-sdk/commit/9c94fc26ff4f66ff30655710c81e60de6d75d1f1

lowip commented 2 years ago

Hi @MichalTKwiecien, thank you for reporting this issue.

We are unable to reproduce the build error and need more details to reproduce:

MichalTKwiecien commented 2 years ago

Hey @lowip, thanks for your reply.

lowip commented 2 years ago

Hey @MichalTKwiecien,

We have just released 5.3.2 which includes a tentative fix for the issue. Would you mind trying it out and report here?

Thanks!

MichalTKwiecien commented 2 years ago

Thanks @lowip - it fixed my issue 🚀