Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dsymutil warning #36

Closed
Mad-Thanos opened this issue Aug 8, 2020 · 0 comments
Closed

dsymutil warning #36

Mad-Thanos opened this issue Aug 8, 2020 · 0 comments

Comments

@Mad-Thanos
Copy link

while linking with MNNFaceDetection.framework 0.0.4, xcode dysmutil spit out these warnings:

warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3KUL5D6HFMZKL/Darwin-MI6WZSG1PNOM.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3KUL5D6HFMZKL/Darwin-MI6WZSG1PNOM.pcm
note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3KUL5D6HFMZKL/_Builtin_intrinsics-1NVMHOZAVFWA2.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3KUL5D6HFMZKL/_Builtin_intrinsics-1NVMHOZAVFWA2.pcm
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/Foundation-A3SOD99KJ0S9.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/Foundation-A3SOD99KJ0S9.pcm
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/CommonCrypto-2BKBWM9L7D2GS.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/CommonCrypto-2BKBWM9L7D2GS.pcm
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/Darwin-MI6WZSG1PNOM.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/Darwin-MI6WZSG1PNOM.pcm
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/MachO-CA7UA9IK83JK.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/MachO-CA7UA9IK83JK.pcm
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/ObjectiveC-1KD62J152BYGO.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/ObjectiveC-1KD62J152BYGO.pcm
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/Dispatch-12O7S7HHQXK9N.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/Dispatch-12O7S7HHQXK9N.pcm
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/zlib-MI6WZSG1PNOM.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/zlib-MI6WZSG1PNOM.pcm
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/CoreMotion-RZ4DJFEI29KM.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/CoreMotion-RZ4DJFEI29KM.pcm
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/LocalAuthentication-1HUI0898YUD5H.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/LocalAuthentication-1HUI0898YUD5H.pcm
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/CoreLocation-DJ7O04274VT4.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/CoreLocation-DJ7O04274VT4.pcm
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/CoreTelephony-SKNXW9OJAIWC.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/CoreTelephony-SKNXW9OJAIWC.pcm
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/UIKit-2LM3EQU7VVY4O.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/UIKit-2LM3EQU7VVY4O.pcm
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/AdSupport-2ZX7501G6C1T6.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/AdSupport-2ZX7501G6C1T6.pcm
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/CoreGraphics-1TH4RJJRQVFOC.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/CoreGraphics-1TH4RJJRQVFOC.pcm
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/CoreFoundation-10I2D2XL7L7X9.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/CoreFoundation-10I2D2XL7L7X9.pcm
warning: /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/SystemConfiguration-2O070L5BFB5B1.pcm: No such file or directory
note: while processing /Users/tsia/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2MSIKR0H4Y5WQ/SystemConfiguration-2O070L5BFB5B1.pcm

As the warning suggested:

Redistributable static libraries should never be built with module debugging enabled. The debug experience will be degraded due to incomplete debug information.

I believe tsia in the warning message might be your developer machine, simply grep, I got:

grep -r 'tsia' ./Pods/
Binary file ./Pods//MNNKitCore/MNNKitCore.framework/MNNKitCore matches
Binary file ./Pods//MNNFaceDetection/MNNFaceDetection.framework/MNNFaceDetection matches

So if possible, please disable debugging of the MNNKitCore and MNNFaceDetection library module, check if -gmodules was disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant