How create a cocoapod library - ios

My dilemma is stupid but I do not know what to do, basically I do not know if what I show in the image refers to the platform for which you want to develop or to the platform in which you are going to develop

It's the platform for which you are targeting the cocoapod. So if you are making a cocoapod to be used in iOS apps, choose iOS.
If only we could use iOS to build a cocoapod for iOS... ;]

sorry i don't know how can do that, If I have not accepted your answer, explain how I can do it, I think that I already accept it, anyway you let me know if I did it or not

Related

Can I create mini app with Swift package manager?

After I code iOS application for awhile, I faced problem with project's size and build time. I found some concept about super app / mini app.
According a question, I implement my application and I want to separate to a miniapp ( separate project ) but I don't know to how to connect it together and how to build them stand-alone.
After I made some research about concept, I think I can made my miniapp to a library by SPM.
Is it possible to move every thing from existing project to package with SPM ( storyboard, extension, localize, depedencies, info.plist, permission ) ?
you can do that, here's my answer to someone who wanted to do the same https://stackoverflow.com/a/72476153/6808357. I also advise you to read this Apple documentation on how to handle your ressources/assets https://developer.apple.com/documentation/swift_packages/bundling_resources_with_a_swift_package.
I hope it helps! :)

How to know which version of cocoapods suits my xcode

Sorry to bother with basic question.
would like to know which version of any cocoapods, suits particular xcode version. If I know the exact podfile version for my xcode directly can be used without any interruption
I would suggest to save everybody and yourself a lot of trouble and use a fairly recent verion of both xcode and cocoapods.

Creating an iOS library or framework using libgdx (roboVM)

Is it possible to create an iOS library or framework using libgdx (RoboVM) that can be imported into Xcode?
Background:
One of my colleagues has created a 3D visualisation app as a libgdx project for android and windows desktop. It can be compiled to run on iOS using RoboVM. However, I would like to wrap extra native user interface elements around it using Xcode. I know its possible to build the user interface programmatically via RoboVM but I would be keen to investigate if its possible to bring the existing work into Xcode. I don't need to edit the 3D visualisation component but add extra GUI elements around the 3D Vis window. I thought compiling the libgdx (RoboVM) code to a framework or library might be a solution that could be imported?!
Yes you can do it.
All you need to create a method, say initRoboVM(), This will be called by your code when you want to initialize libgdx. You'll need to pass the app path in, which you can hardcode when you're testing.
initRoboVM() will need some modifications, namely it should not call your Java app's main method, well, at least, that's what well behaving libraries should not do IMO. It should also not call rvmShutdown.
You can get further information from here
Thanks :)
I asked the RoboVM team directly. Their answer: It's not a native function, but it certainly can be done.
The complete message...
Hi,
Sorry for the late reply. This use case is not something we're going
to do now. It is possible though if you're prepared to do some
patching of RoboVM. Search the RoboVM Google Group and you should find
others who have managed to get this working.
We get this request every know and then so we will add support for
this eventually.
Regards, Niklas

Looking for an IOS version of ShowcaseView

I'm looking for a library similar to https://github.com/amlcurran/ShowcaseView
I want to be able to implement forced tutorials on new users who open my application for the first time. Does anyone know where I can find a library that helps make this easy?
You ca try https://github.com/rahuliyer95/iShowcase
This is a quite similar iOS implementation of the ShowcaseView for Android (https://github.com/amlcurran/ShowcaseView).

iOS 1D/2D barcode scanner library

I'm trying to fint the answer to a question that has been asked before,but i still couldn't find the proper answer.
I'm looking for a lightweight free 1D/2D barcode scanner library/api/sdk. I've tried
zxing
, but its way too enormous,
scandit
is not free, i couldn't compile
BXMobile
, etc.
Someone who has experience with barcode scanners could propose me a good suggestion for what i should use?
Thanks in advance!
Zoli
The best free one I found was ZBarSDK
http://zbar.sourceforge.net/iphone/sdkdoc/
I've used ZXing before. If you had trouble with it then use the CocoaPods version...
http://cocoapods.org/?q=zxing
It deals with all the includes and everything. CocoaPods really is the way forward.
https://codeload.github.com/cgreening/BarCodeExample/zip/master
iOS7 has built in functionality scanning BarCodes not sepearate sdk is required; if your deployment target is iOS7
I've had good results with ZXingObjC, which as the name suggests is an ObjC port of ZXing, and which is also on CocoaPods.

Resources