I have a few dependencies for a project (managed via Cocoapods) that I'm having trouble getting to compile under Catalyst, but compile fine for iOS.
- Create new Xcode project
- Create Podfile with two pods: "DTCoreText" (an HTML parser) and "Mantle" (helps with object modeling), so something like this:
platform :ios, '12.0'
target 'TestProj' do
use_frameworks!
pod "DTCoreText"
pod "Mantle"
end
- Compile project with Catalyst
I get the following error to begin with:
Signing for "DTCoreText-Resources" requires a development team. Select a development team in the Signing & Capabilities editor.
Odd, but easy enough, under the target in Pods I add my account as the signing profile. Recompile.
New error!
DTCoreText/Resources.bundle: Is a directory Command CodeSign failed with a nonzero exit code
So it seems what I just signed is unable to be signed because it's a directory.
(Weirdly, this error doesn't present if I remove the "Mantle" dependency, which I'd rather not do)
What should I do?
DTCoreText: https://github.com/Cocoanetics/DTCoreText
Mantle: https://github.com/Mantle/Mantle
Both are Objective-C based.