iOS Question Uploading a library to the forum

CaptKronos

Active Member
Licensed User
Longtime User
Hopefully soon I will be ready to upload my first iOS library to this forum. Before I do so, a couple of questions:

1. Is the naming convention, iMyLibName?

2. Should the .a file include only the arm binary; or should it be fat; or should I upload two .a files, one with arm and one with x86?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
If you don't mind releasing the source code then the best option is to upload it as a b4xlib. This will be simpler for the developers to use and simpler for you to upgrade.

It is better to add your own prefix to the library, eg: iCKSomething.

2. Should the .a file include only the arm binary; or should it be fat; or should I upload two .a files, one with arm and one with x86?
It must be a fat binary and include at least: arm64 and armv7. If you want it to be compatible with the simulator then it should also include i386_x64.
 
Upvote 0

CaptKronos

Active Member
Licensed User
Longtime User
Thanks. I think my query comes from my understanding that Apple doesn't like App Store submissions that include x86 binaries. But I guess I can rely on the forum users removing any x86 binaries from the .a file before submission.
 
Upvote 0
Top