lib_InternalSyntaxParser.dylib: Embedding in mobile iOS app as framework

Hey there, many thanks for your time!

Goal:

  • Using lib_InternalSyntaxParser.dylib in an app-store compatible build for iOS.

Some quick context:

Issues:

  • x86_64, arm64, iossim all require different architecture builds of lib_InternalSyntaxParser.
  • I cannot embed the dylib generated by the build tool into a app-store capable build (not supported by iOS). macOS dylib with an exported .app is fine so far.
  • Attempting to wrap this with a framework causes signing errors after installation on device.

Question:

I am looking for guidance on the proper, expected practice for bundling the multiple versions of this dylib (listed above). I was fortunate enough to meet one @Rintaro (hello and thank you again!) at this year's WWDC developer event, and they suggested I pop up my issue here. I am happy to answer questions to help narrow down a solution!

I would greatly appreciate an as-detailed-as-is-reasonable explanation of what the expected process of embedding this dylib looks like, and what the specific requirements are for code signature and verification for this use case.

A third and final time: many thanks for your time, patience, and assistance.

lib_InternalSyntaxParser.dylib: Embedding in mobile iOS app as framework
 
 
Q