xcodebuild 명령 컴파일 Cordova iOS 프로젝트 오류 해결
1963 단어 iosCordovaxcodebuild
.jenkins/workspace/ssm-app-ios/XXX/Bridging-Header.h:28:9: error: 'Cordova/CDV.h' file not found
#import <Cordova/CDV.h>
^
<unknown>:0: error: failed to import bridging header '/Users/XXX/.jenkins/workspace/XXX-app-ios/XXX/Bridging-Header.h'
** BUILD FAILED **
오랫동안 원인을 찾지 못했는데, 나중에 참고하였다.https://github.com/meteor/meteor/issues/3836, CONFIGURATION_BUILD_DIR에 절대 경로가 필요한 이유
The issue seems to be with xcodebuild! It expects the path for CONFIGURATION_BUILD_DIR to be an absolute path and not a relative path.
That is, because it uses that path relative to each project (CordovaLib and your app), hence the output will be dumped in different directories.
While this is not technically a meteor problem, would be nice to get it documented on docs.meteor.com e.g.
How to build your ios project from line command using xcodebuild
CODE_SIGN_IDENTITY=”iPhone Developer”
올바른 명령
xcodebuild -target MYProject CONFIGURATION_BUILD_DIR=$(pwd)/build/device -configuration Debug build
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
Swift의 패스트 패스Objective-C를 대체하기 위해 만들어졌지만 Xcode는 Objective-C 런타임 라이브러리를 사용하기 때문에 Swift와 함께 C, C++ 및 Objective-C를 컴파일할 수 있습니다. Xcode는 S...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.