Hi guys,
Im trying use a framework generated by cmake for mac catalyst, but it is not working when try use on xcode:
mkdir -p /Users/paulo/Library/Developer/Xcode/DerivedData/Sample-abxdtyhuvlqxbfhcnvbmzhxhtwjl/Build/Products/Debug-maccatalyst/Sample.app/Contents/Frameworks
rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "/Users/paulo/Library/Developer/Xcode/DerivedData/Sample-abxdtyhuvlqxbfhcnvbmzhxhtwjl/Build/Products/Debug-maccatalyst/XCFrameworkIntermediates/ezored/ezored.framework" "/Users/paulo/Library/Developer/Xcode/DerivedData/Sample-abxdtyhuvlqxbfhcnvbmzhxhtwjl/Build/Products/Debug-maccatalyst/Sample.app/Contents/Frameworks"
building file list ... done
ezored.framework/
ezored.framework/Resources -> Versions/Current/Resources
ezored.framework/ezored
ezored.framework/Versions/
ezored.framework/Versions/Current -> A
ezored.framework/Versions/A/
ezored.framework/Versions/A/ezored
ezored.framework/Versions/A/Resources/
ezored.framework/Versions/A/Resources/Info.plist
sent 14834067 bytes received 122 bytes 29668378.00 bytes/sec
total size is 14831824 speedup is 1.00
Code Signing /Users/paulo/Library/Developer/Xcode/DerivedData/Sample-abxdtyhuvlqxbfhcnvbmzhxhtwjl/Build/Products/Debug-maccatalyst/Sample.app/Contents/Frameworks/ezored.framework with Identity Apple Development: Paulo Coutinho (Z65H7K3Q57)
/usr/bin/codesign --force --sign E8448F0FCA295D97E6B8ECBC76998F0E33701438 --preserve-metadata=identifier,entitlements '/Users/paulo/Library/Developer/Xcode/DerivedData/Sample-abxdtyhuvlqxbfhcnvbmzhxhtwjl/Build/Products/Debug-maccatalyst/Sample.app/Contents/Frameworks/ezored.framework'
/Users/paulo/Library/Developer/Xcode/DerivedData/Sample-abxdtyhuvlqxbfhcnvbmzhxhtwjl/Build/Products/Debug-maccatalyst/Sample.app/Contents/Frameworks/ezored.framework: bundle format is ambiguous (could be app or framework)
Command PhaseScriptExecution failed with a nonzero exit code
The main error is:
ezored.framework: bundle format is ambiguous (could be app or framework)
The project iOS sample can be downloaded and executed from my project ezored (GitHub - ezored/ezored at version-3). The folder is “projects/ios/Sample”. To fast open, execute:
cd projects/ios/Sample
make pods-update
open Sample.xcworkspace
But if only want the framework, it can be downloaded from here:
https://ezored.s3.amazonaws.com/dist/ios/1.0.0/dist.tar.gz
Can anyone help me what is wrong?