mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
[debug]: enabled back appropriate preprocessor debug blocks as before wherever applicable
This commit is contained in:
@@ -244,13 +244,14 @@ private extension ResignAppOperation
|
||||
{
|
||||
for case let fileURL as URL in enumerator
|
||||
{
|
||||
// #if DEBUG
|
||||
// guard !fileURL.lastPathComponent.lowercased().contains(".xctest") else {
|
||||
// // Remove embedded XCTest (+ dSYM) bundle from copied app bundle.
|
||||
// try FileManager.default.removeItem(at: fileURL)
|
||||
// continue
|
||||
// }
|
||||
// #endif
|
||||
// for both sim and device, in debug mode builds, remove the tests bundles (if any)
|
||||
#if DEBUG
|
||||
guard !fileURL.lastPathComponent.lowercased().contains(".xctest") else {
|
||||
// Remove embedded XCTest (+ dSYM) bundle from copied app bundle.
|
||||
try FileManager.default.removeItem(at: fileURL)
|
||||
continue
|
||||
}
|
||||
#endif
|
||||
|
||||
guard let appExtension = Bundle(url: fileURL) else { throw ALTError(.missingAppBundle) }
|
||||
try prepare(appExtension)
|
||||
|
||||
Reference in New Issue
Block a user