Post

Replies

Boosts

Views

Activity

Mac Catalyst xcframework cannot be signed from Xcode
Hi, I have a Mac Catalyst xcframework (ios, simulator, catalyst) that cannot be signed by Xcode, but was generated by it. The xcframework is from my project ezored: https://github.com/ezored/ezored You can see download link of xcframework on latest post here (apple don't let me post download link here): https://github.com/ezored/ezored/issues/20#issuecomment-787029818 But the sample is here: https://github.com/ezored/ezored/tree/master/projects/ios The error is: shell dyld: Library not loaded: @loader_path/Frameworks/ezored.framework/Versions/A/ezored  Referenced from: /Users/paulo/Library/Developer/Xcode/DerivedData/Sample-abxdtyhuvlqxbfhcnvbmzhxhtwjl/Build/Products/Debug-maccatalyst/Sample.app/Contents/MacOS/Sample  Reason: no suitable image found. Did find: /Users/paulo/Library/Developer/Xcode/DerivedData/Sample-abxdtyhuvlqxbfhcnvbmzhxhtwjl/Build/Products/Debug-maccatalyst/ezored.framework/ezored: code signature in (/Users/paulo/Library/Developer/Xcode/DerivedData/Sample-abxdtyhuvlqxbfhcnvbmzhxhtwjl/Build/Products/Debug-maccatalyst/ezored.framework/ezored) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed. /Users/paulo/Library/Developer/Xcode/DerivedData/Sample-abxdtyhuvlqxbfhcnvbmzhxhtwjl/Build/Products/Debug-maccatalyst/ezored.framework/Versions/A/ezored: code signature in (/Users/paulo/Library/Developer/Xcode/DerivedData/Sample-abxdtyhuvlqxbfhcnvbmzhxhtwjl/Build/Products/Debug-maccatalyst/ezored.framework/Versions/A/ezored) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed. (lldb)  I tried a lot of things and nothing. Can anyone help me?
0
0
1k
Feb ’21
Clang not emit LC_VERSION_MIN when target is Mac Catalyst
Hi,Clang not emit LC_VERSION_MIN when target is Mac Catalyst.Example:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang hello.c -o myapp -mmacosx-version-min=10.15 -target x86_64-apple-ios13.0-macabiotool -l myapp | grep LC_VERSIONOUTPUT: EMPTYBut if i compile without target and min sdk 10.9 this information is emitted tto binary, example:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang test_package/hello.c -o ***** -mmacosx-version-min=10.9otool -l myapp | grep LC_VERSIONOUTPUT: cmd LC_VERSION_MIN_MACOSXCan anyone help me?Thanks.
5
0
2.4k
Dec ’19
XCode variable to know xcframework used
Hi,I have generated xcframework with Mac Catalyst support.Inside my xcframework i have:- ios-armv7_armv7s_arm64_arm64e- ios-x86_64-maccatalyst- ios-x86_64-simulatorWhat XCode variable represent the internal framework used inside xcframework?Or what XCode variable will return "ios-x86_64-maccatalyst" for example?I need this because my headers is inside "ios-x86_64-maccatalyst/Ezored.framework/Headers" and on XCode today im using:$(SRCROOT)/../../../dist/ios_framework/$(CONFIGURATION)/Ezored.xcframework/ios-x86_64-maccatalyst/Ezored.framework/HeadersSo i want remove "ios-x86_64-maccatalyst" and use correct variable to be agnostic.This is my project called ezored (https://ezored.com) with Mac Catalyst support. More info and video abbout it working is here:https://github.com/ezored/ezored/issues/20Thanks for any help on it.
0
0
740
Dec ’19