You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a custom Platform Framework with the same name to a Pod Project and building it locally, there are no issues. However, the following error occurred in Test Flight:
ITMS-90565: Invalid Bundle Structure - - The framework at '/Payload/XXX.app/Frameworks/Matter.framework' is not permitted. Do not include platform frameworks in your app.
This problem was resolved by adding Matter.xcframework to Link Binary With Libraries in the Main Project. However, if Matter.xcframework is not added to vendered_framework in the Pod Project, a No Such Module build error occurs in the Pod Project. If both the Main Project and Pod Project add Matter.framework, the following error occurs:
Multiple commands produce '/Users/XXX/Library/Developer/Xcode/DerivedData/XXXX-ftezoitulfteksaezryqlfozlpvh/Build/Products/TEST-iphoneos/XXX.app/Frameworks/Matter.framework'
this is my podSpec and podfile
- PodSpec
Pod::Spec.new do |spec|
spec.name = "XXXX"
spec.version = "0.0.1"
spec.summary = "A short description of XXXX."
spec.description = "A detail description of XXX."
spec.homepage = "http://example/XXX"
spec.license = "MIT"
spec.author = { "XXX.XXX" => "[XXXX.XXX@XXX.com](mailto:XXX.XXX@XXX.com)" }
spec.platform = :ios, "13.0"
spec.source = { :git => "http://mod.XXX.com/conv/IoTService_iOS", :tag => "#{spec.version}" }
spec.source_files = ["XXX/**/*.{h,m,swift}"]
spec.exclude_files = "Classes/Exclude"
spec.vendored_frameworks = "Frameworks/IotManagerLib.framework" , "Frameworks/Matter.xcframework"
spec.dependency 'RxSwift'
spec.dependency 'Moya'
end
What did you expect to happen?
What I want is for the ITMS-90565: Invalid Bundle Structure error not to occur on TestFlight when I submit it by adding the Platform Framework, Matter.xcframework.
Is it possible to reference the Embed Framework in the Main Project from the Pod Project?
Can I add the modified Matter.xcframework to Link Binary with Libraries in the Pod Project?
CocoaPods Environment
ℹ Please replace these two lines with the output of pod env.
# Uncomment the next line to define a global platform for your project# platform :ios, '9.0'workspace'IotServiceTestApp'target'IotServiceTestApp'do# Comment the next line if you don't want to use dynamic frameworksuse_frameworks!# Pods for IotServiceTestApppod'RxSwift'pod'Moya'pod'XXXX',:path=>'./../XXXX'end
The text was updated successfully, but these errors were encountered:
I have spoken with someone from Apple Developer Support, and they said that 'Matter.xcframework' is a reserved name. I have not tried it yet, but I hope I only need to rename the framework, and not its header files.
Report
What did you do?
When adding a custom Platform Framework with the same name to a Pod Project and building it locally, there are no issues. However, the following error occurred in Test Flight:
This problem was resolved by adding Matter.xcframework to Link Binary With Libraries in the Main Project. However, if Matter.xcframework is not added to vendered_framework in the Pod Project, a No Such Module build error occurs in the Pod Project. If both the Main Project and Pod Project add Matter.framework, the following error occurs:
this is my podSpec and podfile
What did you expect to happen?
What I want is for the ITMS-90565: Invalid Bundle Structure error not to occur on TestFlight when I submit it by adding the Platform Framework, Matter.xcframework.
Is it possible to reference the Embed Framework in the Main Project from the Pod Project?
Can I add the modified Matter.xcframework to Link Binary with Libraries in the Pod Project?
CocoaPods Environment
ℹ Please replace these two lines with the output of
pod env
.Stack
Installation Source
Plugins
Podfile
The text was updated successfully, but these errors were encountered: