airbnb / airbnb/BuckSample

Precompiled Library Issue (no such module)

Open
#129 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
469
Forks
63
PR merge metrics
No merged PRs in 30d

Description

I'm trying to get a build of a precompiled library (https://cocoapods.org/pods/AdobeMobileSDK). It compiles normally but when I try to import on my Swift project I'm getting stuck on `no such module 'AdobeMobileSDK'`.

```
prebuilt_cxx_library(
name = 'AdobeMobileSDK',
visibility = ["PUBLIC"],
static_lib = 'AdobeMobileSDK/AdobeMobileLibrary/libAdobeMobile.a',
exported_headers = glob([
'Target Support Files/AdobeMobileSDK/*.h',
'AdobeMobileSDK/AdobeMobileLibrary/*.h',
])
)
```

I'm wondering me if somebody is familiar with this issue

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Swift import failure with the shown precompiled_cxx_library declaration. Inspect the referenced AdobeMobileSDK/AdobeMobileLibrary/libAdobeMobile.a and header paths, then verify the Buck target's module exposure; done means the Swift project can import AdobeMobileSDK successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c, swift
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.