-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Issue description:
I attempted to add the MailCoreSPM in Xcode through the Swift Package Manager. Although I successfully added it, I encountered the following error:
/Users/dannyvfilms/Library/Developer/Xcode/DerivedData/mailcore2-test-dlmendkkrwoorvbfeaxdzjcidhkm/SourcePackages/checkouts/MailCoreSPM/artifacts/MailCore.xcframework:1:1 While building for iOS Simulator, no library for this platform was found in '/Users/dannyvfilms/Library/Developer/Xcode/DerivedData/mailcore2-test-dlmendkkrwoorvbfeaxdzjcidhkm/SourcePackages/checkouts/MailCoreSPM/artifacts/MailCore.xcframework'.
My Mac has an Apple Silicon, and my project's build setting for Architectures is set to 'Standard Architectures (arm64)'.
Environment:
- Xcode version: 14.3.1 (14E300c)
- Swift version: 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
- macOS version: Ventura 13.1
- MailCoreSPM version: The latest master branch from the Swift Package Manager
- iOS Deployment Target: 16.4
Steps to reproduce:
- Created a new project in Xcode.
- Tried to add
MailCoreSPMfrom the Swift Package Manager.
Expected outcome:
The package is added successfully and I can import it in my project without issues.
Actual outcome:
I received the error:
/Users/dannyvfilms/Library/Developer/Xcode/DerivedData/mailcore2-test-dlmendkkrwoorvbfeaxdzjcidhkm/SourcePackages/checkouts/MailCoreSPM/artifacts/MailCore.xcframework:1:1 While building for iOS Simulator, no library for this platform was found in '/Users/dannyvfilms/Library/Developer/Xcode/DerivedData/mailcore2-test-dlmendkkrwoorvbfeaxdzjcidhkm/SourcePackages/checkouts/MailCoreSPM/artifacts/MailCore.xcframework'.