MailCoreSPM icon indicating copy to clipboard operation
MailCoreSPM copied to clipboard

[Issue] - Error: No library for iOS Simulator found in MailCore.xcframework

Open dannyvfilms opened this issue 1 year ago • 1 comments

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:

  1. Created a new project in Xcode.
  2. Tried to add MailCoreSPM from 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'.

dannyvfilms avatar Jun 08 '23 02:06 dannyvfilms

Having the same issue. Wondering if it's possible to somehow use both frameworks.

Gryzle avatar Dec 17 '23 15:12 Gryzle