TextExpander / TextExpanderTouchSDK

TextExpander touch SDK
85 stars 13 forks source link

Build fails with Xcode 12.3 #23

Open mihhail-lapushkin opened 3 years ago

mihhail-lapushkin commented 3 years ago

Framework includes architectures for both iOS and the Simulator.

It used to fail only when uploading to App Store. This was the workaround: https://stackoverflow.com/a/53267826/3216017

Now Xcode actually fails the build:

Building for iOS Simulator, but the linked and embedded framework 'TextExpander.framework' was built for iOS + iOS Simulator.

Luckily, you can still make the error into a warning with this: https://stackoverflow.com/questions/63267897/building-for-ios-simulator-but-the-linked-framework-framework-was-built/65306886#65306886

Please have a look.

gscown commented 3 years ago

I believe we can solve this with an xcframework built with arm64 for iOS and both x86_64 and arm64 for iOS Simulator. Here's a try at that:

https://smilesoftware.com/downloads/test/2021-01-12-TextExpander.xcframework.zip

Feedback welcome.

mihhail-lapushkin commented 3 years ago

It builds and runs on the device and in the simulator. 👍