错误ITMS-90206无效捆绑包含不允许的文件'框架' [英] Error ITMS-90206 Invalid bundle contains disallowed file 'Frameworks'

查看:1111
本文介绍了错误ITMS-90206无效捆绑包含不允许的文件'框架'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在通过Xcode将应用程序上传到商店时遇到问题,尤其是这个问题。





我看到很多关于此错误的帖子,但所有人都在谈论扩展应用,我不使用。



我正在使用自定义框架 Cocoapods



你可以在这里看到我的树:





我将Embedded属性设置为



自定义框架的常规设置 SharedXXX ):





Cocoapods提供的框架已链接。



要完成,



主项目的常规设置(应用项目:树上名为 XXX





有什么想法吗?

解决方案

我解决了问题



首先,设置为构建设置




  • 对于主项目(此处 XXX ):嵌入式内容包含Swift代码


  • 自定义框架( SharedXXX ):嵌入式内容包含Swift代码


  • 自定义框架( SharedXXX ):运行路径搜索路径 = @executable _path /../../ Frameworks




这有助于我解决这个问题


I have a problem uploading my application into the Store via Xcode, this one in particular.

I saw a lot of post about this error, but all are talking about Extension App, that I do not use.

I'm using a Custom framework and Cocoapods.

You can see here my tree :

  • XXX is my project app name
  • SharedXXX is my custom framework
  • Pods is the project created by cocoa pods

Here is my cocoa podFile :

use_frameworks!
link_with 'XXX', 'SharedXXX'
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.1'


workspace 'XXX'

xcodeproj 'XXX/XXX.xcodeproj'
xcodeproj 'Shared/SharedXXX.xcodeproj'

def default_pods
    pod 'Reveal-iOS-SDK', :configurations => ['Debug']
    pod "SnapKit", '~> 0.17.0'
    pod "DKChainableAnimationKit", '~> 1.6.0'
    pod "AsyncSwift"
end

def shared_pods
    pod "Alamofire", '~> 3.0'
    pod 'SwiftyJSON', :git => 'https://github.com/SwiftyJSON/SwiftyJSON.git'
    pod 'ReachabilitySwift', :git => 'https://github.com/ashleymills/Reachability.swift'
end

target :XXX do
    xcodeproj 'XXX/XXX.xcodeproj'
    default_pods
    shared_pods
end

target :XXXDev do
    xcodeproj 'XXX/XXX.xcodeproj'
    default_pods
    shared_pods
end

target :SharedXXX do
    xcodeproj 'Shared/SharedXXXX.xcodeproj'
    shared_pods
end

Build settings for custom framework (SharedXXX) :

I set the Embedded property to Yes

General Settings for custom framework (SharedXXX) :

The framework provided by Cocoapods is linked.

And to finish,

The General Settings to the main project (App Project : called XXX on the tree)

:

Any idea ?

解决方案

I solved the problem

Firstly, set into Build Settings

  • For main project (here XXX) : Embedded Content Contains Swift Code to YES

  • Custom Framework (SharedXXX) : Embedded Content Contains Swift Code to NO

  • Custom Framework (SharedXXX) : Runpath Search Path = @executable_path/../../Frameworks

This helped me solving that issue

这篇关于错误ITMS-90206无效捆绑包含不允许的文件'框架'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆