tink icon indicating copy to clipboard operation
tink copied to clipboard

Tink is not supported on Apple Silicon for iOS

Open sethfri opened this issue 3 years ago • 5 comments

Describe the bug:

In order for Tink to support Apple Silicon builds on iOS, it needs to be distributed as an XCFramework, Apple's new native binary format. Google will need to do the following:

  • Update the objc/BUILD file to build an xcframework
  • Host a tarball containing this xcframework
  • Publish a new version of the podspec to CocoaPods using the vendored_frameworks property to point to the xcframework

What was the expected behavior?

Importing Tink via CocoaPods should pull in an XCFramework, which allows us to build our app for device and simulator on Apple Silicon

How can we reproduce the bug?

Add pod Tink to your Podfile, run pod install, and try to build your app on Apple Silicon

Provide your version information:

  • Language: Obj-C / Swift
  • Environment: iOS

sethfri avatar Feb 03 '22 20:02 sethfri

@chuckx 👋🏻 Wanted to follow up on this. This didn't land by the end of April timeline from our last discussion. Is there a new target date for Apple Silicon and XCFramework support on iOS?

sethfri avatar May 19 '22 05:05 sethfri

Hi @chuckx, following up on this

sethfri avatar May 27 '22 05:05 sethfri

FYI, I'm finalizing the XCFramework build process now. The last remaining step is integrating the symbol stripping step (since we're wrapping (Boring/Open)SSL, we need to make sure that symbols from that library aren't exposed, otherwise it can lead to symbol conflicts in projects that already include them).

This is the final blocker for releasing 1.7.0. So, as soon as I'm done, the release will be performed.

chuckx avatar May 31 '22 18:05 chuckx

Hi @chuckx, are we still on track for end of June for the 1.7.0 release?

sethfri avatar Jun 27 '22 04:06 sethfri

Hello, @chuckx any update on this. Using the latest version would be very helpful in simplifying our process a lot.

Thanks.

jyothiyzen avatar Jul 26 '22 15:07 jyothiyzen

Checking to see if there's any progress on this.

oianmol avatar Nov 14 '22 02:11 oianmol