Post

Replies

Boosts

Views

Activity

Collection and Index error on Xcode 16
Hi, After update to Xcode 16 a lot of errors happen, for example: import Foundation extension Collection {     func get(at i: Index) -> Element? {         return indices.contains(i) ? self[i] : nil     } } Errors: Cannot find type 'Index' in scope Cannot find 'indices' in scope What is wrong? Thanks.
5
0
639
Sep ’24
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
1.1k
Feb ’21