Closed otymartin closed 7 years ago
Have you tried accepted answer:
_Turns out the error is related to using Swift (both the app and the extension make use of Swift).
For the app, I had to set:
Embedded Content Contains Swift Code: YES and for the extension:
Embedded Content Contains Swift Code: NO In the build settings. It really wasn't clear at all from the error message that this was the issue, but it did in fact resolve it._
@huynguyencong I dont have that option Embedded content contains swift code
. I dont see it in xcode 8 for iMessage app
or its containing app
Update*\ Actually i see it now so let me try to solve
@huynguyencong No luck it didnt work. Im attempting apples solution here but it keeps telling me DataCache location not found. really frustrating why apple release xcode 8 without support for 3rd party extensions like we are used to.
I have no idea how to fix. If you can't find a solution, you can download file DataCache.swift, and add it to your project like a normal source file, and remove pod in Podfile. Sorry because I can't help you.
@huynguyencong I'm using this library in an iMessage Sticker app.
When submitting my build to iTunes for review, I got these errors.
The solution I found from this stackoverflow thread was to run this script in the
MessagesExtension
build phase.But the problem is when I do this, xcode gives this error
Apple provides a work around here but it doesnt specifically address frameworks embedded with cocoapods so i dont know how to follow it.
My Pods