분류 전체보기 (47) 썸네일형 리스트형 [Flutter]IOS 카메라 권한 가져오기 플러터로 카메라를 이용하여 개발을 하고자 할 때 카메라 관련 권한을 획득해야 한다. ios 에서 어떻게 가져와야 하는지 나눠보려고 한다. 먼저 프로젝트에 ios 라는 폴더가 있다. ios-Runner 폴더로 들어가면 info.plist 파일이 있을 것이다. 해당 파일을 클릭하여 아래와 같은 내용을 입력해주면 된다. NSPhotoLibraryUsageDescription App needs access to photo lib for profile images NSCameraUsageDescription To capture profile photo please grant camera access 어디서 본 거같은데 plist 파일에서 바로 입력하는 위와 같은 방식으로 하면 코드가 꼬인다?? 문제가 생길 수 있.. [Flutter]IOS 앱 다운로드 링크 만들 때 .plist 생성방법 기업용으로 앱을 배포 할 때 ipa 파일과 .plist 파일이 있어야 한다고 한다. 처음 Ios 앱을 인터넷 다운로드 링크로 만들 때 .plist 파일이 ios폴더에 info.plist 파일을 말하는 줄 알았다.. 근데 앱의 정보가 담긴 파일로 manifest.plist 파일을 따로 생성해줘야 한다고 한다. 생성 방법은 Xcode로 ios의 Runner파일을 열고 ipa파일을 만들어 준다. Product-Archive 를 클릭하게 되면 Runner 파일이 뜨게되고 옆에 보면 아래와 같은 버튼이 보인다. 여기서 Distribute App을 클릭해서 Enterprise를 선택해준다. Next 를 눌러 넘어가면 디바이스 종류와 옵션들이 있는데 여기서 Include manifest for ~~를 선택해주고 Ne.. [Flutter] Slider TickMark 커스텀하기 음량을 조절하고자 할 때, 단계별로 값을 조절해야 할 때 Slider를 많이 사용합니다. 이번엔 위와 같은 슬라이더로 커스텀을 해보려고 합니다. 야매지만 자주 쓰이는 위젯이니 봐두면 좋을 것 같아요. 먼저 기본 Slider를 사용하면 아래와 같이 만들 수 있는데요. double _counter = 0.0; @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('Slider Widget'), ), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Slider(value: _counter, min.. [Flutter]W/FlutterJNI(31225): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send... flutter 개발하면서 실기기에 연동해서 디버깅을 계에속 하고 수정하다가 다음과 같은 알림?이 발생했다. 원랜 안뜨던 오류였는데 앱 실행부터 계속 1초에 한두번씩은 로그로 찍혀 나왔다. 혹시나 싶어 구글링을 좀 해봤는데 정확한 이유는 모른다... 근데 정보를 찾다가 flutter clean을 해보라는 이야기가 있어서 flutter clean을 실행하고 실기기에 업로드한 앱도 삭제 했다. 그리고 다시 실행해보니 오류가 사라졌다. 혹시나 다음과 같은 에러를 만난다면 flutter clean을 해보시길.. 이렇게 사용하다 오류가 다시 뜨려나 모르겠다.. 항상 새로운 에러와 오류에 마주친다.. 지겹다...... [GitLab]Error : Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists. 요며칠동안 깃랩에 소스를 몇번을 올렸는데 clone with ssh 주소를 이용해 깃 저장소로 커밋을 하고 푸시를 할 때 다음과 같은 에러를 많이 만났다 Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 처음 에러를 확인 했을 때 ssh키를 할당하지 않아서 하는 문제였다. 그런데 ssh를 설정해 주었는데도 똑같은 에러가 발생한다. 그럴 땐 ssh주소가 아닌 https 주소를 이용하여 보자. remote를 만든 주소가 origin이라면 git remote set-url origin (해당주소) 를 입력하여 url을 변경하여 주고 git push -.. [Flutter] Flutter Error ” Each Child Must Be Laid Out Exactly Once” 플러터로 개발을 하다 좀 뜬금없이? 다음과 같은 에러를 만났다. Flutter Error ” Each Child Must Be Laid Out Exactly Once” 해당 에러 관련 문서들을 찾아보니 다음과 같이 해결했다고 한다. https://stackoverflow.com/questions/60076949/flutter-error-each-child-must-be-laid-out-exactly-once-on-building-layout Flutter error: Each child must be laid out exactly once. On building layout I'm starting to work with flutter. It seems pretty nice and easy, but the.. [Flutter]플러터 ios 오류 - Class AMSupportURLConnectionDelegate is implemented in both ?? (0x20ba238f0) and ?? (0x1160dc2b8). One of the two will be used. Which one is undefined. 개발한지 조금 지난 예전 버전의 프로젝트를 마이그레이션을 진행했다. 마이그레이션을 하고 빌드를 하려니 다음과 같은 에러가 나왔다. Class AMSupportURLConnectionDelegate is implemented in both ?? (0x20ba238f0) and ?? (0x1160dc2b8). One of the two will be used. Which one is undefined. 정확히 무슨 에러인지는 모르겠다... 구글링 하며 찾던 중 다음과 같은 해결 방법으로 에러를 해결했다. https://stackoverflow.com/questions/66231339/flutter-amsupporturlconnectiondelegate-is-implemented-in-both-error Fl.. [Flutter] IOS 빌드 오류 : Warning: Podfile is out of date This can cause issues if your application depends on plugins that do not support iOS. 해당 포스트는 StackOverFlow를 참고하였습니다. https://stackoverflow.com/questions/59362862/flutter-ios-build-failed-an-error-of-pod-files-podfile-is-out-of-date/63506237 Flutter iOS build failed an error of pod files: Podfile is out of date I'm trying to build my app on the ios simulator(ios 13), but the build fails and gives an error of pod files: Podfile is out of date This is the error. Launching lib/main... 이전 1 2 3 4 5 6 다음