Skip to content

[Bug]: 8.1.0 breaks support for iOS 15 due to requiring SwiftUiCore #44

@ptmkenny

Description

@ptmkenny

Current Behavior

After upgrading this plugin from 8.0.2 to 8.1.0, when I build in Xcode and then attempt to launch on an iOS 15 test device, I get a crash on launch:

dyld[2206]: Library not loaded: '/System/Library/Frameworks/SwiftUICore.framework/SwiftUICore'
  Referenced from: '/private/var/containers/Bundle/Application/3DB541D3-9F80-4A77-A92B-B2AE42380357/App.app/App'
  Reason: tried: '/System/Library/Frameworks/SwiftUICore.framework/SwiftUICore' (no such file)
Library not loaded: '/System/Library/Frameworks/SwiftUICore.framework/SwiftUICore'
  Referenced from: '/private/var/containers/Bundle/Application/3DB541D3-9F80-4A77-A92B-B2AE42380357/App.app/App'
  Reason: tried: '/System/Library/Frameworks/SwiftUICore.framework/SwiftUICore' (no such file)

Expected Behavior

Minor versions of plugin updates do not break compatibility on previously supported versions of iOS.

Reproduction

just add the latest version of the camera plugin to a test project and build on iOS 15

Screenshots / Media

No response

Environment Details

💊   Capacitor Doctor  💊

Latest Dependencies:

  @capacitor/cli: 8.3.1
  @capacitor/core: 8.3.1
  @capacitor/android: 8.3.1
  @capacitor/ios: 8.3.1

Installed Dependencies:

  @capacitor/cli: 8.3.0
  @capacitor/core: 8.3.0
  @capacitor/android: 8.3.0
  @capacitor/ios: 8.3.0

Versions Affected

8.1.0

Platforms Affected

  • iOS
  • Android
  • Web

Notes / Comments

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions