profile
viewpoint

Ask questionsSupport SwiftPM command line

Hello, I’m using your SDK as a Swift Package and it prevents swift test from working with my own package. Steps to reproduce:

git clone https://github.com/microsoft/appcenter-sdk-apple
cd appcenter-sdk-apple
swift test
...
/Users/vadim/Projects/appcenter-sdk-apple/AppCenterCrashes/AppCenterCrashes/Model/MSErrorAttachmentLog.m:4:9: fatal error: 'MSCrashesUtil.h' file not found
#import "MSCrashesUtil.h"
        ^~~~~~~~~~~~~~~~~
clang: warning: -framework Foundation: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -framework Foundation: 'linker' input unused [-Wunused-command-line-argument]
/Users/vadim/Projects/appcenter-sdk-apple/AppCenterCrashes/AppCenterCrashes/Internals/Util/MSErrorLogFormatter.m:49:9: fatal error: 'MSAppCenterInternal.h' file not found
#import "MSAppCenterInternal.h"
        ^~~~~~~~~~~~~~~~~~~~~~~
/Users/vadim/Projects/appcenter-sdk-apple/AppCenterCrashes/AppCenterCrashes/Internals/Util/MSApplicationForwarder.m:6:9: fatal error: 'MSAppCenterInternal.h' file not found
#import "MSAppCenterInternal.h"
        ^~~~~~~~~~~~~~~~~~~~~~~
/Users/vadim/Projects/appcenter-sdk-apple/AppCenterCrashes/AppCenterCrashes/MSCrashes.mm:10:9: fatal error: 'MSAppCenterInternal.h' file not found
#import "MSAppCenterInternal.h"
        ^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
...
  1. Which SDK version are you using?
    • 3.3.2
  2. Which OS version did you experience the issue on?
    • macOS 11 Beta 3, Xcode 12 Beta 3

Thanks!

microsoft/appcenter-sdk-apple

Answer questions shpakovski

@Jamminroot Thanks a lot for the quick reply! The best of luck with resolving this 🤞

useful!
source:https://uonfu.com/
Github User Rank List