Comments (7)
@thon-ju
找到原因了 引用方法没问题
库的文件名要以lib为前缀
https://stackoverflow.com/questions/19189463/cocoapods-podspec-issue
from bluetooth_print.
@liyangmsn 可以如下操作
1、targets->build setting->other linker flags中删掉-IGSDK项及继承项
2、确保库引用了,targets->build phases->link binary with libraries中有GSDK.a
from bluetooth_print.
@thon-ju
应该还需要把podspec里的s.vendored_libraries = '**/*.a'去掉
这行代码会往other linker flags里添加-IGSDK
from bluetooth_print.
@liyangmsn
理论上podspec里的
s.vendored_libraries = '**/*.a'
作用是新工程引用的时候回自动添加GSDK.a,去掉了,新工程需要手动添加GSDK.a库,但是实际上没有起效果。你还有更好方式推荐吗?
from bluetooth_print.
@thon-ju 不好意思 我查了一遍文档还是没有解决
目前所知vendored_libraries是将库引入
但是我看项目里也已经引入了 所以我感觉问题不在这里
我想问下这个GSDK是干嘛用的 没有相关文档
from bluetooth_print.
@liyangmsn
这是gprinter的打印指令库,是不是可以吧这个库提交到pod的server,进行引用?我不是特别熟悉ios的机制,如果您比较清楚的话可以试试修改下
from bluetooth_print.
@liyangmsn 经过测试,的确可以。非常感谢,这个问题我也找了好久,终于可以了
from bluetooth_print.
Related Issues (20)
- Can not print in IOS
- In IOS package is not working HOT 1
- Features: Please remove the line spacing
- Connect success then disconnect immediately HOT 10
- App craches, the package bluetooth_print can't print images on ios, it's working in android but doesn't work in iOS HOT 6
- Application is getting crashed when connecting to the printer using bluetooth_print 4.3.0 Dependency in IOS but Working fine in android HOT 1
- Connected device address. HOT 2
- Arabic Support
- slow printing in tsc label printer HOT 1
- Cannot print using printer with TSPL command
- no print in android HOT 1
- Arabic Text support
- when will the new version come out? HOT 2
- Getting error for iOS - duplicate symbols for architecture x86_64 HOT 2
- [iOS] Signature and Logo Print issue HOT 3
- how change the text size like fontSize?
- Can't print after selecting the printer HOT 8
- device not showing HOT 2
- Not able to align image in center of thermal paper bluetooth_print 4.3.0 HOT 2
- can't align image and text in the same row
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 bluetooth_print.