맥OS

    xCode 버전이 낮아서 휴대폰에 직접 빌드가 안될때

    xCode 버전이 낮아서 휴대폰에 직접 빌드가 안될때

    상황 9.2 xCode에서 11.3 버전의 아이폰이 빌드가 안된다.(This iPhone 6s is running iOS 11.3 (15E216), which may not be supported by this version of Xcode.) 방법 9.2 xCode를 버전업 하는 것도 괜찮지만(?) 11.3 device를 인식할 수 있게 해당 파일을 추가한다. https://stackoverflow.com/questions/49720178/xcode-not-supported-for-ios-11-3-by-xcode-9-2-needed-9-3 위 링크에서 다 나와있지만... 1. xCode를 종료한다. 2. 아래 파일을 다운받는다. 3. /Applications/Xcode9.2.app/Contents/De..

    xcode에 vim 에디터로 사용하기

    이 문제의 키워드는 xcode plugin이다. 다른 mac의 vim editor는 별도의 stand alone의 동작일 수 있다. 나는 XVim2를 설치해서 정상작동하는걸 확인했다.(xcode 9.2) https://github.com/XVimProject/XVim2 Update 2018. 4. 27 어제 시점에서 Xcode 9.2를 새로 받고 XVim2를 최신 브랜치로 받았는데 동작하지 않았다.(증상 : Xcode-Edit에 XVim2는 Enable인데 editor화면은 일반 화면)그래서 포스팅 당시의 커밋(2018.1.28) 을 찾아서 빌드를 하니깐 잘 동작한다. 항상 최신이 좋은건 아니라 동작하는게 좋은거였지... $ git clone https://github.com/XVimProject/XVi..

    [mac osx] static변수를 사용하려다가 링크에러!!

    에러 메세지Undefined symbols for architecture x86_64: c++ static static 변수는 반드시 cpp파일에서 선언한다. 해결방법 : http://stackoverflow.com/questions/9282354/static-variable-link-error

    [mac osx] file attribute에 @가 있는 것은?

    attribute extend라는 것인데 아직은 정확히 개념을 잡지 않고 사용법만 익힌 후 넘어간다. Use the xattr command. You can inspect the extended attributes:$ xattr s.7z com.apple.metadata:kMDItemWhereFroms com.apple.quarantine and use the -d option to delete one extended attribute:$ xattr -d com.apple.quarantine s.7z $ xattr s.7z com.apple.metadata:kMDItemWhereFroms you can also use the -c option to remove all extended attributes:..

    [mac osx] eclipse error, Android SDK and AVD Manager ...

    [에러 메세지]'Android SDK and AVD Manager' cannot be made visible because all of its children are in unavailable action sets. [해결 방법]1.I think perspective has been changed by you.Go to Windows -> Open Perspective->Other and Select "Java(Default)" and click OK. reference : http://stackoverflow.com/questions/13885051/cant-see-android-sdk-manager-option-after-installation-run-as-administrator-do 2.I hav..

    [mac osx] xcode에서 vim사용하기

    331 git clone https://github.com/XVimProject/XVim.git 332 ls 333 cd XVim/ 334 ls 335 make 336 cd 337 mv ~/Downloads/vimrc .xvimrc 338 ls Reference : http://blog.cahg.org/wp/?p=305

    [mac osx] terminal beep sound off / 터미널 효과음(비프) 없애기

    [mac osx] terminal beep sound off / 터미널 효과음(비프) 없애기

    우분투에서 개발을 하다가 요즘에는 맥에서 개발을 시작했다. 그랬더니 우분투의 터미널에서 탭을 누르는 습관 덕분에 비프음(경고음)을 엄청 듣게 되었다. 더 스트레스 받기 전에 비프음을 끄는 설정을 해주었다.

    android studio, Failed to set EGL_SWAP_BEHAVIOR on surface

    Failed to set EGL_SWAP_BEHAVIOR on surface 에러를 만났다. 화면이 안나온다. 고민고민 하다가 아래 글을 보았다.http://openclassrooms.com/forum/sujet/android-runtimeexception 그래서 방법을 찾았다.화면이 맞지 않는 것이였다. 그래서 setContentView(R.layout.activity_my); 을 변경하였더니 잘 작동 되었다.