전체 글 보기
-
리눅스 자주 사용하는 명령어 모음Linux 2023. 2. 27. 02:17
* 명령어 뒤에 --help를 입력하면 해당 명령어의 사용 방법과 옵션을 알 수 있음. 원격 접속 (ssh)0. 설치가 안 되어 있다면 아래 명령어로 설치sudo apt install openssh-server 1. 접속을 위해 방화벽 허용sudo ufw enable && sudo ufw allow 22/tcp 2. 연결하고자 하는 pc의 id와 ip주소 확인 (ifconfig)3. 아래 명령어 참고하여 연결 시도 (-Y : yes)ssh -Y {아이디}@{ip 주소}e.g. ssh -Y candyz@19.94.7.28 4. 비번 입력5. exit(or ctrl+c) 입력하여 연결 해제 원격 파일 전송 (scp)cp와 비슷하게 사용 가능sudo scp {파일 이름} {아이디}@{ip 주소}:{옮길 디렉토..
-
osm_cartography - RViz에 오픈스트리트맵(OSM) 데이터 시각화하기ROS 2022. 12. 25. 17:31
osm_cartography오픈스트리트맵(OpenStreetMap)에서 다운받은 데이터를 RViz에 띄워주는 ROS 패키지 (BSD Lisence)http://wiki.ros.org/osm_cartography osm_cartography - ROS Wikimelodic noetic Show EOL distros: EOL distros: fuerte groovy hydro indigo kinetic lunar fuerte: Documentation generated on January 02, 2014 at 11:33 AMgroovy: Documentation generated on October 06, 2014 at 03:04 AMhydro: Documentation generated onwik..
-
Invalid Provisioning Profile Signature (Error 90165)iOS 2022. 4. 13. 13:39
앱 스토어에 제출하려고 아카이빙 했더니 이런 에러 메시지가 떴다. App Store Connect Operation Error Invalid Provisioning Profile Signature. The provisioning profile included in the bundle 'xxx' (Payload/xxx.app) cannot be used to submit apps to the iOS App Store until it has a valid signature from Apple. (Expired profile signing certificate.) For more information, visit the iOS Developer Portal. With error code STATE_ERROR...
-
TestFlight 내부 테스터 추가 안 되는 문제 (No Builds Available)iOS 2022. 4. 13. 13:23
내부 테스팅을 위해 빌드를 App Store Connect에 업로드 했더니 제출 준비는 완료됐다고 나오면서 내부 테스팅 그룹이 추가되질 않았다. 내부 테스팅 그룹에 들어가서 빌드를 추가해보려고 해도 사용할 수 있는 빌드가 없다(No Builds Available)고만 나오고... 찾아보니 수출 규정 준수(Export Compliance) 정보가 입력되지 않아서 그렇다고 한다. https://developer.apple.com/forums/thread/128891?page=2 No Builds Available internal testi… | Apple Developer Forums I had the same problem, but it was my first build ever being uploaded..
-
iOS WKWebView 파일 다운로드 및 파일 미리보기 (Objective-C)iOS 2022. 4. 10. 09:22
웹에서 파일 다운로드 url(pdf)이 넘어오면 파일을 다운받고, 미리보기로 보여주는 기능을 구현했다. 내가 받는 url는 이런 형태로 되어 있다. https://홈페이지주소/download.do?…&fileNm=%ED%8C%8C%EC%9D%BC%EC%9D%B4%EB%A6%84.pdf 저 fileNm의 뒷부분을 utf-8로 디코딩 해보면 '파일이름.pdf'로 나오는데, 이걸 파일 이름으로 저장할 때 사용하기 위해 아래 링크를 참고했다. https://byunsooblog.wordpress.com/2014/03/16/nsurl-%ED%8C%8C%EB%9D%BC%EB%AF%B8%ED%84%B0-%ED%8C%8C%EC%8B%B1%ED%95%98%EA%B8%B0/comment-page-1/ NSURL 파라미터 ..
-
iOS Firebase 푸시 알림이 안 오는 문제 (didFailToRegisterForRemoteNotificationsWithError null)iOS 2022. 4. 10. 08:38
https://firebase.google.com/docs/cloud-messaging/ios/client?hl=ko Apple 플랫폼에서 Firebase 클라우드 메시징 클라이언트 앱 설정 | Firebase Documentation Join Firebase at Google I/O online May 11-12, 2022. Register now 의견 보내기 Apple 플랫폼에서 Firebase 클라우드 메시징 클라이언트 앱 설정 Apple 클라이언트 앱의 경우 Firebase 클라우드 메시징 APN 인터페이스를 firebase.google.com 분명 위 문서에 나온대로 잘 따라했는데.. 몇 번을 다시해봐도 푸시 알림 권한 요청도 안 뜨고, 당연히 알림도 오지 않았다. 로그를 보니까 이런 메시지가 ..
-
M1 환경에서 발생하는 pod install error 해결iOS 2022. 4. 10. 08:13
pod install 할 때 다음과 같은 에러가 나서 서치해보니 m1 환경 이슈라고 한다. Searching for inspections failed : undefined method ‘map’ for nil:NilClass 해결 방법은 다음과 같이 두 가지가 있다. 1. terminal 정보 창에서 'rosetta를 사용해서 열기'를 체크한 후, 다음 명령어로 ffi 설치하기 sudo gem install ffi 2. x86_64 아키텍처로 ffi와 pod 설치하기 sudo arch -x86_64 gem install ffi podfile이 있는 경로로 이동해서 x86_64로 pod install 해준다. arch -x86_64 pod install 2번 해결법으로 재설치했더니 Pod installat..
-
struct, struct vector, typedef, usingC++ 2021. 8. 28. 13:47
struct(구조체)여러 개 변수 묶어서 쓰고자 할 때 사용클래스와 비슷하게 멤버 변수, 멤버 함수를 가짐 (public)#include struct Rectangle { int width; int height; int area() { return width * height; } int area(int extraWidth, int extraHeight) { return (width + extraWidth) * (height + extraHeight); }};int main() { Rectangle rect = {9, 9}; std::cout Default area: 81Area with extra space: 187 ** C++에서는 그..