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 failed on M1 mac #39

Closed
danielminhnguyen opened this issue Nov 18, 2021 · 5 comments
Closed

Build failed on M1 mac #39

danielminhnguyen opened this issue Nov 18, 2021 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@danielminhnguyen
Copy link

Hi guys, when building on xcode for simulator I received this error

in /Users/hokkinxx/Code/FullStack/PosAppv2/node_modules/react-native-esc-pos-printer/ios/PrinterSDK/libepos2.a(Epos2ConnectionInfo.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/hokkinxx/Code/FullStack/PosAppv2/node_modules/react-native-esc-pos-printer/ios/PrinterSDK/libepos2.a' for architecture arm64

@tr3v3r
Copy link
Owner

tr3v3r commented Nov 22, 2021

@danielminhnguyen Unfortunately I don't have a machine on M1. So the only thing that I could propose is trying to update to the latest SDK (download from here https://download.epson-biz.com/modules/pos/index.php?page=soft&pcat=3&scat=58).
And try to replace libepos2.a with a new one.

Possibly the issue has already been solved by the Epson guys.

@tr3v3r tr3v3r added help wanted Extra attention is needed bug Something isn't working labels Nov 22, 2021
@danielminhnguyen
Copy link
Author

I tried to replace but still it doesn't work, if I change target build to physical device then it works. I think I can live with that for the time being. Thank you @tr3v3r for you awesome works!

@fragilehm
Copy link
Contributor

@tr3v3r Hi, is there a way to know if both ios and android SDKs are up to date? or which version of the SDKs this package is using?

@tr3v3r
Copy link
Owner

tr3v3r commented Dec 25, 2021

Hi, @fragilehm
Current version of SDK is 2.17.1 (iOS, Android)

For convenience I have a plan to extract SDK into separate npm lib with appropriate documentation and version history. Just trying to find time in my schedule)

@tr3v3r
Copy link
Owner

tr3v3r commented Nov 10, 2022

Just release v2.2.0.
SDK updated to v.2.22.0. Android 12 support added.

Installation docs updated

Checked. Build with M1 works

@tr3v3r tr3v3r closed this as completed Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants