You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: