上周,我一直在适当地向iOS应用中添加框架,以便可以将其上载到应用商店。我取出了一些动态框架,并用静态框架替换了它们。但是,我使用的框架之一是静态的(已使用解释here的方法对它进行了仔细检查),但是应用商店仍然不允许我上传它。这样做时,我收到以下消息:
UserInfo = {NSLocalizedDescription =位于/ Users / aaronmednick / Library / Developer / Xcode / Archives / 2018-06-20 / myApp 6-20-18,3.01 PM.xcarchive / Products / Applications / myapp.app / Python.framework / Versions / 2.7”不包含“ archived-expanded-entitlements.xcent”资源。}
作为参考,这是我的输出,用于检查我使用的Python.framework是静态的:
Aarons-MacBook-Air:Python.framework aaronmednick$ ls -l
total 0
lrwxr-xr-x 1 aaronmednick staff 24 Jun 19 20:58 Headers -> Versions/Current/Headers
lrwxr-xr-x 1 aaronmednick staff 23 Jun 19 20:58 Python -> Versions/Current/Python
lrwxr-xr-x 1 aaronmednick staff 26 Jun 19 20:58 Resources -> Versions/Current/Resources
drwxr-xr-x@ 4 aaronmednick staff 128 Jun 19 20:58 Versions
Aarons-MacBook-Air:Python.framework aaronmednick$ file Python
Python: Mach-O universal binary with 5 architectures: [i386:current ar archive] [arm64]
Python (for architecture i386): current ar archive
Python (for architecture armv7): current ar archive
Python (for architecture armv7s): current ar archive
Python (for architecture x86_64): current ar archive
Python (for architecture arm64): current ar archive
在此问题上的任何帮助将不胜感激!