Giter Club home page Giter Club logo

Comments (10)

gare-bear avatar gare-bear commented on May 30, 2024

Yes, this can be built on M1 Macs. Please be more specific on what is failing.

from starprnt-sdk-ios-swift.

ali4fun avatar ali4fun commented on May 30, 2024

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.

gare-bear avatar gare-bear commented on May 30, 2024

@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.

ali4fun avatar ali4fun commented on May 30, 2024

@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.

ali4fun avatar ali4fun commented on May 30, 2024

@gare-bear any update about this issue ?

from starprnt-sdk-ios-swift.

ali4fun avatar ali4fun commented on May 30, 2024

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.

gare-bear avatar gare-bear commented on May 30, 2024

@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.

ali4fun avatar ali4fun commented on May 30, 2024

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.

ali4fun avatar ali4fun commented on May 30, 2024

Screen Shot 2022-01-30 at 9 43 09 AM

@gare-bear this is screen shoot. i hope you have fixed this issue. xcode : Version 13.1 (13A1030d) Installing StarIO (2.9.0) Installing StarIODeviceSetting (1.0.1) Installing StarIO_Extension (1.16.0)

from starprnt-sdk-ios-swift.

bandit-ibayashi avatar bandit-ibayashi commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.