openimsdk / open-im-sdk-ios

An OpenIM SDK in Objective-C for iOS
https://openim.io
MIT License
151 stars 140 forks source link

Bug: <After Pod install OpenIMSDK, project build failed> #38

Closed AnnaSearl closed 4 months ago

AnnaSearl commented 4 months ago

What happened?

image

'/Users/arwen/Library/Developer/Xcode/DerivedData/OpenIMDemo-febbujwezrkaoagqzrfuzldenujw/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/OpenIMSDKCore/OpenIMCore.framework/Versions/A/OpenIMCore[arm64]2' has malformed LC_DYSYMTAB, expected 108 undefined symbols to start at index 27862, found 260 undefined symbols starting at index 65

What did you expect to happen?

Project build success

How can we reproduce it (as minimally and precisely as possible)?

  1. New a iOS project
  2. Pod install OpenIMSDK (3.5.0-rc1)
  3. Build project

Anything else we need to know?

No response

version

Xcode 15.2 OpenIMSDK 3.5.0-rc1

Cloud provider

OS version

MacOS Sonama 14.0

Install tools

AnnaSearl commented 4 months ago

After testing, it was found that the above problems will occur when creating a new Objective-C project, but not in Swift projects. This is also why the official Swift demo can run normally.

AnnaSearl commented 4 months ago

This issue was resolved after upgrading to Xcode 15.3 beta 3