上传到 App Store 时遇到此错误:
ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'mobile.app/Frameworks/Pods_mobile.framework/Pods_mobile' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure."
Run Code Online (Sandbox Code Playgroud)
我搜索了所有类似的帖子并尝试了所有这些建议:
- Always Embed Swift Standard Library = [true, false, $(inherited)]
- Build Phases -> Copy Bundle Resources ->确保其没有框架
- 确保设置配置文件正确。
- 仅构建主动架构 = [true, false]
构建阶段: [CP] Embed Pods Frameworks …
我正在使用tastypie返回一个资源,其中一个字段是阿拉伯语,因此需要使用UTF-8和Unicode,这是我假设运行其模式的情况:
"word":{...,"help_text":"Unicode字符串数据.例如:\"Hello World \"",...}
这里是json返回的示例,请注意单词的乱码字段:{"approved":false,"id":12,"resource_uri":"/ api/v1/resource/12 /","word":"اه "}