bazel-xcode / bazel-xcode/PodToBUILD
Issues in Texture Example/Texture Pod Integeration
- Dominant language
- Swift
- Stars
- 330
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
After implementating the suggested example project, i am unable to run the project and getting the following issue.
### Pods.WORKSPACE
`new_pod_repository(`
name = "Texture",
url = "https://github.com/TextureGroup/Texture/archive/d085cd63494488c5921e20842a585470aa6ab1d9.zip",
inhibit_warnings = True,
# Important: Disable module map generation for Texture
generate_module_map = False,
# Add proper dependencies and frameworks
user_options = [
"Texture.sdk_frameworks += UIKit, CoreGraphics, Foundation, Photos, MapKit, QuartzCore",
],
)
new_pod_repository(
name = "PINRemoteImage",
url = "https://github.com/pinterest/PINRemoteImage/archive/3.0.3.zip",
user_options = ["Core.deps += //Vendor/PINCache:PINCache"],
# Important for header includes
generate_module_map = False,
generate_header_map = True,
)
new_pod_repository(
name = "PINOperation",
url = "https://github.com/pinterest/PINOperation/archive/1.2.1.zip",
generate_header_map = True,
)
new_pod_repository(
name = "PINCache",
url = "https://github.com/pinterest/PINCache/archive/3.0.3.zip",
generate_header_map = True,
)`
### Build File configuration
`
objc_library(
name = "TextureLib",
deps = [
"//Vendor/PINRemoteImage:PINRemoteImage",
"//Vendor/PINOperation:PINOperation",
"//Vendor/PINCache:PINCache",
],
sdk_frameworks = [
"UIKit",
"CoreGraphics",
"Foundation",
"QuartzCore",
"Photos",
],
)
swift_library(
name = "sources",
srcs = glob(["Bullseye/Sources/*.swift"]),
visibility = ["//visibility:private"],
module_name = "Bullseye",
deps = [
":iOSFramework1",
":iOSFramework2",
"//Vendor/Texture:Texture",
]
)
`
In the complications section, something around adding the user_options attribute for Texture was suggested to add in new_pod_repository. But what exactly is to be added or how to handle such issues is still unknown.
Kindly check this issue and suggest a concrete solve or any workarounds.
Thanks
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.