Comments (10)
Yes, this can be built on M1 Macs. Please be more specific on what is failing.
from starprnt-sdk-ios-swift.
sorry for late update.
this error i get
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_CIContext", referenced from: objc-class-ref in SMCloudServices(SMCSAllReceipts.o) objc-class-ref in StarIO_Extension(SCBPdf417.o) objc-class-ref in StarIO_Extension(SCBQrCode.o) "_OBJC_CLASS_$_CIFilter", referenced from: objc-class-ref in SMCloudServices(SMCSAllReceipts.o) objc-class-ref in StarIO_Extension(SCBPdf417.o) objc-class-ref in StarIO_Extension(SCBQrCode.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
please guide me if you faced this issue or have any idea how to fix it.
from starprnt-sdk-ios-swift.
@ali4fun Sounds like you might be using an older version of StarIO_Extension.
The latest release of StarIO & StarIO_Extension adds support for the iOS Simulators.
https://github.com/star-micronics/StarPRNT-SDK-iOS-Swift/releases/tag/V5.15.0
Make sure you're using the latest frameworks.
from starprnt-sdk-ios-swift.
@gare-bear thanks for a replay.
I try to use latest versions but still facing same issue.
these version I am using.
Installing StarIO (2.9.0) Installing StarIO_Extension (1.16.0)
thank you
from starprnt-sdk-ios-swift.
@gare-bear any update about this issue ?
from starprnt-sdk-ios-swift.
i tried on real device but still same issue.
Undefined symbols for architecture arm64: "_OBJC_CLASS_$_CIContext", referenced from: objc-class-ref in StarIO_Extension(SCBPdf417.o) objc-class-ref in StarIO_Extension(SCBQrCode.o) "_OBJC_CLASS_$_CIFilter", referenced from: objc-class-ref in StarIO_Extension(SCBPdf417.o) objc-class-ref in StarIO_Extension(SCBQrCode.o) ld: symbol(s) not found for architecture arm64
from starprnt-sdk-ios-swift.
@ali4fun I use an M1 Mac for daily development, so I know it works.
if you can explain how to reproduce the issue, I can look into it further.
from starprnt-sdk-ios-swift.
sorry for LP.
after pod installation when i try to run app then i see error.
` /Users/mahmoud/Library/Developer/Xcode/DerivedData/starprinter-dddyjpyimlhrrlbnfmppratkwaro/Build/Products/Debug-iphonesimulator/starprinter.app/starprinter normal (in target 'starprinter' from project 'starprinter')
cd /Users/mahmoud/Desktop/devel/printer\ ios\ test/starprinter
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios15.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk -L/Users/mahmoud/Library/Developer/Xcode/DerivedData/starprinter-dddyjpyimlhrrlbnfmppratkwaro/Build/Products/Debug-iphonesimulator -F/Users/mahmoud/Library/Developer/Xcode/DerivedData/starprinter-dddyjpyimlhrrlbnfmppratkwaro/Build/Products/Debug-iphonesimulator -F/Users/mahmoud/Desktop/devel/printer\ ios\ test/starprinter/Pods/StarIO -F/Users/mahmoud/Desktop/devel/printer\ ios\ test/starprinter/Pods/StarIODeviceSetting -F/Users/mahmoud/Desktop/devel/printer\ ios\ test/starprinter/Pods/StarIO_Extension -F/Users/mahmoud/Library/Developer/Xcode/DerivedData/starprinter-dddyjpyimlhrrlbnfmppratkwaro/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/StarIO -F/Users/mahmoud/Library/Developer/Xcode/DerivedData/starprinter-dddyjpyimlhrrlbnfmppratkwaro/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/StarIODeviceSetting -F/Users/mahmoud/Library/Developer/Xcode/DerivedData/starprinter-dddyjpyimlhrrlbnfmppratkwaro/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/StarIO_Extension -filelist /Users/mahmoud/Library/Developer/Xcode/DerivedData/starprinter-dddyjpyimlhrrlbnfmppratkwaro/Build/Intermediates.noindex/starprinter.build/Debug-iphonesimulator/starprinter.build/Objects-normal/arm64/starprinter.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/mahmoud/Library/Developer/Xcode/DerivedData/starprinter-dddyjpyimlhrrlbnfmppratkwaro/Build/Intermediates.noindex/starprinter.build/Debug-iphonesimulator/starprinter.build/Objects-normal/arm64/starprinter_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/mahmoud/Library/Developer/Xcode/DerivedData/starprinter-dddyjpyimlhrrlbnfmppratkwaro/Build/Intermediates.noindex/starprinter.build/Debug-iphonesimulator/starprinter.build/Objects-normal/arm64/starprinter.swiftmodule -ObjC -framework CoreBluetooth -framework ExternalAccessory -framework StarIO -framework StarIODeviceSetting -framework StarIO_Extension -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/mahmoud/Library/Developer/Xcode/DerivedData/starprinter-dddyjpyimlhrrlbnfmppratkwaro/Build/Intermediates.noindex/starprinter.build/Debug-iphonesimulator/starprinter.build/starprinter.app-Simulated.xcent -framework Pods_starprinter -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/mahmoud/Library/Developer/Xcode/DerivedData/starprinter-dddyjpyimlhrrlbnfmppratkwaro/Build/Intermediates.noindex/starprinter.build/Debug-iphonesimulator/starprinter.build/Objects-normal/arm64/starprinter_dependency_info.dat -o /Users/mahmoud/Library/Developer/Xcode/DerivedData/starprinter-dddyjpyimlhrrlbnfmppratkwaro/Build/Products/Debug-iphonesimulator/starprinter.app/starprinter
ld: warning: directory not found for option '-F/Users/mahmoud/Library/Developer/Xcode/DerivedData/starprinter-dddyjpyimlhrrlbnfmppratkwaro/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/StarIO'
ld: warning: directory not found for option '-F/Users/mahmoud/Library/Developer/Xcode/DerivedData/starprinter-dddyjpyimlhrrlbnfmppratkwaro/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/StarIODeviceSetting'
ld: warning: directory not found for option '-F/Users/mahmoud/Library/Developer/Xcode/DerivedData/starprinter-dddyjpyimlhrrlbnfmppratkwaro/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/StarIO_Extension'
ld: framework not found StarIO
clang: error: linker command failed with exit code 1 (use -v to see invocation) `
from starprnt-sdk-ios-swift.
from starprnt-sdk-ios-swift.
I'm arfaid it's been a long time.
I tried it on my M2 mac mini, and it worked without any errors like this.
% uname -m
arm64
% sw_vers
ProductName: macOS
ProductVersion: 14.3.1
BuildVersion: 23D60
This error does not seem to be caused by the processor.
If this error continues to occur, could you please build our sample SDK once?
I think this will help isolate the cause.
from starprnt-sdk-ios-swift.
Related Issues (20)
- Is there a function to align left and right on a single line or column? or how to print like this design? HOT 2
- Pods Issue StarIO for 2.8.2 - Signature not valid in the specified time frame HOT 7
- CPU usage above 90%!!! HOT 2
- Create receipt by commands vs. pdf HOT 1
- Print cash receipt from PDF HOT 1
- Printer Connection Failed!!![BUG] HOT 7
- Cash Drawer on Mpop HOT 4
- [BUG] Inconsistency in printed receipts HOT 1
- SPM Support [BUG] HOT 1
- Suggestion: Add StarPRNT emulation for Stargraphic printers HOT 1
- [BUG] App built with Xcode 14 causes crash when calling disconnect HOT 5
- Pod install failure for StarIO 2.8.1, 403 server failed to authenticate the request HOT 2
- [StarPRNTBuilderImpl setPageMode:] + 49 Fatal Exception HOT 7
- iPadOS 16.5 HOT 2
- Missing privacy manifest? HOT 1
- SM-T300i Connection HOT 1
- Rotate ticket failed after enable "180 Rotation" HOT 2
- Add support for TUP* models (open frame kiosk printers) HOT 2
- Cannot find TSP100GT printer that's shared through network HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from starprnt-sdk-ios-swift.