bazel-xcode / bazel-xcode/PodToBUILD
Cannot use Texture example in app
- Dominant language
- Swift
- Stars
- 330
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
Hi I encountered the following error when trying to use Texture example(I update build file to use texture 2.8) in a swift app:
```
/Users/liwang/Documents/projects/atease/mono/App-iOS/BUILD:14:1: Compiling Swift module App_iOS_Sources failed (Exit 1) sandbox-exec failed: error executing command
(cd /private/var/tmp/_bazel_liwang/819e8c6e05fda60b9cdfa83fb4ddbefc/sandbox/darwin-sandbox/1/execroot/__main__ && \
exec env - \
APPLE_SDK_PLATFORM=iPhoneSimulator \
APPLE_SDK_VERSION_OVERRIDE=12.1 \
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer \
SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk \
TMPDIR=/var/folders/25/17gky92x42jg9wykd2770t9w0000gn/T/ \
XCODE_VERSION_OVERRIDE=10.1.0.10B61 \
/usr/bin/sandbox-exec -f /private/var/tmp/_bazel_liwang/819e8c6e05fda60b9cdfa83fb4ddbefc/sandbox/darwin-sandbox/1/sandbox.sb /var/tmp/_bazel_liwang/install/1a037b6c0d8096293d1eecfde6528fbd/_embedded_binaries/process-wrapper '--timeout=0' '--kill_delay=15' bazel-out/host/bin/external/build_bazel_rules_swift/tools/wrappers/bazel_xcode_wrapper bazel-out/host/bin/external/build_bazel_rules_swift/tools/wrappers/swift_wrapper /usr/bin/xcrun swiftc '-Xwrapped-swift=-ephemeral-module-cache' @bazel-out/ios-x86_64-min10.0-applebin_ios-ios_x86_64-fastbuild/bin/App-iOS/App_iOS_Sources.swiftmodule-0.params @bazel-out/ios-x86_64-min10.0-applebin_ios-ios_x86_64-fastbuild/bin/App-iOS/App_iOS_Sources.swiftmodule-1.params)
:1:9: note: in file included from :1:
#import "../../../../../../Vendor/Texture/pod_support/Headers/Public/AsyncDisplayKit/ASAbsoluteLayoutElement.h"
^
/private/var/tmp/_bazel_liwang/819e8c6e05fda60b9cdfa83fb4ddbefc/sandbox/darwin-sandbox/1/execroot/__main__/bazel-out/ios-x86_64-min10.0-applebin_ios-ios_x86_64-fastbuild/bin/Vendor/Texture/Texture_module_map/../../../../../../Vendor/Texture/Source/Layout/ASAbsoluteLayoutElement.h:22:23: error: unknown type name 'CGPoint'; did you mean 'Point'?
@property (nonatomic) CGPoint layoutPosition;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/MacTypes.h:542:41: note: 'Point' declared here
typedef struct Point Point;
^
:3:9: note: in file included from :3:
#import "../../../../../../Vendor/Texture/pod_support/Headers/Public/AsyncDisplayKit/ASAbstractLayoutController+FrameworkPrivate.h"
^
/private/var/tmp/_bazel_liwang/819e8c6e05fda60b9cdfa83fb4ddbefc/sandbox/darwin-sandbox/1/execroot/__main__/bazel-out/ios-x86_64-min10.0-applebin_ios-ios_x86_64-fastbuild/bin/Vendor/Texture/Texture_module_map/../../../../../../Vendor/Texture/Source/Private/ASAbstractLayoutController+FrameworkPrivate.h:15:10: error: 'vector' file not found
#include
^
App-iOS/Sources/AppDelegate.swift:4:8: error: could not build Objective-C module 'AsyncDisplayKit'
import AsyncDisplayKit
```
Anyone can give me some pointers on how to fix it. It would be wonderful.
Thank you.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.