TwitterKit.framework did not contain a "archived-expanded-entitlements.xcent" resource

xcode
swift
ios

#1

Hi,

I’m trying to archive my iOS swift application with TwitterKit integrated to put it on the TestFlight.

I’m getting the following error:
2017-11-08 09:20:30 +0000 [OPTIONAL] Didn’t find archived user entitlements for <DVTFilePath:0x7fd64bc9d700:’/Users/shlomid/Library/Developer/Xcode/Archives/2017-11-08/Mayu 08-11-2017, 11.20.xcarchive/Products/Applications/Mayu.app/Frameworks/TwitterKit.framework’>: Error Domain=NSCocoaErrorDomain Code=4 “Item at “/Users/shlomid/Library/Developer/Xcode/Archives/2017-11-08/Mayu 08-11-2017, 11.20.xcarchive/Products/Applications/Mayu.app/Frameworks/TwitterKit.framework” did not contain a “archived-expanded-entitlements.xcent” resource.” UserInfo={NSLocalizedDescription=Item at “/Users/shlomid/Library/Developer/Xcode/Archives/2017-11-08/Mayu 08-11-2017, 11.20.xcarchive/Products/Applications/Mayu.app/Frameworks/TwitterKit.framework” did not contain a “archived-expanded-entitlements.xcent” resource.}

What might be the problem and how to fix it? The TwitterKit is added to embedded binaries.


#2

Hi, did you solve it?
Thanks!