xcbeautify icon indicating copy to clipboard operation
xcbeautify copied to clipboard

xcodebuild stock at some error

Open mlch911 opened this issue 1 year ago • 7 comments

My project in xcode14 would build with some error like this:

❌  error: Dependency for P1:target-MyApp-fce55c0e14fedcc57d73ec039f604d040bdc1e3e5eb2ad770e53e15b1d5e91df-:Ad-Hoc-Mirror:SwiftDriver Compilation Requirements xiaoheihe normal arm64 com.apple.xcode.tools.swift.compiler is not absolute (Pods/Headers/Public/ActionSheetPicker_3_0/ActionSheetPicker-3.0.modulemap). (in target 'MyApp' from project 'MyApp')

And xcbeautify will stock after encounter such error.

mlch911 avatar Sep 22 '22 10:09 mlch911

@mlch911 What is the raw log for that?

thii avatar Sep 22 '22 12:09 thii

Sorry, I don't know where exactly it stock. The last line xcbeautify out put is:

❌ fatal error: module 'HBOCPublicModule' in AST file '/Users/heybox/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/SF83LFHXA1CY/HBOCPublicModule-QNU6VJXNISEB.pcm' (imported by AST file '/Users/heybox/Library/Developer/Xcode/DerivedData/MyApp-chksebnzlrnrkmfgylmcnhkzmzoq/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/PrecompiledHeaders/MyApp-Bridging-Header-swift_3TD98KNMACULZ-clang_SF83LFHXA1CY.pch') is not defined in any loaded module map file; maybe you need to load '/Users/heybox/heybox_ios/Pods/Headers/Public/HBOCPublicModule/HBOCPublicModule.modulemap'?

I checked the raw log. There is 1000+ warning after this line. Don't where exactly it stock.

mlch911 avatar Sep 23 '22 02:09 mlch911

This is what I got using xcpretty. But xcbeautify will stock at the first line. After the first error, there would be 1000+ lines of the same error like the second line. Maybe xcbeautify stock with so many errors...

❌  fatal error: module 'HBOCPublicModule' in AST file '/Users/heybox/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/SF83LFHXA1CY/HBOCPublicModule-QNU6VJXNISEB.pcm' (imported by AST file '/Users/heybox/Library/Developer/Xcode/DerivedData/xiaoheihe-chksebnzlrnrkmfgylmcnhkzmzoq/Build/Intermediates.noindex/ArchiveIntermediates/小黑盒/PrecompiledHeaders/xiaoheihe-Bridging-Header-swift_3TD98KNMACULZ-clang_SF83LFHXA1CY.pch') is not defined in any loaded module map file; maybe you need to load '/Users/heybox/heybox_ios/Pods/Headers/Public/HBOCPublicModule/HBOCPublicModule.modulemap'?▸ Processing Info.plist

❌  error: Dependency for P1:target-xiaoheihe-fce55c0e14fedcc57d73ec039f604d040bdc1e3e5eb2ad770e53e15b1d5e91df-:Ad-Hoc-Mirror:SwiftDriver Compilation Requirements xiaoheihe normal arm64 com.apple.xcode.tools.swift.compiler is not absolute (Pods/Headers/Public/FBLPromises/PromisesObjC-iOS11.0-umbrella.h). (in target 'xiaoheihe' from project 'xiaoheihe')
.....a lot of error just like the last line.....

continue building...

mlch911 avatar Sep 23 '22 03:09 mlch911

@mlch911 Would you be able to email me the raw log?

thii avatar Sep 24 '22 08:09 thii

@mlch911 Would you be able to email me the raw log?

Yes,please tell me your email address.

mlch911 avatar Sep 26 '22 02:09 mlch911

@mlch911 You can find my email address from git log

thii avatar Sep 26 '22 02:09 thii

@mlch911 You can find my email address from git log

I have sent.

mlch911 avatar Sep 26 '22 03:09 mlch911