Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INTEGRATION] #49

Closed
DioGnDev opened this issue Sep 13, 2023 · 3 comments
Closed

[INTEGRATION] #49

DioGnDev opened this issue Sep 13, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@DioGnDev
Copy link

Describe the bug
impact for all of my unit test, no such module AgoraRtcKit

To Reproduce
Steps to reproduce the behavior:

  1. add .package(
    url: "https://github.com/AgoraIO/AgoraRtcEngine_iOS",
    exact: "4.2.2"
    ) to SPM Module
  2. target dependencies: [ .product(name: "RtcBasic", package: "AgoraRtcEngine_iOS") ]
  3. Just run common unit test
  4. See error
Referenced from: <C4BD9BAA-6BCD-3BD0-B571-F26D7B9A8DAC> /Users/diiyo/Library/Developer/Xcode/DerivedData/Perqara-cnhuypusaxncxcborxzzqcvcvuag/Build/Products/Debug-iphonesimulator/AthenaiOSTests.xctest/AthenaiOSTests
 Reason: tried: '/Users/diiyo/Library/Developer/Xcode/DerivedData/Perqara-cnhuypusaxncxcborxzzqcvcvuag/Build/Products/Debug-iphonesimulator/AgoraRtcKit.framework/AgoraRtcKit' (code signature in <1E33CDC3-97F3-3750-8053-8705789E9E2E> '/Users/diiyo/Library/Developer/Xcode/DerivedData/Perqara-cnhuypusaxncxcborxzzqcvcvuag/Build/Products/Debug-iphonesimulator/AgoraRtcKit.framework/AgoraRtcKit' not valid for use in process: Trying to load an unsigned library), '/Users/diiyo/Library/Developer/Xcode/DerivedData/Perqara-cnhuypusaxncxcborxzzqcvcvuag/Build/Products/Debug-iphonesimulator/PackageFrameworks/AgoraRtcKit.framework/AgoraRtcKit' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/AgoraRtcKit.framework/AgoraRtcKit' (no such file)
@DioGnDev DioGnDev added the bug Something isn't working label Sep 13, 2023
@maxxfrazer
Copy link
Contributor

maxxfrazer commented Sep 15, 2023

@DioGnDev this seems very similar to an issue other developers are having when including XCFramework packages, only with the modular configurations. When you import the SDK in the xcodeproject the other way the issue does not persist:

#13 (comment)

https://developer.apple.com/forums/thread/651343?answerId=757417022#757417022

There doesn't seem to be anything we can do but use the other import methods, or bother Apple until it's fixed in Xcode.

@DioGnDev
Copy link
Author

Thank you for your response Mr. Maxx

@maxxfrazer
Copy link
Contributor

Going to close this issue as a duplicate of #45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants