fiskaly / fiskaly-sdk-swift

fiskaly Cloud-TSE SDK for Swift/iOS
MIT License
5 stars 5 forks source link

M1 fix #37

Closed Angelastic closed 3 years ago

Angelastic commented 3 years ago

This relies on the client xcframework generated by https://github.com/fiskaly/client/pull/210 com.fiskaly.client-ios-all-v1.2.200.xcframework.zip

Motivation

To get the tests to run (and pass, when appropriate environment variables are set) in the simulator on an M1 Mac, to fix #36 and the broken testSelfTest test.

Test Plan

Set API_SECRET, API_KEY, PASSWORD, and EMAIL environment variables, and ran the existing tests on M1 and Intel-based Macs. Also built SDK for a device to ensure that still works.

JohannesFerner commented 3 years ago

cc @marcelvoss

marcelvoss commented 3 years ago

Seems to work on my machine as well.

marcelvoss commented 3 years ago

Any updates on this? @Angelastic

Angelastic commented 3 years ago

Any updates on this? @Angelastic

This fix can't be merged until we release the new version of the client framework, so that the build step in the SDK can be updated to download it instead of the old version. We're still working on that, as there are some other changes in the client that we want to test, but in the mean time you can use the one attached to this PR.