Cannot start xctest in macOS application - unable to load because it is damaged or missing required resources

Please help me in this scenario. I saw several posts related to this, but couldn't solve the problem with my mac app without containers .

A few years project developed in macOS (Objective-C) . Now I'm trying to use XCTest for unit testing. Using Xcode 7.3.1, I cannot run test classes.

This project is intended to create a framework work. The project is working fine, only the problem is testing. We should not do Pods or other alternatives.

The following items are displayed in the console window:

xctest [35530: 345970] The BaseLibTests package could not be downloaded because it is damaged or the required resources are missing. Try reinstalling the package. xctest [35530: 345970] dlopen_preflight (/Users/12345678/Documents/Modify/Cocoa/Projects/BaseLib/build/Debug/BaseLibTests.xctest/Contents/MacOS/BaseLibTests): library not loaded: @executable_ FreeTDS.framework / Version / A / FreeTDS Link from: /Users/12345678/Documents/Modify/Cocoa/Projects/BaseLib/build/Debug/BaseLib.framework/Versions/Current/BaseLib Cause: No suitable image was found. Found: /Library/Frameworks/FreeTDS.framework/Versions/A/FreeTDS: there is no corresponding architecture in the universal shell) The program ended with exit code: 82

+4
1

@Anand : .

, , Standard Architectures (64-bit Intel) (x86_64) - $(ARCHS_STANDARD), .

settings

, , , env build?

+1

Source: https://habr.com/ru/post/1680485/


All Articles