Reputation: 1146
I made a simple blank project and added Bugsee via swift-package-manager.
Its located on https://github.com/bugsee/spm.
I can successfully build project for iOS Device.
But it fails for Simulator. And the error is not really verbose (the path is shortened):
Cannot open file handle for file at path: Path(str: ".../Bugsee.xcframework/ios-arm64_i386_x86_64-simulator/Bugsee.framework")
What does it mean?
The path is valid and the framework is there:
I also found that build for simulator is OK after I have added Bugsee.xcframework into Frameworks, Libraries, and Embedded Content.
Does anyone know what's wrong?
Upvotes: 5
Views: 804
Reputation: 1146
It looks like SPM in Xcode have an issue with i386 arch. Bugsee released 1.28.0 with dropped support for i386 arch. And now Xcode starts building fine for simulator. I think i should create a ticket in SPM tracker.
Upvotes: 1