Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

새로운 버전으로 빌드가 되지 않네요. #2

Open
truwind opened this issue May 30, 2016 · 1 comment
Open

새로운 버전으로 빌드가 되지 않네요. #2

truwind opened this issue May 30, 2016 · 1 comment

Comments

@truwind
Copy link

truwind commented May 30, 2016

  1. Usage에서 "1. Run bin/webrtc/sync_ios.sh" 한 후
    "3. Run bin/webrct/assemble_ios.sh"를 실행하니 "run build"를 먼저 하고 하여
    "sudo bin/webrtc/build_ios.sh all RELEASE"를 아래와 같이 실행하니
    아래 내용 처럼 "Updating projects from gyp files...
    gyp: Duplicate target definitions for webrtc/webrtc_examples.gyp:WebRTCiOS#target
    [Error] Command '/bin/sh -c python webrtc/build/gyp_webrtc' exited with exit code 1" 라는 에러가 나옵니다. 더이상 진행을 못하고 있는데요. 어떻게 해야하는지 알려주세요.ㅠㅠ
===========================================================================

truwindui-MacBook-Retina:webrtc-automator-master truwind$ sudo bin/webrtc/build_ios.sh all RELEASE
[info] Loading project definition from /Volumes/MacintoshHD2/WebRTC/webrtc-automator-master/project
[info] Set current project to webrtc-automator (in build file:/Volumes/MacintoshHD2/WebRTC/webrtc-automator-master/)
[info] Running Application webrtc build ios all RELEASE

------------------------------------------------
Will build WebRTC archive file for ios - sim32, ios - sim64, ios - armv7, ios - arm64
------------------------------------------------

Build archive file for ios - sim32 with deploy target of 8.0 Release
Inject `WebRTCiOS` target to `webrtc/webrtc_examples.gyp`

Executing...
-------------------------
- Command: /bin/sh -c rm -rf /Volumes/MacintoshHD2/WebRTC/webrtc-automator-master/lib/src/out_sim32
- CWD: /Volumes/MacintoshHD2/WebRTC/webrtc-automator-master/lib/src
- Env Vars: 
GYP_CROSSCOMPILE -> 1
GYP_GENERATORS -> ninja
GYP_DEFINES -> OS=ios target_arch=ia32 build_with_libjingle=1 build_with_chromium=0 clang_xcode=1 ios_deployment_target=8.0
GYP_GENERATOR_FLAGS -> output_dir=out_sim32
-------------------------

Generate New Build File

Executing...
-------------------------
- Command: /bin/sh -c python webrtc/build/gyp_webrtc
- CWD: /Volumes/MacintoshHD2/WebRTC/webrtc-automator-master/lib/src
- Env Vars: 
GYP_CROSSCOMPILE -> 1
GYP_GENERATORS -> ninja
GYP_DEFINES -> OS=ios target_arch=ia32 build_with_libjingle=1 build_with_chromium=0 clang_xcode=1 ios_deployment_target=8.0
GYP_GENERATOR_FLAGS -> output_dir=out_sim32
-------------------------

Updating projects from gyp files...
gyp: Duplicate target definitions for webrtc/webrtc_examples.gyp:WebRTCiOS#target
[Error] Command '/bin/sh -c python webrtc/build/gyp_webrtc' exited with exit code 1

Exception: sbt.TrapExitSecurityException thrown from the UncaughtExceptionHandler in thread "run-main-0"
java.lang.RuntimeException: Nonzero exit code: 1
    at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last compile:run for the full output.
[error] (compile:run) Nonzero exit code: 1
[error] Total time: 4 s, completed May 30, 2016 7:38:14 PM
@danishin
Copy link
Owner

danishin commented May 31, 2016

@truwind 죄송합니다만 다른 분들을 위해 영어로 쓰겠습니다.

That's weird. I just cloned clean repository from master and was able to build fine.

But as far as I can tell,

gyp: Duplicate target definitions for webrtc/webrtc_examples.gyp:WebRTCiOS#target

happens when injecting WebRTCiOS build target into .gyp build file fails. Perhaps, there was corruption in your lib/src folder.

Could you re-clone this repository and re-fetch and build? (there were some changes in building phase where it would cause problem if you didn't clean fetch webrtc library - a.k.a remove lib/src and re-run bash bin/webrtc/sync_ios.sh)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants