facebook / facebook/facebook-ios-sdk

Xcode 15 - duplicate

Open
#2,262 0 comments 1 reaction 0 assignees View on GitHub
bug needs-triage
Dominant language
Swift
Stars
8.1k
Forks
3.7k
PR merge metrics
No merged PRs in 30d

Description

### Checklist before submitting a bug report

- [X] I've updated to the latest released version of the SDK
- [X] I've searched for existing [GitHub issues](https://github.com/facebook/facebook-ios-sdk/issues)
- [X] I've looked for existing answers on [Stack Overflow](https://facebook.stackoverflow.com), the [Facebook Developer Community Forum](https://developers.facebook.com/community/) and the [Facebook Developers Group](https://www.facebook.com/groups/fbdevelopers)
- [X] I've read the [Code of Conduct](https://github.com/facebook/facebook-ios-sdk/blob/main/CODE_OF_CONDUCT.md)
- [X] This issue is not security related and can safely be disclosed publicly on GitHub

### Xcode version

15.0.0

### Facebook iOS SDK version

16.1.3

### Dependency Manager

SPM

### SDK Framework

Core

### Goals

Run the app

### Expected results

Run the app

### Actual results

Crash at startup

### Steps to reproduce

Install FB and Snap SDK, both updated to latest version.

How can I solve this kind of error?

Thanks

### Code samples & details

```swift
Class FBTweakViewController
...
FBTweakNumericRange
FBTweak
FBTweakCollection
FBTweakShakeWindow
FBTweakStore
_FBTweakBindObserver

is implemented in both

/Users/user/Library/Developer/CoreSimulator/Devices/...../MyApp.app/Frameworks/SCSDKCoreKit.framework/SCSDKCoreKit (0x11ba35a30)

and

/Users/user/Library/Developer/CoreSimulator/Devices/..../MyApp.app/Frameworks/SCSDKCameraKit.framework/SCSDKCameraKit (0x1209c0338).

One of the two will be used. Which one is undefined.

objc[34883]: Swift class extensions and categories on Swift classes are not allowed to have +load methods

```
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.