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

Cannot include package with binary target #153

Closed
pswaminathan opened this issue Jan 14, 2023 · 16 comments
Closed

Cannot include package with binary target #153

pswaminathan opened this issue Jan 14, 2023 · 16 comments
Assignees
Milestone

Comments

@pswaminathan
Copy link

Probably mirrors cgrindel/rules_spm#175, but figured I would leave it here for completeness. Example is Firebase:

.package(url: "https://github.com/firebase/firebase-ios-sdk", .exact("8.9.1")),
ERROR: An error occurred during the fetch of repository 'swiftpkg_firebase_ios_sdk':
   Traceback (most recent call last):
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/cgrindel_swift_bazel/swiftpkg/internal/swift_package.bzl", line 50, column 28, in _swift_package_impl
		pkg_info = pkginfos.get(repository_ctx, directory, env = env)
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/cgrindel_swift_bazel/swiftpkg/internal/pkginfos.bzl", line 71, column 33, in _get
		return _new_from_parsed_json(
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/cgrindel_swift_bazel/swiftpkg/internal/pkginfos.bzl", line 273, column 35, in _new_from_parsed_json
		_new_target_from_json_maps(
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/cgrindel_swift_bazel/swiftpkg/internal/pkginfos.bzl", line 159, column 23, in _new_target_from_json_maps
		return _new_target(
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/cgrindel_swift_bazel/swiftpkg/internal/pkginfos.bzl", line 564, column 24, in _new_target
		validations.in_list(
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/cgrindel_swift_bazel/swiftpkg/internal/validations.bzl", line 10, column 13, in _in_list
		fail(err_msg, value)
Error in fail: Unrecognized target type. type: binary
ERROR: /Users/p/Code/ergatta/arm2/WORKSPACE:113:19: fetching swift_package rule //external:swiftpkg_firebase_ios_sdk: Traceback (most recent call last):
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/cgrindel_swift_bazel/swiftpkg/internal/swift_package.bzl", line 50, column 28, in _swift_package_impl
		pkg_info = pkginfos.get(repository_ctx, directory, env = env)
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/cgrindel_swift_bazel/swiftpkg/internal/pkginfos.bzl", line 71, column 33, in _get
		return _new_from_parsed_json(
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/cgrindel_swift_bazel/swiftpkg/internal/pkginfos.bzl", line 273, column 35, in _new_from_parsed_json
		_new_target_from_json_maps(
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/cgrindel_swift_bazel/swiftpkg/internal/pkginfos.bzl", line 159, column 23, in _new_target_from_json_maps
		return _new_target(
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/cgrindel_swift_bazel/swiftpkg/internal/pkginfos.bzl", line 564, column 24, in _new_target
		validations.in_list(
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/cgrindel_swift_bazel/swiftpkg/internal/validations.bzl", line 10, column 13, in _in_list
		fail(err_msg, value)
Error in fail: Unrecognized target type. type: binary
ERROR: no such package '@swiftpkg_firebase_ios_sdk//': Unrecognized target type. type: binary
Loading: 0 packages loaded
@cgrindel cgrindel self-assigned this Jan 14, 2023
cgrindel added a commit that referenced this issue Jan 16, 2023
- Fix product dependency lookup to use the dependency name.
- Add support for `binary` targets. They download pre-compiled artifacts
and provide them as xcframeworks.
- Update Starlark codegen to support function calls.
- Add `firebase_example` files. Still needs to be included in the
integration test list.

Related to #153.
cgrindel added a commit that referenced this issue Jan 18, 2023
- Add `test_suite` to `firebase_example`.
- Support excluding files based upon Swift target `exclude`.
- Support wildcard modules in the modulemap parser.
- Remove the listing of files in `clang_files.collect_files`.
- Remove Bazel build files from downloaded Swift packages.
- Ensure that potential private header files are included in the `srcs`
for clang targets.

Related to #153.
Closes #157.
Closes #75.
cgrindel added a commit that referenced this issue Jan 18, 2023
- When retrieving headers from a modulemap, try to only return headers
for the named module.
- Ensure that the public includes are updated with the path to any
headers declared in a modulemap.
- Fix path relativization to handle the case when the path is the same
as the relativize_to.
- Ensure that `objc_library` declarations enable clang module support.

Related to #153.
cgrindel added a commit that referenced this issue Jan 18, 2023
- Detect all Bazel supported header files.
- Fix the workspace name of the firebase example.
- Add flags to `.bazelrc` that are required for the firebase example.

Related to #153.
cgrindel added a commit that referenced this issue Jan 21, 2023
- Adding the recursive list of header paths caused compilation issues
building
[firebase/abseil-cpp-SwiftPM](https://github.com/firebase/abseil-cpp-SwiftPM).
- Fixed bug with header identification not using the supported list of
headers.
- Fixed bug in fail call.

Related to #153.
cgrindel added a commit that referenced this issue Jan 24, 2023
…169)

- Add `src_type` to modules in the `swift_deps_index.json`. This value
identifies the type of source files in the module. This information is
used to resolve dependencies specifically as it relates to ObjC modules
consumed by `objc_library` targets.
- Implement `swift_objc_module_alias` macro. It defines a
`swift_library` that re-exports the specified modules defined in the
provided `deps`.
- For Swift targets implemented using ObjC, generate two Bazel targets.
One represents is the `objc_library`. The other is a
`swift_objc_module_alias` that is referenced by external repositories.
- Use `product_memberships` to determine whether the Bazel target(s) for
a Swift target should be publicly visible.

Related to #153.
@pswaminathan
Copy link
Author

Just a note that I tested f3ee05d and saw:

  • Firebase: unable to import for some platform errors (I think you may already be aware of this)
  • Braze (what I opened the issue in rules_spm with): worked!

@cgrindel
Copy link
Owner

@pswaminathan Thanks for checking out the progress. Great news about Braze. I am currently working on support for SPM conditions. I believe that will address the platform errors.

The Firebase dependency has uncovered several interesting corner cases. I did want to mention that this issue lists version 8.9.1. For now, I am working to get the latest version 10.4.0 to work. Hopefully, the earlier version will work once I am done.

@pswaminathan
Copy link
Author

Great! I can also test with other versions as well as it gets closer—just wanted to start off with the same version we're using.

cgrindel added a commit that referenced this issue Jan 25, 2023
- Refactor how build settings are read and stored. This provides a means
for supporting conditions on the build settings.
- Added some missing documentation.
- Add `//config_settings/platform_types` that will be used for platform
name conditions.

Related to #153.
cgrindel added a commit that referenced this issue Jan 25, 2023
…176)

- Moved function call Starlark codegen to `starlark_codegen` module.
- Add missing documentation.

Related to #153
cgrindel added a commit that referenced this issue Jan 27, 2023
- Rename `spm_conditions` to `bzl_selects`.
- Update how SPM platform targets are generated. It now uses a struct
with the required fields.
- Add `label()` functions for SPM condition generation.

Related to #153
cgrindel added a commit that referenced this issue Jan 28, 2023
- Add conditional support for `headerSearchPaths`.
- Add conditional support for `unsafeFlags`.
- Refactor tests for `swiftpkg_build_files`.

Related to #153.
cgrindel added a commit that referenced this issue Feb 3, 2023
- Values for the same condition can be found in multiple entries. Update
`bzl_selects.to_starlark` to collect the values.
- Ensure generated `apple_dynamic_xcframework_import` declarations are
publicly visible.

Related to #153
@cgrindel
Copy link
Owner

cgrindel commented Feb 9, 2023

@pswaminathan Which features from firebase do you use? I am adding examples from this quickstart repo to ensure that swift_bazel handles things properly.

Also, I may end up breaking up verifying the different parts of firebase into separate tickets. That will allow me to declare victory on this ticket, as I added binary target support.

@cgrindel cgrindel added this to the Release 0.3.0 milestone Feb 9, 2023
cgrindel added a commit that referenced this issue Feb 10, 2023
…ion` (#209)

The `abtesting` and `analytics` examples are enabled. The
`appdistribution` example is disabled due to #208.

Related to #153
@AttilaTheFun
Copy link
Contributor

@cgrindel @pswaminathan I'm also encountering this issue with Firebase and Agora.
From Firebase I'm using the FirebaseAnalyticsWithoutAdId target and from Agora:
https://github.com/AgoraIO/AgoraRtcEngine_iOS/blob/main/Package.swift
I'm using their AgoraRtcKit target.

@cgrindel
Copy link
Owner

@AttilaTheFun Support for binary targets is available in the main branch. I have not created a release since adding it. I was going to put a couple more changes in before releasing. Can you try using the latest from the main branch?

@AttilaTheFun
Copy link
Contributor

Hi @cgrindel! I'm not sure how to use a branch with a http archive in bazel. What would I replace this with to use the main branch?

http_archive(
    name = "cgrindel_swift_bazel",
    sha256 = "fd77181e45fbb9ab6ddedf59f3f2d4cf0c173919a6de8d4a398d99fd965d5ce5",
    strip_prefix = "swift_bazel-0.2.0",
    urls = [
        "http://github.com/cgrindel/swift_bazel/archive/v0.2.0.tar.gz",
    ],
)

load("@cgrindel_swift_bazel//:deps.bzl", "swift_bazel_dependencies")

Alternately maybe you could create a 0.3.0 pre-release?

@pswaminathan
Copy link
Author

pswaminathan commented Feb 13, 2023

Which features from firebase do you use?

@cgrindel from our manually generated build files, here is what we are depending on:

            "@Firebase//:FirebaseAnalytics",
            "@Firebase//:FirebaseCore",
            "@Firebase//:FirebaseCrashlytics",
            "@Firebase//:FirebaseMessaging",
            "@Firebase//:FirebaseRemoteConfig",

This corresponds roughly to the XCFrameworks exported, and which we would probably be importing. I can test out main some time this week and see if that works for us.

Also, I may end up breaking up verifying the different parts of firebase into separate tickets. That will allow me to declare victory on this ticket, as I added binary target support.

That works for me!

@cgrindel
Copy link
Owner

@AttilaTheFun I just create release 0.2.1. Let me know if that addresses the binary target issue.

FYI. I have a firebase_example. Under that example, there are three samples derived from the firebase quickstart repository. The abtesting and analytics examples work. The appdistribution example does not. That issue is being tracked in #208.

@cgrindel
Copy link
Owner

@cgrindel from our manually generated build files, here is what we are depending on:

            "@Firebase//:FirebaseAnalytics",
            "@Firebase//:FirebaseCore",
            "@Firebase//:FirebaseCrashlytics",
            "@Firebase//:FirebaseMessaging",
            "@Firebase//:FirebaseRemoteConfig",

The only modules in your list that are not covered by an example are @Firebase//:FirebaseCrashlytics and @Firebase//:FirebaseMessaging. I added #223 and #224 to track.

@cgrindel
Copy link
Owner

Declaring victory on this issue as binary target support has been added.

@AttilaTheFun Let me know here or in a new bug, if you have issues using release 0.2.1 or later.

@AttilaTheFun
Copy link
Contributor

@cgrindel I tried to use the 0.2.1 release but I got this error:

INFO: Running command line: bazel-bin/Tidy :UpdateSwiftPackages :UpdateBuildFiles
ERROR: /Users/logan/Developer/Swift/Apps/Snag/BUILD:52:15: no such package '@bazel_skylib//gazelle/bzl': BUILD file not found in directory 'gazelle/bzl' of external repository @bazel_skylib. Add a BUILD file to a directory to mark it as a package. and referenced by '//:GazelleBinary'
ERROR: Analysis of target '//:UpdateSwiftPackages' failed; build aborted: 

These are the only changes I have in my repo to update to 0.2.1:

     dependencies: [
         .package(url: "https://github.com/AgoraIO/AgoraRtcEngine_iOS", .upToNextMajor(from: "3.4.8")),
         .package(url: "https://github.com/apollographql/apollo-ios", .upToNextMinor(from: "0.48.0")),
-        // .package(url: "https://github.com/firebase/firebase-ios-sdk", .upToNextMajor(from: "10.0.0")),
+        .package(url: "https://github.com/firebase/firebase-ios-sdk", .upToNextMajor(from: "10.0.0")),
         .package(url: "https://github.com/onevcat/Kingfisher", .upToNextMajor(from: "7.5.0")),
         // .package(url: "https://github.com/marmelroy/PhoneNumberKit", .upToNextMajor(from: "3.3.3")),
         .package(url: "https://github.com/ReactiveX/RxSwift", .upToNextMajor(from: "6.0.0")),
diff --git a/WORKSPACE b/WORKSPACE
index 18d9f01ac..d00d7ebbe 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -6,10 +6,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
 
 http_archive(
     name = "cgrindel_swift_bazel",
-    sha256 = "fd77181e45fbb9ab6ddedf59f3f2d4cf0c173919a6de8d4a398d99fd965d5ce5",
-    strip_prefix = "swift_bazel-0.2.0",
+    sha256 = "2bcbe2947649f6433bf97258401c387eb41153c8adc378f84295628d879092d2",
     urls = [
-        "http://github.com/cgrindel/swift_bazel/archive/v0.2.0.tar.gz",
+        "https://github.com/cgrindel/swift_bazel/releases/download/v0.2.1/swift_bazel.v0.2.1.tar.gz",
     ],
 )

@cgrindel
Copy link
Owner

@AttilaTheFun I think that you might be running into the fact that Skylib changed how they package their Gazelle extension. Note the new target for the Skylib language:

gazelle_binary(
    name = "gazelle_bin",
    languages = DEFAULT_LANGUAGES + [
        "@bazel_skylib_gazelle_plugin//bzl",
    ],
)

#226 will update the swift_bazel README.md with the new Skylib target.

@AttilaTheFun
Copy link
Contributor

@cgrindel Okay, I updated the gazelle extension and that seems to be working now but I'm still getting this issue when trying to use firebase analytics:

logan@Logans-MBP Snag % bazel build //Services/Sources:AnalyticsServiceImplementation
INFO: Repository swiftpkg_firebase_ios_sdk instantiated at:
  /Users/logan/Developer/Swift/Apps/Snag/WORKSPACE:53:19: in <toplevel>
  /Users/logan/Developer/Swift/Apps/Snag/swift_deps.bzl:62:18: in swift_dependencies
Repository rule swift_package defined at:
  /private/var/tmp/_bazel_logan/9c5dc880d421e060978209038345ac60/external/cgrindel_swift_bazel/swiftpkg/internal/swift_package.bzl:167:32: in <toplevel>
INFO: repository @swiftpkg_firebase_ios_sdk' used the following cache hits instead of downloading the corresponding file.
 * Hash 'd5098cd2d731104dddb11c39b2cbbd3aab11a604c528706a16ff0114abd8d53a' for https://dl.google.com/firebase/ios/swiftpm/10.4.0/FirebaseAnalytics.zip
If the definition of 'repository @swiftpkg_firebase_ios_sdk' was updated, verify that the hashes were also updated.
ERROR: An error occurred during the fetch of repository 'swiftpkg_firebase_ios_sdk':
   Traceback (most recent call last):
        File "/private/var/tmp/_bazel_logan/9c5dc880d421e060978209038345ac60/external/cgrindel_swift_bazel/swiftpkg/internal/swift_package.bzl", line 65, column 31, in _swift_package_impl
                repo_rules.gen_build_files(repository_ctx, pkg_info)
        File "/private/var/tmp/_bazel_logan/9c5dc880d421e060978209038345ac60/external/cgrindel_swift_bazel/swiftpkg/internal/repo_rules.bzl", line 78, column 55, in _gen_build_files
                bld_file = swiftpkg_build_files.new_for_target(repository_ctx, pkg_ctx, target)
        File "/private/var/tmp/_bazel_logan/9c5dc880d421e060978209038345ac60/external/cgrindel_swift_bazel/swiftpkg/internal/swiftpkg_build_files.bzl", line 21, column 40, in _new_for_target
                return _clang_target_build_file(repository_ctx, pkg_ctx, target)
        File "/private/var/tmp/_bazel_logan/9c5dc880d421e060978209038345ac60/external/cgrindel_swift_bazel/swiftpkg/internal/swiftpkg_build_files.bzl", line 198, column 40, in _clang_target_build_file
                "deps": bzl_selects.to_starlark(deps),
        File "/private/var/tmp/_bazel_logan/9c5dc880d421e060978209038345ac60/external/cgrindel_swift_bazel/swiftpkg/internal/bzl_selects.bzl", line 193, column 13, in _to_starlark
                fail("""\
Error in fail: No Starlark expression members were generated for [struct(condition = None, kind = "_target_dep", value = [])]
ERROR: /Users/logan/Developer/Swift/Apps/Snag/WORKSPACE:53:19: fetching swift_package rule //external:swiftpkg_firebase_ios_sdk: Traceback (most recent call last):
        File "/private/var/tmp/_bazel_logan/9c5dc880d421e060978209038345ac60/external/cgrindel_swift_bazel/swiftpkg/internal/swift_package.bzl", line 65, column 31, in _swift_package_impl
                repo_rules.gen_build_files(repository_ctx, pkg_info)
        File "/private/var/tmp/_bazel_logan/9c5dc880d421e060978209038345ac60/external/cgrindel_swift_bazel/swiftpkg/internal/repo_rules.bzl", line 78, column 55, in _gen_build_files
                bld_file = swiftpkg_build_files.new_for_target(repository_ctx, pkg_ctx, target)
        File "/private/var/tmp/_bazel_logan/9c5dc880d421e060978209038345ac60/external/cgrindel_swift_bazel/swiftpkg/internal/swiftpkg_build_files.bzl", line 21, column 40, in _new_for_target
                return _clang_target_build_file(repository_ctx, pkg_ctx, target)
        File "/private/var/tmp/_bazel_logan/9c5dc880d421e060978209038345ac60/external/cgrindel_swift_bazel/swiftpkg/internal/swiftpkg_build_files.bzl", line 198, column 40, in _clang_target_build_file
                "deps": bzl_selects.to_starlark(deps),
        File "/private/var/tmp/_bazel_logan/9c5dc880d421e060978209038345ac60/external/cgrindel_swift_bazel/swiftpkg/internal/bzl_selects.bzl", line 193, column 13, in _to_starlark
                fail("""\
Error in fail: No Starlark expression members were generated for [struct(condition = None, kind = "_target_dep", value = [])]
ERROR: /Users/logan/Developer/Swift/Apps/Snag/Services/Sources/BUILD:59:8: //Services/Sources:AnalyticsServiceImplementation depends on @swiftpkg_firebase_ios_sdk//:SwiftPM-PlatformExclude_FirebaseAnalyticsWithoutAdIdSupportWrap_FirebaseAnalyticsWithoutAdIdSupportTarget in repository @swiftpkg_firebase_ios_sdk which failed to fetch. no such package '@swiftpkg_firebase_ios_sdk//': No Starlark expression members were generated for [struct(condition = None, kind = "_target_dep", value = [])]
ERROR: Analysis of target '//Services/Sources:AnalyticsServiceImplementation' failed; build aborted: Analysis failed
INFO: Elapsed time: 6.330s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
logan@Logans-MBP Snag % 

In my build file I'm depending on:

"@swiftpkg_firebase_ios_sdk//:SwiftPM-PlatformExclude_FirebaseAnalyticsWithoutAdIdSupportWrap_FirebaseAnalyticsWithoutAdIdSupportTarget",

And in my Package.swift I have:

.package(url: "https://github.com/firebase/firebase-ios-sdk", .upToNextMajor(from: "10.0.0")),

It should be noted that I'm using a newer version of the firebase SDK than the one in your example.

@AttilaTheFun
Copy link
Contributor

@cgrindel I also tried adding Agora and it built but when I run the application in the iOS simulator it's crashing with this message:

Warning: Error creating LLDB target at path '/Users/logan/Library/Developer/Xcode/DerivedData/Phono-birejekbhxukppblfutmohyojdym/Build/Products/bazel-out/ios-x86_64-min14.0-applebin_ios-ios_x86_64-dbg-ST-3d49fca66c8d/bin/Phono/Phono/Phono.app'- using an empty LLDB target which can cause slow memory reads from remote devices: the specified architecture 'arm64-*-*' is not compatible with 'x86_64-apple-ios14.0.0-simulator' in '/Users/logan/Library/Developer/Xcode/DerivedData/Phono-birejekbhxukppblfutmohyojdym/Build/Products/bazel-out/ios-x86_64-min14.0-applebin_ios-ios_x86_64-dbg-ST-3d49fca66c8d/bin/Phono/Phono/Phono.app/Phono'
dyld[78318]: Library not loaded: @rpath/AgoraCore.framework/AgoraCore
  Referenced from: <CFDCA36E-5D08-3378-964B-7FA9AF503399> /Users/logan/Library/Developer/CoreSimulator/Devices/05D87724-92DF-41DD-9AA6-0E25DE53CF5E/data/Containers/Bundle/Application/93F98452-6026-491C-9C48-B13BA31AB45B/Phono.app/Frameworks/AgoraRtcKit.framework/AgoraRtcKit
Message from debugger: Terminated due to signal 6
  Reason: tried: '/Users/logan/Library/Developer/Xcode/DerivedData/Phono-birejekbhxukppblfutmohyojdym/Build/Products/bazel-out/ios-x86_64-min14.0-applebin_ios-ios_x86_64-dbg-ST-3d49fca66c8d/bin/Phono/Phono/AgoraCore.framework/AgoraCore' (errno=2), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/AgoraCore.framework/AgoraCore' (errno=2), '/usr/lib/swift/AgoraCore.framework/AgoraCore' (errno=2, no dyld cache), '/Users/logan/Library/Developer/CoreSimulator/Devices/05D87724-92DF-41DD-9AA6-0E25DE53CF5E/data/Containers/Bundle/Application/93F98452-6026-491C-9C48-B13BA31AB45B/Phono.app/Frameworks/AgoraCore.framework/AgoraCore' (errno=2), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/AgoraCore.framework/AgoraCore' (errno=2), '/usr/lib/swift/AgoraCore.framework/AgoraCore' (errno=2, no dyld cache), '/Users/logan/Library/Developer/CoreSimulator/Devices/05D87724-92DF-41DD-9AA6-0E25DE53CF5E/data/Containers/Bundle/Application/93F98452-6026-491C-9C48-B13BA31AB45B/Phono.app/Frameworks/AgoraCore.framework/AgoraCore' (errno=2), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/AgoraCore.framework/AgoraCore' (errno=2)

My Package.swift has:

.package(url: "https://github.com/AgoraIO/AgoraRtcEngine_iOS", .upToNextMajor(from: "3.4.8")),

And my BUILD file has:

"@swiftpkg_agorartcengine_ios//:remote_archive_AgoraRtcKit.xcframework.zip_AgoraRtcKit",

@cgrindel
Copy link
Owner

@AttilaTheFun I created #230 to track the Agora issue. Let's continue the conversation there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants