Skip to content

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

@dannyvfilms

Description

@dannyvfilms

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'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions